/* ═══════════════════════════════════════════════════════════════════
   LaurayWeb — Design System Light (2026-06)
   Studio Clarity : bleu nuit + ocre + serif italique ponctuel
   ═══════════════════════════════════════════════════════════════════ */

:root {
  /* ── Couleurs ── */
  --ink:        #0B1F4D;   /* bleu nuit signature */
  --ink-2:      #14305E;   /* bleu nuit hover */
  --ink-soft:   #1E3A8A;   /* bleu nuit lien */
  --ocre:       #D97706;   /* ocre accent (utilisé pour annotations Caveat, boutons secondaires) */
  --ocre-2:     #B8530A;   /* ocre hover */
  --ocre-soft:  #FEF3C7;   /* ocre fond léger */

  --yellow:        #EAB308;   /* jaune moutarde — couleur signature des mots .em */
  --yellow-2:      #CA8A04;   /* jaune moutarde foncé pour hover/contraste */
  --yellow-light:  #FACC15;   /* jaune clair pour .em sur fond ink (bleu nuit) */
  --yellow-soft:   #FEF9C3;   /* jaune pâle pour fonds décoratifs */

  --bg:         #FFFFFF;
  --bg-alt:     #F1F5F9;   /* sections alternées — gris plus marqué */
  --bg-cream:   #FAF6EE;   /* éditorial chaud (ocre très dilué) */

  --text:       #0F172A;   /* presque noir */
  --text-2:     #334155;
  --muted:      #64748B;
  --muted-2:    #94A3B8;
  --line:       #E2E8F0;
  --line-2:     #CBD5E1;

  /* ── Typo ── */
  --font-sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Fraunces", "Times New Roman", Georgia, serif;
  --font-hand:  "Caveat", "Comic Sans MS", cursive;
  --font-num:   "Inter", ui-monospace, monospace;

  /* ── Rythme & rayons ── */
  --r-sm:  8px;
  --r:     12px;
  --r-md:  16px;
  --r-lg:  20px;
  --r-xl:  28px;

  /* ── Ombres douces ── */
  --shadow-xs:  0 1px 2px rgba(15,23,42,.04);
  --shadow-sm:  0 4px 12px rgba(15,23,42,.05), 0 1px 2px rgba(15,23,42,.04);
  --shadow:     0 10px 30px rgba(15,23,42,.06), 0 2px 6px rgba(15,23,42,.04);
  --shadow-md:  0 20px 50px rgba(11,31,77,.08), 0 6px 14px rgba(15,23,42,.04);
  --shadow-lg:  0 32px 80px rgba(11,31,77,.10), 0 12px 24px rgba(15,23,42,.06);

  --nav-h: 72px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: #ffffff;
  color-scheme: light;
}
body {
  margin: 0;
  padding: 0;
  background: #ffffff;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--ink); color: #fff; }

/* ═══════════════ TYPOGRAPHIE ═══════════════ */
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.1;
  font-weight: 700;
  margin: 0;
}
h1 { font-size: clamp(36px, 5.5vw, 64px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; }
h2 { font-size: clamp(28px, 3.8vw, 44px); }
h3 { font-size: clamp(20px, 2vw, 26px); }
p  { margin: 0; color: var(--text-2); }

/* Mot signature manuscrit jaune — à appliquer dans un <span class="em">
   Évolution juillet 2026 : passage de Fraunces italic à Caveat (manuscrit fait main)
   couleur jaune moutarde #EAB308 — pour forcer l'attention sur le mot-clé d'un titre */
.em {
  font-family: var(--font-hand);
  font-style: normal;
  font-weight: 600;
  color: var(--yellow);
  letter-spacing: -0.005em;
  font-size: 1.08em;        /* Caveat lit plus petit que Inter, rééquilibre visuel */
  line-height: 0.95;        /* compense le bas-de-casse plus haut */
}
/* Sur fonds sombres (.ink), on bascule vers le jaune clair plus lisible */
.section.ink .em,
.sv-section.ink .em,
.cta-final .em,
.sv-cta-final .em,
.sv-hero .em,
.section.ink h1 .em,
.section.ink h2 .em,
.section.ink h3 .em { color: var(--yellow-light); }

/* Légende manuscrite inline (mot ou phrase) */
.hand {
  font-family: var(--font-hand);
  font-weight: 500;
  color: var(--ocre);
  font-size: 1.15em;
  letter-spacing: 0.005em;
}

/* ── Annotation manuscrite "flèche + texte" — réutilisable partout ──
   Usage :
   <div class="note-hand" data-pos="tr">     positions : tl | tr | bl | br | top | bottom | left | right
     <svg class="note-arrow">...</svg>
     <span class="note-txt">votre texte</span>
   </div>
*/
.note-hand {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: none;
  z-index: 4;
}
.note-hand .note-arrow {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  color: var(--ocre);
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.note-hand .note-txt {
  font-family: var(--font-hand);
  font-size: 21px;
  line-height: 1.15;
  color: var(--ink);
  max-width: 200px;
  font-weight: 500;
}
/* Positions */
.note-hand[data-pos="tr"] { top: -18px; right: -32px; transform: rotate(4deg); }
.note-hand[data-pos="tl"] { top: -18px; left:  -32px; transform: rotate(-4deg); }
.note-hand[data-pos="br"] { bottom: -28px; right: -28px; transform: rotate(-3deg); }
.note-hand[data-pos="bl"] { bottom: -28px; left:  -32px; transform: rotate(3deg); }
.note-hand[data-pos="bottom"] { bottom: -52px; left: 50%; transform: translateX(-50%) rotate(-1deg); }
.note-hand[data-pos="top"]    { top: -50px; left: 50%; transform: translateX(-50%) rotate(1deg); }
.note-hand[data-pos="right"]  { right: -210px; top: 50%; transform: translateY(-50%) rotate(0deg); }
.note-hand[data-pos="left"]   { left:  -210px; top: 50%; transform: translateY(-50%) rotate(0deg); flex-direction: row-reverse; }

/* Variante "inline" sans positionnement absolu (dans un flux normal) */
.note-hand-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  vertical-align: middle;
}
.note-hand-inline .note-arrow {
  width: 32px; height: 32px;
  color: var(--ocre);
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.note-hand-inline .note-txt {
  font-family: var(--font-hand);
  font-size: 19px;
  color: var(--ink);
  font-weight: 500;
}

@media (max-width: 1023px) {
  .note-hand { display: none; } /* on cache les annotations absolues sur mobile pour éviter les chevauchements */
}

/* Eyebrow / Tag */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--ocre);
}

/* ═══════════════ LAYOUT ═══════════════ */
.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
section { position: relative; }

/* ═══════════════ NAV ═══════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(15,23,42,.02);
  transition: box-shadow .25s ease, border-color .25s ease;
}
.nav.scrolled {
  box-shadow: 0 4px 18px rgba(15,23,42,.06);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--ink);
  font-size: 18px;
  letter-spacing: -0.01em;
}
.nav-logo img { height: 28px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  position: relative;
  padding: 8px 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-2);
  border-radius: var(--r-sm);
  transition: color .2s ease, background .2s ease;
}
.nav-link:hover { color: var(--ink); background: var(--bg-alt); }
.nav-link.active { color: var(--ink); }
.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -2px; left: 14px; right: 14px;
  height: 2px;
  background: var(--ocre);
  border-radius: 2px;
}

/* Dropdown nav */
.nav-dd { position: relative; }
.nav-dd-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-dd-trigger svg { transition: transform .2s ease; opacity: .6; }
.nav-dd:hover .nav-dd-trigger svg { transform: rotate(180deg); }
.nav-dd-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: -8px;
  min-width: 260px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav-dd:hover .nav-dd-panel,
.nav-dd:focus-within .nav-dd-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dd-item {
  display: flex;
  flex-direction: column;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  color: var(--text);
  transition: background .15s ease;
}
.nav-dd-item:hover { background: var(--bg-alt); }
.nav-dd-item .ti { font-weight: 600; font-size: 14px; color: var(--ink); }
.nav-dd-item .tx { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.nav-dd-sep { height: 1px; background: var(--line); margin: 6px 8px; }

.nav-cta-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-cta-ghost {
  color: var(--text-2);
  font-size: 14.5px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  transition: color .2s ease;
}
.nav-cta-ghost:hover { color: var(--ink); }

/* Burger (visible < 1024px) */
.nav-burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--ink);
}
.nav-burger:hover { background: var(--bg-alt); }

/* Mob menu — caché par défaut, visible <1024px quand .open */
.mob-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 16px 24px 24px;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform .3s ease, opacity .2s ease, visibility 0s linear .3s;
  z-index: 90;
  box-shadow: var(--shadow);
}
.mob-menu.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: transform .3s ease, opacity .2s ease, visibility 0s linear 0s;
}
.mob-menu a {
  display: block;
  padding: 14px 4px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mob-menu a:last-of-type { border-bottom: none; }
.mob-menu .mob-cta {
  display: block;
  margin-top: 16px;
  text-align: center;
  padding: 14px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r);
  border: none;
}

/* ═══════════════ BOUTONS ═══════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  font-size: 14.5px;
  font-weight: 600;
  border-radius: var(--r);
  border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 4px 12px rgba(11,31,77,.18);
}
.btn-primary:hover {
  background: var(--ink-2);
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 8px 20px rgba(11,31,77,.25);
}
.btn-primary svg { transition: transform .2s ease; }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover {
  background: var(--bg-alt);
  border-color: var(--ink);
}

.btn-ocre {
  background: var(--ocre);
  color: #fff;
  box-shadow: 0 4px 12px rgba(217,119,6,.20);
}
.btn-ocre:hover {
  background: var(--ocre-2);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(217,119,6,.28);
}

.btn-lg { padding: 16px 28px; font-size: 15px; }
.btn-sm { padding: 10px 18px; font-size: 13px; }

/* Link-style CTA */
.lnk {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 600;
  font-size: 14.5px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--ocre);
  transition: gap .2s ease, color .2s ease;
}
.lnk svg { width: 14px; height: 14px; transition: transform .2s ease; }
.lnk:hover { gap: 12px; color: var(--ocre); }
.lnk:hover svg { transform: translateX(2px); }

/* ═══════════════ HERO ═══════════════ */
.hero {
  padding: calc(var(--nav-h) + 80px) 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -20%; right: -10%;
  width: 60%; height: 80%;
  background: radial-gradient(60% 60% at 50% 50%, rgba(11,31,77,.04) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 24px;
}
.hero-tag .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ocre);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(.92); }
}
.hero h1 {
  margin: 0 0 24px;
}
.hero-sub {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.6;
  color: var(--muted);
  max-width: 520px;
  margin: 0 0 36px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-aside {
  position: relative;
}

/* Chiffres signature anti-WP */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  margin-top: 8px;
}
.stat-cell {
  padding: 0 20px;
  border-left: 1px solid var(--line);
}
.stat-cell:first-child { border-left: none; padding-left: 0; }
.stat-v {
  font-family: var(--font-sans);
  font-size: 32px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-l {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

/* Mockup hero — laptop window */
.mockup {
  position: relative;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  overflow: hidden;
}
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.mockup-dot:nth-child(1) { background: #FCA5A5; }
.mockup-dot:nth-child(2) { background: #FCD34D; }
.mockup-dot:nth-child(3) { background: #86EFAC; }
.mockup-url {
  margin-left: 14px;
  flex: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 11.5px;
  color: var(--muted);
  font-family: ui-monospace, monospace;
}
.mockup-body {
  position: relative;
  aspect-ratio: 16/10;
  background: linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%);
}
.mockup-body img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Légende manuscrite sur mockup */
.mockup-caption {
  position: absolute;
  bottom: -36px;
  right: -20px;
  display: flex;
  align-items: center;
  gap: 8px;
  transform: rotate(-2deg);
}
.mockup-caption .arrow {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  color: var(--ocre);
}
.mockup-caption .txt {
  font-family: var(--font-hand);
  font-size: 20px;
  color: var(--ink);
  max-width: 180px;
  line-height: 1.2;
}

/* ── Hero handnote (sous-titre manuscrit Caveat ocre, remplace .hero-tag pill) ── */
.hero-handnote {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-family: var(--font-hand);
  font-weight: 500;
  font-size: 22px;
  color: var(--ocre);
  letter-spacing: 0.005em;
  transform: rotate(-1.2deg);
  transform-origin: left center;
}
.hero-handnote-flourish {
  width: 42px;
  height: 14px;
  color: var(--ocre);
  opacity: .75;
  flex-shrink: 0;
}

/* ── Hero devices multi-mockups (remplace l'ancien slider) ── */
.hero-devices {
  position: relative;
  width: 100%;
}
.hero-device-desktop {
  width: 100%;
  border-radius: var(--r-md);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  position: relative;
  z-index: 1;
  transform-style: preserve-3d;
}
.hero-device-desktop .hero-slide-body {
  aspect-ratio: 16 / 10;
  background: var(--bg-alt);
}

/* Mobile mockup overlap bottom-right pour démontrer le responsive */
.hero-device-mobile {
  position: absolute;
  bottom: -36px;
  right: -28px;
  width: 145px;
  z-index: 3;
  will-change: transform;
}
.hero-mobile-frame {
  position: relative;
  background: #1a1a1a;
  border-radius: 22px;
  padding: 7px;
  box-shadow:
    0 24px 56px rgba(11, 31, 77, .28),
    0 6px 14px rgba(11, 31, 77, .12),
    0 0 0 2px #2a2a2a;
}
.hero-mobile-notch {
  position: absolute;
  top: 13px; left: 50%;
  transform: translateX(-50%);
  width: 42px; height: 5px;
  background: #000;
  border-radius: 999px;
  z-index: 2;
}
.hero-mobile-screen {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 9 / 19;
  background: var(--bg-alt);
  position: relative;
}
.hero-mobile-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Placeholder CSS si stralis-mobile.png absent (mock vitrine simple) */
.hero-mobile-screen.is-placeholder {
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 50%, #fff 50%, var(--bg-alt) 100%);
}
.hero-mobile-screen.is-placeholder::before {
  content: '';
  position: absolute;
  inset: 14px 14px auto 14px;
  height: 4px;
  background: rgba(255,255,255,.9);
  border-radius: 2px;
  box-shadow:
    0 8px 0 -1px rgba(255,255,255,.5),
    0 16px 0 -2px rgba(255,255,255,.35);
}
.hero-mobile-screen.is-placeholder::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px;
  bottom: 18px;
  height: 28px;
  background: var(--ocre);
  border-radius: 6px;
}

/* Annotation manuscrite "100% responsive" — placée SOUS le desktop, à gauche du mobile */
.hero-responsive-note {
  position: absolute;
  bottom: -56px;
  right: 150px;
  z-index: 4;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  transform: rotate(-2deg);
  pointer-events: none;
  max-width: 280px;
}
.hero-responsive-note .arrow {
  width: 48px;
  height: 48px;
  color: var(--ocre);
  flex-shrink: 0;
  display: block;
}
.hero-responsive-note .txt {
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: 19px;
  color: var(--ink);
  line-height: 1.15;
  text-align: right;
  white-space: normal;
}

/* ═══════════════ STRIP CLIENTS / LOGOS ═══════════════ */
.proof-strip {
  padding: 40px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.proof-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.proof-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 600;
}
.proof-logos {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.proof-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  color: var(--muted-2);
  letter-spacing: -0.01em;
  transition: color .2s ease;
}
.proof-logo:hover { color: var(--ink); }
.proof-logo small {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-2);
  opacity: .85;
  letter-spacing: -0.01em;
  font-family: var(--font-num);
}
.proof-logo:hover small { color: var(--ink); opacity: 1; }
/* Logos images (clients réels) — désaturés au repos, couleur d'origine au survol */
.proof-logo img {
  display: block;
  height: 56px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  opacity: .85;
  filter: grayscale(25%);
  transition: opacity .25s ease, filter .25s ease;
}
@media (max-width: 767px) {
  .proof-logo img { height: 44px; }
}
.proof-logo:hover img {
  opacity: 1;
  filter: grayscale(0%);
}
/* Variante texte (ex: « + TPE / PME ») garde l'ancien style sans gap inutile */
.proof-logo.proof-logo-txt { gap: 6px; }

/* ═══════════════ SECTION HEADER ═══════════════ */
.sh-block {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.sh-block .eyebrow {
  justify-content: center;
  margin-bottom: 20px;
}
.sh-block h2 {
  margin: 0 0 16px;
}
.sh-block p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.6;
}

/* Variantes alignement gauche */
.sh-block.left { text-align: left; margin: 0 0 56px; }
.sh-block.left .eyebrow { justify-content: flex-start; }

section.section {
  padding: 100px 0;
}
section.section.alt {
  background: var(--bg-alt);
}
section.section.cream {
  background: var(--bg-cream);
}

/* ── Variante DARK : section sur fond bleu nuit (couleur logo) ── */
section.section.ink {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
section.section.ink::before {
  content: "";
  position: absolute;
  top: -20%; right: -10%;
  width: 60%; height: 80%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(217,119,6,.10) 0%, transparent 70%);
  pointer-events: none;
}
section.section.ink::after {
  content: "";
  position: absolute;
  bottom: -30%; left: -10%;
  width: 50%; height: 70%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(252,211,77,.06) 0%, transparent 70%);
  pointer-events: none;
}
section.section.ink > .wrap { position: relative; z-index: 1; }

section.section.ink h2 { color: #fff; }
section.section.ink h2 .em { color: var(--yellow-light); }
section.section.ink .sh-block p { color: rgba(255,255,255,.7); }
section.section.ink .eyebrow { color: #FCD34D; }
section.section.ink .eyebrow::before { background: #FCD34D; }

/* Texte courant dans une section ink (hors cards blanches) */
section.section.ink > .wrap > p,
section.section.ink > .wrap > .lead,
section.section.ink .ink-text {
  color: rgba(255,255,255,.78);
}

/* Sur fond ink, les cards restent blanches (effet "îles flottantes") — pas besoin d'override
   sauf petites adaptations subtiles */
section.section.ink .step,
section.section.ink .card,
section.section.ink .swm-card {
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
section.section.ink .step:hover,
section.section.ink .card:hover,
section.section.ink .swm-card:hover {
  box-shadow: 0 20px 50px rgba(0,0,0,.25), 0 0 0 1px rgba(217,119,6,.25);
  border-color: var(--ocre);
}

/* Texte direct dans .eco-split-text (ecosystem #panel) sur fond ink */
section.section.ink .eco-split-text > p { color: rgba(255,255,255,.78); }
section.section.ink .eco-checklist li { color: rgba(255,255,255,.85); }
section.section.ink .eco-checklist svg { color: #FCD34D; }
section.section.ink .eco-split-text em { color: #FCD34D; font-style: italic; }

/* Annotation manuscrite dans section.ink — bascule en jaune/clair */
section.section.ink .note-hand .note-arrow { color: #FCD34D; }
section.section.ink .note-hand .note-txt { color: #FCD34D; }

/* Timeline (services-web) sur fond ink : adapter le track + dots */
section.section.ink .swm-track {
  background: rgba(255,255,255,.12);
}
section.section.ink .swm-track-fill {
  background: linear-gradient(90deg, #FCD34D, var(--ocre));
}
section.section.ink .swm-dot {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.25);
  color: rgba(255,255,255,.6);
}
section.section.ink.in .swm-step:nth-child(2) .swm-dot,
section.section.ink .swm-timeline.in .swm-step:nth-child(2) .swm-dot { background: var(--ocre); border-color: var(--ocre); color: #fff; }
section.section.ink .swm-timeline.in .swm-step:nth-child(3) .swm-dot { background: #FCD34D; border-color: #FCD34D; color: var(--ink); }
section.section.ink .swm-timeline.in .swm-step:nth-child(4) .swm-dot { background: #fff; border-color: #fff; color: var(--ink); }

/* ═══════════════ ABOUT MINI (Alexis + Nathan) ═══════════════ */
.about-mini {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
}
.about-mini-text h2 { margin: 0 0 24px; }
.about-mini-text p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-2);
  margin: 0 0 18px;
}
.about-mini-meta {
  display: flex;
  gap: 28px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.about-mini-meta div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-2);
}
.about-mini-meta svg { width: 18px; height: 18px; color: var(--ocre); }

.team-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.team-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px 24px;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.team-photo {
  width: 92px; height: 92px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: var(--bg-alt) center/cover no-repeat;
  border: 3px solid #fff;
  box-shadow: var(--shadow-sm);
  object-fit: cover;
}
.team-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.team-role {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
}
.team-tag {
  display: inline-block;
  font-family: var(--font-hand);
  font-size: 17px;
  color: var(--ocre);
}

/* ═══════════════ STEPS / HOW IT WORKS ═══════════════ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
.step {
  background: #fff;
  padding: 36px 32px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
}
.step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--ink);
}
.step-num {
  display: inline-block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 28px;
  color: var(--ocre);
  margin-bottom: 16px;
  line-height: 1;
}
.step h3 { margin: 0 0 12px; font-size: 20px; }
.step p { font-size: 14.5px; color: var(--text-2); line-height: 1.65; }

/* ═══════════════ CARDS (services, portfolio) ═══════════════ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card-grid.cg-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cg-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 32px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-2);
}
.card-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-sm);
  background: var(--bg-alt);
  color: var(--ink);
  margin-bottom: 20px;
}
.card-icon.ocre { background: var(--ocre-soft); color: var(--ocre); }
.card h3 { margin: 0 0 10px; font-size: 18px; }
.card p { font-size: 14px; color: var(--muted); line-height: 1.6; }
.card .lnk { margin-top: 18px; }

/* ═══════════════ PORTFOLIO / CASES ═══════════════ */
.case {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative;
  display: block;
  color: inherit;
  text-decoration: none;
}
a.case:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--ink);
}
/* Badge "voir le site" qui apparaît au hover */
.case-ext {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .25s ease, transform .25s ease, background .2s ease, color .2s ease;
  z-index: 2;
}
.case-ext svg { width: 16px; height: 16px; }
a.case:hover .case-ext {
  opacity: 1;
  transform: translateY(0);
  background: var(--ink);
  color: #fff;
}
.case-cover {
  aspect-ratio: 16/10;
  background: var(--bg-alt) center/cover no-repeat;
  position: relative;
  overflow: hidden;
}
.case-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11,31,77,.15));
  opacity: 0;
  transition: opacity .3s ease;
}
.case:hover .case-cover::after { opacity: 1; }
.case-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.case:hover .case-cover img { transform: scale(1.04); }
.case-body { padding: 28px; }
.case-tag {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ocre);
  font-weight: 600;
  margin-bottom: 10px;
}
.case h3 { margin: 0 0 8px; font-size: 22px; }
.case-desc { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 18px; }
.case-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.case-chip {
  display: inline-flex;
  padding: 4px 10px;
  font-size: 11.5px;
  background: var(--bg-alt);
  color: var(--text-2);
  border-radius: 999px;
  border: 1px solid var(--line);
}

/* Case CTA "Votre projet ici" */
.case.case-cta {
  border: 2px dashed var(--line-2);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 32px;
  transition: border-color .2s ease, background .2s ease;
}
.case.case-cta:hover {
  border-color: var(--ocre);
  background: var(--ocre-soft);
  transform: none;
  box-shadow: none;
}
.case-cta-body h3 { font-size: 22px; margin-bottom: 8px; }
.case-cta-body p { font-size: 14px; color: var(--muted); margin-bottom: 22px; }

/* ═══════════════ PRICING ═══════════════ */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.price-card.featured {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  transform: scale(1.02);
}
.price-card.featured h3,
.price-card.featured .price-v,
.price-card.featured .price-feat { color: #fff; }
.price-card.featured .price-desc { color: rgba(255,255,255,.7); }
.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ocre);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.price-tag {
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ocre);
  margin-bottom: 14px;
}
.price-card.featured .price-tag { color: #FCD34D; }
.price-card h3 { margin: 0 0 6px; font-size: 22px; }
.price-desc { font-size: 13.5px; color: var(--muted); margin-bottom: 24px; line-height: 1.5; }
.price-v {
  font-size: 36px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
  margin-bottom: 6px;
  line-height: 1;
}
.price-v small {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}
.price-from {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 28px;
}
.price-feats {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.price-feats li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.5;
}
.price-feats svg {
  flex-shrink: 0;
  width: 16px; height: 16px;
  color: var(--ocre);
  margin-top: 2px;
}
.price-card.featured .price-feats li { color: rgba(255,255,255,.85); }
.price-card.featured .price-feats svg { color: #FCD34D; }
.price-cta { margin-top: auto; }

/* ═══════════════ TESTIMONIALS ═══════════════ */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 32px 28px;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.testimonial-quote {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-2);
  margin: 0 0 24px;
  font-style: normal;
}
.testimonial-quote::before {
  content: """;
  display: block;
  font-family: var(--font-serif);
  font-size: 56px;
  line-height: 0.6;
  color: var(--ocre);
  margin-bottom: 18px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-alt) center/cover no-repeat;
  flex-shrink: 0;
}
.testimonial-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.testimonial-role { font-size: 12.5px; color: var(--muted); }

/* ═══════════════ AVIS CLIENTS (dynamiques — api/reviews.php) ═══════════════ */
.reviews-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.reviews-head .sh-block { margin: 0; text-align: left; flex: 1; min-width: 280px; }
.reviews-head .sh-block .eyebrow { justify-content: flex-start; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.review-stars { display: flex; gap: 2px; margin-bottom: 14px; }
.review-stars svg { width: 14px; height: 14px; color: var(--ocre); }
.review-msg {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-2);
  margin: 0 0 20px;
  flex: 1;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.review-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.review-role { font-size: 12.5px; color: var(--muted); }

.reviews-empty {
  grid-column: 1 / -1;
  padding: 64px 32px;
  text-align: center;
  background: var(--bg-alt);
  border-radius: var(--r-md);
  border: 1px dashed var(--line-2);
}
.reviews-empty p { color: var(--muted); margin-bottom: 18px; }

/* ── Modal avis (laisser un avis) ── */
.rv-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11,31,77,.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 24px;
  backdrop-filter: blur(4px);
}
.rv-overlay.open { display: flex; }
.rv-modal {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 36px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.rv-modal h3 { margin: 0 0 8px; font-size: 22px; }
.rv-modal .sub { font-size: 14px; color: var(--muted); margin: 0 0 24px; }

.rv-stars { display: flex; gap: 6px; margin-bottom: 20px; }
.rv-star {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--line-2);
  transition: color .15s ease, transform .15s ease;
}
.rv-star svg { width: 28px; height: 28px; }
.rv-star:hover, .rv-star.hovered, .rv-star.selected { color: var(--ocre); }
.rv-star:hover { transform: scale(1.08); }

.rv-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.rv-field label { font-size: 13px; font-weight: 600; color: var(--ink); }
.rv-field label .opt { font-weight: 400; color: var(--muted); font-size: 12px; }
.rv-field input, .rv-field textarea {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  transition: border-color .2s ease, background .2s ease;
}
.rv-field input:focus, .rv-field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: #fff;
}
.rv-field textarea { resize: vertical; min-height: 100px; }
.rv-honey { position: absolute; left: -9999px; }

.rv-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 24px;
}
.rv-error {
  background: #FEE2E2;
  color: #991B1B;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  font-size: 13.5px;
  margin-bottom: 16px;
  display: none;
}
.rv-success { text-align: center; padding: 24px 0; display: none; }
.rv-success svg { width: 56px; height: 56px; color: var(--ocre); margin: 0 auto 18px; display: block; }
.rv-success h4 { font-size: 19px; margin: 0 0 8px; color: var(--ink); }
.rv-success p { font-size: 14px; color: var(--muted); margin: 0; }
.btn.loading { opacity: .7; cursor: wait; }

/* ═══════════════ FAQ ═══════════════ */
.faq {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 22px 4px;
  background: none;
  border: none;
  text-align: left;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: color .2s ease;
}
.faq-q:hover { color: var(--ocre); }
.faq-q .ic {
  flex-shrink: 0;
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  color: var(--text-2);
  transition: transform .3s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.faq-item.open .faq-q .ic {
  transform: rotate(45deg);
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-a-inner {
  padding: 0 4px 24px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-2);
}
.faq-item.open .faq-a { max-height: 600px; }

/* ═══════════════ CTA FINAL ═══════════════ */
.cta-final {
  background: var(--ink);
  color: #fff;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 1100px; height: 1100px;
  background: radial-gradient(circle, rgba(217,119,6,.10) 0%, transparent 60%);
  pointer-events: none;
}
.cta-final-inner {
  position: relative;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.cta-final h2 {
  color: #fff;
  margin: 0 0 18px;
}
.cta-final h2 .em { color: var(--yellow-light); }
.cta-final p {
  font-size: 17px;
  color: rgba(255,255,255,.7);
  margin: 0 0 36px;
  line-height: 1.6;
}
.cta-final .btn-primary {
  background: #fff;
  color: var(--ink);
}
.cta-final .btn-primary:hover {
  background: #fff;
  color: var(--ink-2);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(255,255,255,.18);
}
.cta-final .btn-ghost {
  color: #fff;
  border-color: rgba(255,255,255,.25);
}
.cta-final .btn-ghost:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.5);
}
.cta-final .btn-row {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 28px;
}
.cta-final .chips {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}
.cta-final .chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,.7);
}
.cta-final .chip svg { width: 14px; height: 14px; color: #FCD34D; }

/* ═══════════════ FOOTER ═══════════════ */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding: 72px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
}
.footer-brand .nav-logo { margin-bottom: 14px; }
.footer-pitch {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 320px;
  margin-bottom: 20px;
}
.footer-loc {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-2); font-weight: 500;
}
.footer-loc svg { width: 14px; height: 14px; color: var(--ocre); }
.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 18px;
}
.footer-col ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col a {
  font-size: 14px;
  color: var(--text-2);
  transition: color .2s ease;
}
.footer-col a:hover { color: var(--ocre); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { font-size: 13px; color: var(--muted); }
.footer-bottom .footer-mark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-hand);
  font-size: 16px;
  color: var(--ocre);
}

/* ═══════════════ EFFET SPARKLE (étincelles dessinées au hover) ═══════════════
   Active sur : .card, .step, .team-card, .case (non-cta), .price-card,
                .ap-founder, .ap-value, .sys-card, .review-card.
   2 étoiles ocre 4 branches qui apparaissent en haut-droite + bas-gauche.
   Effet : scale + rotate + opacity, stagger léger entre les 2.
*/
.card, .step, .team-card, .ap-founder, .ap-value,
.sys-card, .review-card, .swm-card, .sw-why-card,
.price-card, .case:not(.case-cta) {
  position: relative;
}

.card::before, .card::after,
.step::before, .step::after,
.team-card::before, .team-card::after,
.ap-founder::before, .ap-founder::after,
.ap-value::before, .ap-value::after,
.sys-card::before, .sys-card::after,
.review-card::before, .review-card::after,
.swm-card::before, .swm-card::after,
.sw-why-card::before, .sw-why-card::after,
.price-card::before, .price-card::after,
.case:not(.case-cta)::before, .case:not(.case-cta)::after {
  content: "";
  position: absolute;
  width: 22px; height: 22px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20fill%3D%27%23D97706%27%20d%3D%27M12%200%20C13%209%2015%2011%2024%2012%20C15%2013%2013%2015%2012%2024%20C11%2015%209%2013%200%2012%20C9%2011%2011%209%2012%200%20Z%27/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0;
  pointer-events: none;
  z-index: 3;
  transition: opacity .35s cubic-bezier(.4,0,.2,1), transform .4s cubic-bezier(.16,1,.3,1);
}

/* Sparkle haut-droite */
.card::before, .step::before, .team-card::before, .ap-founder::before,
.ap-value::before, .sys-card::before, .review-card::before, .swm-card::before,
.sw-why-card::before, .price-card::before, .case:not(.case-cta)::before {
  top: -12px; right: -12px;
  transform: scale(0) rotate(-45deg);
}

/* Sparkle bas-gauche, plus petite */
.card::after, .step::after, .team-card::after, .ap-founder::after,
.ap-value::after, .sys-card::after, .review-card::after, .swm-card::after,
.sw-why-card::after, .price-card::after, .case:not(.case-cta)::after {
  bottom: -8px; left: -8px;
  width: 14px; height: 14px;
  transform: scale(0) rotate(45deg);
}

/* Apparition au hover */
.card:hover::before, .step:hover::before, .team-card:hover::before,
.ap-founder:hover::before, .ap-value:hover::before, .sys-card:hover::before,
.review-card:hover::before, .swm-card:hover::before, .sw-why-card:hover::before,
.price-card:hover::before, .case:not(.case-cta):hover::before {
  opacity: 1;
  transform: scale(1) rotate(15deg);
}
.card:hover::after, .step:hover::after, .team-card:hover::after,
.ap-founder:hover::after, .ap-value:hover::after, .sys-card:hover::after,
.review-card:hover::after, .swm-card:hover::after, .sw-why-card:hover::after,
.price-card:hover::after, .case:not(.case-cta):hover::after {
  opacity: 1;
  transform: scale(1) rotate(-15deg);
  transition-delay: .1s;
}

/* La carte featured (tarifs bleu nuit) a un sparkle jaune au lieu d'ocre */
.price-card.featured::before, .price-card.featured::after {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20fill%3D%27%23FCD34D%27%20d%3D%27M12%200%20C13%209%2015%2011%2024%2012%20C15%2013%2013%2015%2012%2024%20C11%2015%209%2013%200%2012%20C9%2011%2011%209%2012%200%20Z%27/%3E%3C/svg%3E");
}

/* Respecte prefers-reduced-motion : disparaît au hover sans animation */
@media (prefers-reduced-motion: reduce) {
  .card::before, .card::after,
  .step::before, .step::after,
  .team-card::before, .team-card::after,
  .ap-founder::before, .ap-founder::after,
  .ap-value::before, .ap-value::after,
  .sys-card::before, .sys-card::after,
  .review-card::before, .review-card::after,
  .swm-card::before, .swm-card::after,
  .sw-why-card::before, .sw-why-card::after,
  .price-card::before, .price-card::after,
  .case:not(.case-cta)::before, .case:not(.case-cta)::after {
    display: none;
  }
}

/* ═══════════════ PAGES LÉGALES (docs layout) ═══════════════ */
.legal-shell {
  padding: calc(var(--nav-h) + 60px) 0 80px;
  position: relative;
}
.legal-hero {
  max-width: 880px;
  margin: 0 auto 56px;
  text-align: center;
  padding: 0 24px;
}
.legal-hero .eyebrow { justify-content: center; margin-bottom: 18px; }
.legal-hero h1 { margin: 0 0 14px; }
.legal-hero p {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
}
.legal-hero .date {
  display: inline-block;
  margin-top: 18px;
  padding: 6px 14px;
  background: var(--ocre-soft);
  color: var(--ocre);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
}

.legal-layout {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
}

/* Sommaire sticky */
.legal-aside {
  position: relative;
}
.legal-toc {
  position: sticky;
  top: calc(var(--nav-h) + 32px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px 16px;
  max-height: calc(100vh - var(--nav-h) - 64px);
  overflow-y: auto;
}
.legal-toc-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 12px;
  padding: 0 8px;
}
.legal-toc-link {
  display: block;
  padding: 8px 10px;
  font-size: 13.5px;
  color: var(--text-2);
  border-radius: 6px;
  position: relative;
  margin-bottom: 2px;
  transition: background .15s ease, color .15s ease;
}
.legal-toc-link::before {
  content: "";
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--ocre);
  border-radius: 2px;
  transform: scaleY(0);
  transform-origin: center;
  transition: transform .2s ease;
}
.legal-toc-link:hover {
  color: var(--ink);
  background: var(--bg-alt);
}
.legal-toc-link.active {
  color: var(--ink);
  font-weight: 600;
  background: var(--bg-alt);
}
.legal-toc-link.active::before { transform: scaleY(1); }

/* Toggle mobile pour le sommaire */
.legal-toc-toggle {
  display: none;
  width: 100%;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  position: relative;
}
.legal-toc-toggle::after {
  content: "";
  position: absolute;
  right: 18px; top: 50%;
  width: 8px; height: 8px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .25s ease;
}
.legal-toc-toggle[aria-expanded="true"]::after { transform: translateY(-30%) rotate(-135deg); }

/* Cartes contenu */
.legal-content { min-width: 0; }
.legal-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 32px 36px;
  margin-bottom: 18px;
  scroll-margin-top: calc(var(--nav-h) + 24px);
  transition: border-color .2s ease;
}
.legal-card:hover { border-color: var(--line-2); }
.legal-card h2 {
  font-size: 22px;
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.legal-card h3 {
  font-size: 16px;
  margin: 20px 0 8px;
  color: var(--ink);
}
.legal-card p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-2);
  margin: 0 0 12px;
}
.legal-card p:last-child { margin-bottom: 0; }
.legal-card strong { color: var(--ink); font-weight: 600; }
.legal-card a { color: var(--ocre); text-decoration: underline; text-underline-offset: 2px; }
.legal-card a:hover { color: var(--ocre-2); }
.legal-card ul, .legal-card ol {
  margin: 8px 0 12px;
  padding-left: 22px;
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.7;
}
.legal-card li { margin-bottom: 6px; }

/* Highlight box pour les points importants */
.legal-highlight {
  background: var(--ocre-soft);
  border-left: 3px solid var(--ocre);
  padding: 14px 18px;
  border-radius: 6px;
  margin: 16px 0;
  font-size: 14px;
  color: var(--ink);
}

@media (max-width: 960px) {
  .legal-layout { grid-template-columns: 1fr; gap: 18px; }
  .legal-aside { margin-bottom: 8px; }
  .legal-toc {
    position: static;
    max-height: 0;
    padding: 0 16px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-top: 0;
    border-radius: 0 0 var(--r-md) var(--r-md);
    transition: max-height .3s ease, padding .3s ease;
  }
  .legal-toc.open {
    max-height: 600px;
    padding: 14px 16px;
    overflow-y: auto;
  }
  .legal-toc-toggle { display: block; border-radius: var(--r-md); }
  .legal-toc-toggle.open { border-radius: var(--r-md) var(--r-md) 0 0; }
  .legal-card { padding: 24px 22px; }
}

/* ═══════════════ REVEAL / SCROLL ANIMATIONS ═══════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 1023px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-mini { grid-template-columns: 1fr; gap: 48px; }
  .card-grid, .card-grid.cg-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }

  /* Hero devices : mobile mockup réduit, annotation masquée */
  .hero-device-mobile { width: 120px; bottom: -24px; right: -10px; }
  .hero-responsive-note { display: none; }

  /* Nav passe en burger dès la tablette */
  .nav-links, .nav-cta-ghost { display: none; }
  /* Le CTA "Demander un devis" du desktop est doublé dans .mob-menu — on masque l'instance desktop */
  .nav-cta-wrap > .btn { display: none; }
  .nav-burger { display: inline-flex; }
  .mob-menu { display: block; }
  .nav-cta-wrap { gap: 10px; }
  .nav-inner { gap: 16px; }
}

@media (max-width: 767px) {
  .wrap { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }

  section.section { padding: 64px 0; }
  .hero { padding: calc(var(--nav-h) + 48px) 0 64px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); gap: 24px 0; padding: 24px 0; }
  .stat-cell { padding: 0 16px; }
  .stat-cell:nth-child(3) { border-left: none; padding-left: 0; }
  .stat-cell:nth-child(1), .stat-cell:nth-child(2) { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
  .stat-v { font-size: 26px; }

  .mockup-caption { display: none; }

  /* Hero handnote + devices : ajustements smartphone */
  .hero-handnote { font-size: 19px; }
  .hero-handnote-flourish { width: 34px; height: 12px; }
  .hero-device-mobile { width: 100px; bottom: -16px; right: -4px; }
  .hero-mobile-frame { padding: 5px; border-radius: 18px; }
  .hero-mobile-notch { width: 32px; height: 4px; top: 10px; }
  .hero-mobile-screen { border-radius: 13px; }

  .proof-strip { padding: 28px 0; }
  .proof-inner { gap: 20px; }
  .proof-logos { gap: 24px; }

  .sh-block { margin-bottom: 40px; }
  .sh-block h2 { font-size: 28px; }

  .steps, .card-grid, .card-grid.cg-2, .card-grid.cg-4,
  .pricing, .testimonials { grid-template-columns: 1fr; gap: 16px; }
  .price-card.featured { transform: none; }

  .team-cards { grid-template-columns: 1fr 1fr; gap: 14px; }
  .team-card { padding: 22px 14px; }
  .team-photo { width: 72px; height: 72px; }

  .about-mini-meta { gap: 16px; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .cta-final { padding: 64px 0; }

  h1 { font-size: 38px; }
  h2 { font-size: 26px; }
  h3 { font-size: 19px; }
}

/* ═══════════════════════════════════════════════════════════════════
   HERO MOCKUP SLIDER — index.html
   Carousel auto-play de 3-4 mockups (vrais sites + mockups CSS)
   ═══════════════════════════════════════════════════════════════════ */
.hero-slider {
  position: relative;
  width: 100%;
}
.hero-slider-stage {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bg-alt);
  box-shadow: var(--shadow-lg);
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .6s ease;
  display: flex;
  flex-direction: column;
}
.hero-slide.active { opacity: 1; z-index: 2; }

.hero-slide-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.hero-slide-bar i {
  display: block;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--line-2);
}
.hero-slide-bar .url {
  margin-left: 12px;
  padding: 4px 10px;
  background: var(--bg-alt);
  border-radius: 4px;
  font-size: 11.5px;
  font-family: var(--font-num);
  color: var(--muted);
  letter-spacing: 0;
}
.hero-slide-body {
  flex: 1;
  overflow: hidden;
  position: relative;
  background: var(--bg-alt);
}
.hero-slide-body img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Mockup CSS — restaurant type */
.hero-slide-mock {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%);
  height: 100%;
}
.hero-slide-mock .mh-nav {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.hero-slide-mock .mh-nav .logo {
  width: 50px; height: 10px;
  background: var(--ink);
  border-radius: 2px;
}
.hero-slide-mock .mh-nav .links {
  margin-left: auto;
  display: flex; gap: 10px;
}
.hero-slide-mock .mh-nav .links span {
  width: 28px; height: 5px;
  background: var(--bg-alt);
  border-radius: 2px;
}
.hero-slide-mock .mh-hero {
  flex: 1;
  display: flex; flex-direction: column; gap: 8px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  justify-content: center;
}
.hero-slide-mock .mh-hero .h1 {
  width: 65%; height: 16px;
  background: var(--ink);
  border-radius: 3px;
}
.hero-slide-mock .mh-hero .l {
  width: 85%; height: 6px;
  background: var(--bg-alt);
  border-radius: 2px;
}
.hero-slide-mock .mh-hero .l.s { width: 55%; }
.hero-slide-mock .mh-hero .cta {
  width: 120px; height: 30px;
  background: var(--ocre);
  border-radius: 6px;
  margin-top: 10px;
}
.hero-slide-mock .mh-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.hero-slide-mock .mh-cards .card {
  aspect-ratio: 1.5 / 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px;
  display: flex; flex-direction: column; gap: 5px; justify-content: flex-end;
}
.hero-slide-mock .mh-cards .card i {
  display: block; height: 5px; border-radius: 2px;
  background: var(--bg-alt);
}
.hero-slide-mock .mh-cards .card i:first-child {
  width: 60%; background: var(--ink); height: 6px;
}

/* Mockup CSS — panel admin type */
.hero-slide-panel {
  display: flex;
  height: 100%;
}
.hero-slide-panel .side {
  flex-shrink: 0;
  width: 36%;
  background: var(--ink);
  padding: 18px 12px;
  display: flex; flex-direction: column; gap: 10px;
}
.hero-slide-panel .side .logo {
  width: 80%; height: 18px;
  background: rgba(255,255,255,.15);
  border-radius: 4px;
  margin-bottom: 12px;
}
.hero-slide-panel .side .nav-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px;
  border-radius: 6px;
  background: rgba(255,255,255,.04);
}
.hero-slide-panel .side .nav-item.active { background: var(--ocre); }
.hero-slide-panel .side .nav-item .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,.4);
  flex-shrink: 0;
}
.hero-slide-panel .side .nav-item.active .dot { background: #fff; }
.hero-slide-panel .side .nav-item .lbl {
  flex: 1; height: 6px;
  background: rgba(255,255,255,.2);
  border-radius: 2px;
}
.hero-slide-panel .side .nav-item.active .lbl { background: rgba(255,255,255,.5); }
.hero-slide-panel .main {
  flex: 1;
  padding: 20px;
  display: flex; flex-direction: column; gap: 14px;
  background: var(--bg-alt);
}
.hero-slide-panel .main .top {
  display: flex; align-items: center; justify-content: space-between;
}
.hero-slide-panel .main .top .title {
  width: 140px; height: 14px;
  background: var(--ink);
  border-radius: 3px;
}
.hero-slide-panel .main .top .save {
  padding: 6px 14px;
  background: var(--yellow);
  border-radius: 4px;
  width: 70px; height: 22px;
}
.hero-slide-panel .main .fields {
  display: flex; flex-direction: column; gap: 8px;
}
.hero-slide-panel .main .fields .field {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 10px;
}
.hero-slide-panel .main .fields .field i {
  display: block; height: 5px; border-radius: 2px;
  background: var(--bg-alt);
  margin-bottom: 6px;
  width: 30%;
}
.hero-slide-panel .main .fields .field i.l { width: 85%; background: var(--text-2); margin-bottom: 0; }
.hero-slide-panel .main .fields .field i.l.s { width: 60%; }

/* Pagination dots */
.hero-slider-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 18px;
}
.hero-slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--line-2);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width .3s ease, background .3s ease;
}
.hero-slider-dot.active {
  width: 28px;
  background: var(--yellow-2);
  border-radius: 999px;
}

/* Slide label (en bas du slide) */
.hero-slide-label {
  position: absolute;
  bottom: 12px; left: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: rgba(11, 31, 77, 0.85);
  backdrop-filter: blur(8px);
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  z-index: 3;
}
.hero-slide-label .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--yellow-light);
}

@media (max-width: 1024px) {
  .hero-slider-stage { aspect-ratio: 16 / 11; }
}
@media (max-width: 767px) {
  .hero-slider-stage { aspect-ratio: 4 / 3; }
  .hero-slide-mock { padding: 14px; gap: 10px; }
  .hero-slide-mock .mh-hero { padding: 14px; }
}

/* ═══════════════════════════════════════════════════════════════════
   PAGES SERVICE — STYLE VISTALID (juillet 2026)
   Pivot de la version narrative vers démonstration visuelle :
   hero compact, stats anti-WP, personas, tabs livrables avec mockup,
   showcase carousel, comparatif interactif, FAQ accordéon.
   Utilisé par : service-vitrine, service-portfolio, service-ecommerce,
                 service-surmesure
   Préfixe : .sx-* (services-experience)
   ═══════════════════════════════════════════════════════════════════ */

/* ── Hero compact ──────────────────────── */
.sx-hero {
  padding: calc(var(--nav-h) + 70px) 0 70px;
  position: relative;
  overflow: hidden;
}
.sx-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 75% 15%, rgba(234,179,8,.06), transparent 70%);
  pointer-events: none;
}
.sx-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
  position: relative;
}
.sx-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.06;
  margin: 0 0 22px;
  letter-spacing: -0.03em;
}
.sx-hero .lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-2);
  margin: 0 0 28px;
  max-width: 540px;
}
.sx-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.sx-hero-trust {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}
.sx-hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.sx-hero-trust svg { width: 14px; height: 14px; color: var(--ocre); }

/* Mockup hero principal */
.sx-hero-mock {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(-1deg);
}
.sx-hero-mock .bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.sx-hero-mock .bar i {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--line-2);
}
.sx-hero-mock .bar .url {
  margin-left: 14px;
  padding: 4px 10px;
  background: var(--bg-alt);
  border-radius: 4px;
  font-size: 11.5px;
  font-family: var(--font-num);
  color: var(--muted);
}
.sx-hero-mock .body {
  aspect-ratio: 16 / 11;
  padding: 22px;
  display: flex; flex-direction: column; gap: 12px;
  background: linear-gradient(180deg, #fff, var(--bg-alt));
}

/* Note manuscrite hero (conservée) */
.sx-hero-note {
  position: absolute;
  top: 60%;
  right: -10px;
  max-width: 200px;
  transform: rotate(3deg);
  pointer-events: none;
  z-index: 3;
}
.sx-hero-note .arrow {
  width: 60px; height: 28px;
  fill: none;
  stroke: var(--ocre);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
  margin-bottom: 4px;
}
.sx-hero-note .txt {
  font-family: var(--font-hand);
  font-size: 19px;
  color: var(--ocre);
  line-height: 1.2;
  display: block;
}
.sx-hero-note .sig {
  font-family: var(--font-hand);
  font-size: 14px;
  color: var(--ocre-2);
  margin-top: 2px;
  display: block;
}

/* ── Stats strip signature (4 chiffres) ────── */
.sx-stats {
  padding: 32px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.sx-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.sx-stat {
  text-align: center;
  padding: 8px 18px;
  border-right: 1px solid var(--line);
}
.sx-stat:last-child { border-right: none; }
.sx-stat-v {
  font-size: clamp(28px, 3.5vw, 36px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}
.sx-stat-v small {
  font-size: 0.55em;
  color: var(--muted);
  font-weight: 500;
  margin-left: 2px;
}
.sx-stat-l {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ── Personas grid ────────────────────────── */
.sx-personas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.sx-persona {
  padding: 26px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.sx-persona:hover {
  transform: translateY(-3px);
  border-color: var(--ink);
  box-shadow: var(--shadow);
}
.sx-persona-ic {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--yellow-soft);
  color: var(--ink);
  border-radius: 10px;
  margin-bottom: 14px;
}
.sx-persona-ic svg { width: 20px; height: 20px; }
.sx-persona h3 {
  font-size: 16px;
  margin-bottom: 6px;
  color: var(--ink);
}
.sx-persona p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

/* ── Tabs livrables (vertical sur desktop, horizontal sur mobile) ─ */
.sx-tabs-wrap {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
}
.sx-tabs {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sx-tab {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--r);
  color: var(--text-2);
  font-size: 14.5px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  width: 100%;
}
.sx-tab svg {
  width: 18px; height: 18px;
  color: var(--muted);
  flex-shrink: 0;
  transition: color .2s ease;
}
.sx-tab:hover { background: var(--bg-alt); color: var(--ink); }
.sx-tab:hover svg { color: var(--ocre); }
.sx-tab.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.sx-tab.active svg { color: var(--yellow-light); }
.sx-panel {
  display: none;
}
.sx-panel.active {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.sx-panel h3 {
  font-size: 22px;
  margin: 0 0 4px;
  color: var(--ink);
}
.sx-panel .desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-2);
  margin: 0;
}
.sx-panel-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
}
.sx-panel-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.5;
}
.sx-panel-list svg {
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--ocre);
}

/* ── Showcase carousel ────────────────────── */
.sx-showcase {
  position: relative;
  background: var(--bg-cream);
  padding: 32px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
}
.sx-showcase-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #fff;
}
.sx-show-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .5s ease;
  display: flex;
  flex-direction: column;
}
.sx-show-slide.active { opacity: 1; z-index: 2; }
.sx-show-slide .bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.sx-show-slide .bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.sx-show-slide .bar .url {
  margin-left: 12px;
  padding: 3px 10px;
  background: var(--bg-alt);
  border-radius: 4px;
  font-size: 11px;
  font-family: var(--font-num);
  color: var(--muted);
}
.sx-show-slide .body {
  flex: 1;
  background: var(--bg-alt);
  position: relative;
}
.sx-show-slide .body img {
  width: 100%; height: 100%; object-fit: cover;
}
.sx-show-meta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.sx-show-meta .info { flex: 1; min-width: 220px; }
.sx-show-meta .tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--yellow-soft);
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 10px;
}
.sx-show-meta h4 {
  font-size: 19px;
  margin: 0 0 6px;
  color: var(--ink);
}
.sx-show-meta p {
  font-size: 14px;
  color: var(--text-2);
  margin: 0;
}
.sx-show-nav {
  display: flex; gap: 10px;
  align-items: center;
}
.sx-show-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.sx-show-btn:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  transform: scale(1.05);
}
.sx-show-btn svg { width: 16px; height: 16px; }
.sx-show-dots {
  display: flex; gap: 6px;
  margin-left: 8px;
}
.sx-show-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--line-2);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width .3s ease, background .3s ease;
}
.sx-show-dot.active {
  width: 22px;
  background: var(--yellow-2);
  border-radius: 999px;
}

/* ── Comparatif interactif ────────────────── */
.sx-compare {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.sx-compare table {
  width: 100%;
  border-collapse: collapse;
}
.sx-compare th, .sx-compare td {
  padding: 18px 22px;
  text-align: left;
  font-size: 14.5px;
}
.sx-compare thead th {
  background: var(--bg-alt);
  color: var(--muted);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.sx-compare thead th.us {
  color: var(--ink);
  background: var(--yellow-soft);
}
.sx-compare tbody tr {
  border-bottom: 1px solid var(--line);
  transition: background .15s ease;
}
.sx-compare tbody tr:hover { background: var(--bg-alt); }
.sx-compare tbody tr:last-child { border-bottom: none; }
.sx-compare td.feature { color: var(--text); font-weight: 500; }
.sx-compare td.us {
  background: rgba(234,179,8,.06);
}
.sx-compare .yes, .sx-compare .no, .sx-compare .partial {
  display: inline-flex;
  width: 26px; height: 26px;
  border-radius: 50%;
  align-items: center; justify-content: center;
}
.sx-compare .yes  { background: rgba(34,197,94,.12); color: #16a34a; }
.sx-compare .no   { background: rgba(239,68,68,.10); color: #dc2626; }
.sx-compare .partial { background: var(--ocre-soft); color: var(--ocre-2); font-size: 11.5px; padding: 0 8px; width: auto; height: 22px; border-radius: 999px; font-weight: 600; }
.sx-compare .yes svg, .sx-compare .no svg { width: 14px; height: 14px; }

/* ── CTA Strip + FAQ wrap ────────────────────── */
.sx-cta-strip {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 36px 40px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-lg);
  flex-wrap: wrap;
}
.sx-cta-strip h3 {
  font-size: 22px;
  margin: 0;
  color: #fff;
  flex: 1;
  min-width: 240px;
}
.sx-cta-strip h3 .em { color: var(--yellow-light); }

/* ── Responsive ─────────────────────────── */
@media (max-width: 1024px) {
  .sx-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .sx-hero-note { display: none; }
  .sx-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .sx-stat { padding: 18px 12px; border-right: none; border-bottom: 1px solid var(--line); }
  .sx-stat:nth-child(3), .sx-stat:nth-child(4) { border-bottom: none; }
  .sx-stat:nth-child(odd) { border-right: 1px solid var(--line); }
  .sx-personas { grid-template-columns: repeat(2, 1fr); }
  .sx-tabs-wrap { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
  .sx-tabs { flex-direction: row; overflow-x: auto; gap: 4px; }
  .sx-tab { white-space: nowrap; }
  .sx-panel-list { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .sx-personas { grid-template-columns: 1fr; }
  .sx-compare { overflow-x: auto; }
  .sx-compare table { min-width: 540px; }
  .sx-cta-strip { padding: 24px; }
}

/* ═══════════════════════════════════════════════════════════════════
   PAGES SERVICE DÉTAILLÉES — Long-form narratif (Studio Clarity)
   Utilisé par : service-vitrine, service-portfolio, service-ecommerce,
                 service-surmesure
   ═══════════════════════════════════════════════════════════════════ */

/* ── Hero éditorial ───────────────────────── */
.sv-hero {
  padding: calc(var(--nav-h) + 90px) 0 80px;
  position: relative;
  overflow: hidden;
}
.sv-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 80% 10%, rgba(217,119,6,.05), transparent 70%);
  pointer-events: none;
}
.sv-hero-inner { max-width: 880px; }
.sv-hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.04;
  margin: 0 0 28px;
  letter-spacing: -0.035em;
}
.sv-hero .lead {
  font-size: 19px;
  line-height: 1.65;
  color: var(--text-2);
  margin: 0 0 36px;
  max-width: 640px;
}
.sv-hero-cta {
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
}

/* Note manuscrite signée (Nathan / Alexis), posée à droite du hero */
.sv-hero-note {
  position: absolute;
  right: 6%;
  top: 38%;
  max-width: 240px;
  transform: rotate(2.5deg);
  pointer-events: none;
}
.sv-hero-note .arrow {
  width: 70px; height: 30px;
  fill: none;
  stroke: var(--ocre);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
  margin-bottom: 6px;
}
.sv-hero-note .txt {
  font-family: var(--font-hand);
  font-size: 21px;
  color: var(--ocre);
  line-height: 1.25;
  display: block;
}
.sv-hero-note .sig {
  font-family: var(--font-hand);
  font-size: 16px;
  color: var(--ocre-2);
  margin-top: 4px;
  display: block;
}

/* ── Section wrapper chapitres ─────────────── */
.sv-section { padding: 90px 0; }
.sv-section.alt { background: var(--bg-alt); }
.sv-section.cream { background: var(--bg-cream); }
.sv-section.ink { background: var(--ink); color: #fff; }
.sv-section.ink h2,
.sv-section.ink h3 { color: #fff; }

/* ── En-tête de chapitre ───────────────────── */
.sv-chap-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 32px;
  max-width: 880px;
}
.sv-chap-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  color: var(--ocre);
  letter-spacing: 0.02em;
  flex-shrink: 0;
  padding-top: 6px;
}
.sv-chap-title {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  font-family: var(--font-sans);
}
.sv-section.ink .sv-chap-title { color: #fff; }
.sv-section.ink .sv-chap-num { color: var(--ocre); }

/* ── Corps de chapitre : prose ─────────────── */
.sv-prose {
  max-width: 720px;
  font-size: 17.5px;
  line-height: 1.78;
  color: var(--text-2);
}
.sv-prose p { margin: 0 0 22px; }
.sv-prose p:last-child { margin-bottom: 0; }
.sv-prose strong { color: var(--ink); font-weight: 600; }
.sv-section.ink .sv-prose { color: rgba(255,255,255,.82); }
.sv-section.ink .sv-prose strong { color: #fff; }

/* Drop cap Fraunces (appliquer .drop sur .sv-prose) */
.sv-prose.drop > p:first-of-type::first-letter {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 68px;
  line-height: 0.85;
  float: left;
  margin: 8px 12px 0 0;
  color: var(--ink);
}

/* ── Pull quote Fraunces italic ────────────── */
.sv-pull {
  max-width: 720px;
  margin: 36px 0;
  padding: 0 0 0 28px;
  border-left: 2px solid var(--ocre);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.4;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.sv-section.ink .sv-pull { color: #fff; border-color: var(--ocre); }
.sv-pull cite {
  display: block;
  margin-top: 12px;
  font-family: var(--font-hand);
  font-style: normal;
  font-size: 18px;
  font-weight: 500;
  color: var(--ocre);
}

/* ── Annotation Caveat inline ──────────────── */
.sv-annot {
  display: inline-block;
  font-family: var(--font-hand);
  font-size: 19px;
  color: var(--ocre);
  transform: rotate(-1.5deg);
  padding: 0 4px;
}

/* ── Liste prose éditoriale (pas de cards) ── */
.sv-list {
  max-width: 720px;
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}
.sv-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--text-2);
}
.sv-list li:last-child { border-bottom: none; }
.sv-list li svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--ocre);
}
.sv-list li strong {
  color: var(--ink);
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}
.sv-list li span.lbl { display: block; }
.sv-section.ink .sv-list li {
  color: rgba(255,255,255,.82);
  border-color: rgba(255,255,255,.12);
}
.sv-section.ink .sv-list li strong { color: #fff; }

/* ── Cas concret encadré ───────────────────── */
.sv-case {
  max-width: 800px;
  margin: 16px 0 0;
  padding: 36px 40px;
  background: var(--bg-cream);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  position: relative;
}
.sv-section.cream .sv-case { background: #fff; }
.sv-case-tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--ocre-soft);
  color: var(--ocre-2);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 18px;
}
.sv-case h3 {
  font-size: 24px;
  margin-bottom: 14px;
  line-height: 1.25;
  color: var(--ink);
}
.sv-case-prose {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--text-2);
}
.sv-case-prose p { margin: 0 0 16px; }
.sv-case-prose p:last-child { margin-bottom: 0; }
.sv-case-detail {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed var(--line-2);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.sv-case-detail .cell .l {
  font-family: var(--font-hand);
  font-size: 14px;
  color: var(--ocre);
  margin-bottom: 4px;
}
.sv-case-detail .cell .v {
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.4;
}

/* ── Mockup soft discret ───────────────────── */
.sv-mock-soft {
  max-width: 720px;
  margin: 40px 0 0;
  padding: 18px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.sv-section.cream .sv-mock-soft { background: #fff; }
.sv-mock-soft .bar {
  display: flex; align-items: center; gap: 6px;
  padding: 0 4px 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}
.sv-mock-soft .bar i {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--line-2);
}
.sv-mock-soft .bar span {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
  font-family: var(--font-num);
}
.sv-mock-soft .body {
  display: flex; flex-direction: column; gap: 10px;
  padding: 8px 4px;
}
.sv-mock-soft .ln {
  height: 8px;
  background: var(--bg-alt);
  border-radius: 2px;
  border: 1px solid var(--line);
}
.sv-section.cream .sv-mock-soft .ln { background: var(--bg-alt); }
.sv-mock-soft .ln.t { height: 14px; width: 65%; background: var(--ink); border: none; }
.sv-mock-soft .ln.s { width: 85%; }
.sv-mock-soft .ln.s2 { width: 45%; }
.sv-mock-soft .row { display: flex; gap: 10px; margin-top: 6px; }
.sv-mock-soft .row .card {
  flex: 1;
  aspect-ratio: 1.6/1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 10px;
  display: flex; flex-direction: column; gap: 6px; justify-content: flex-end;
}
.sv-mock-soft .row .card i {
  display: block; height: 5px; border-radius: 2px;
  background: var(--bg-alt);
}
.sv-mock-soft .row .card i:first-child { background: var(--ink); width: 60%; height: 6px; }
.sv-mock-soft .cap {
  text-align: center;
  margin-top: 18px;
  font-family: var(--font-hand);
  font-size: 19px;
  color: var(--ocre);
}

/* ── FAQ wrap aéré ─────────────────────────── */
.sv-faq-wrap { max-width: 820px; }

/* ── CTA final éditorial ───────────────────── */
.sv-cta-final {
  background: var(--ink);
  color: #fff;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.sv-cta-final::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(50% 80% at 50% 0%, rgba(217,119,6,.18), transparent 70%);
  pointer-events: none;
}
.sv-cta-final-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}
.sv-cta-final h2 {
  font-size: clamp(34px, 4vw, 48px);
  color: #fff;
  margin-bottom: 18px;
}
.sv-cta-final h2 .em { color: var(--yellow-light); }
.sv-cta-final p {
  font-size: 17px;
  color: rgba(255,255,255,.75);
  margin-bottom: 32px;
}
.sv-cta-final .btn-row {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 26px;
}
.sv-cta-final .btn-ghost {
  border-color: rgba(255,255,255,.25);
  color: #fff;
}
.sv-cta-final .btn-ghost:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.4);
}
.sv-cta-final .chips {
  display: flex; gap: 18px; justify-content: center; flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,.65);
}
.sv-cta-final .chips span { display: inline-flex; align-items: center; gap: 6px; }
.sv-cta-final .chips svg { width: 14px; height: 14px; color: var(--ocre); }

/* ── Responsive pages services détaillées ──── */
@media (max-width: 1024px) {
  .sv-hero-note { display: none; }
  .sv-case-detail { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 767px) {
  .sv-hero { padding: calc(var(--nav-h) + 56px) 0 64px; }
  .sv-section { padding: 64px 0; }
  .sv-chap-head { flex-direction: column; gap: 8px; }
  .sv-prose { font-size: 16.5px; }
  .sv-pull { padding-left: 18px; }
  .sv-case { padding: 28px 24px; }
}

