/* ----------------------------------------------------------
   Panja: Growth Engineers
   Editorial + scientific design system. Single accent: Fuel Orange.
   See DESIGN.md for tokens.
   ---------------------------------------------------------- */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap");

/* Redaction (Titus Kaphar & Reginald Dwayne Betts / MCKL, licence libre SIL OFL)
   Display unique du site. Vraie italique dessinee, pas d'oblique synthetique. */
@font-face {
  font-family: "Redaction";
  src: url("/fonts/redaction-400-normal.woff2") format("woff2");
  font-weight: 300 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Redaction";
  src: url("/fonts/redaction-400-italic.woff2") format("woff2");
  font-weight: 300 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Redaction";
  src: url("/fonts/redaction-700-normal.woff2") format("woff2");
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* New palette (DESIGN.md) */
  --ink: #181818;          /* Pitch Black */
  --paper: #F3EEE9;        /* Newsprint   */
  --orange: #FB6F29;       /* Fuel Orange */
  --orange-text: #B8430F;  /* Fuel Orange assombri pour petit texte sur papier (4,7:1, AA) */
  --indigo: #262A5E;       /* Indigo encre — complementaire de l'orange, fonds sombres */
  --steel: #868585;        /* Steel       */
  --halftone: #DCD7D2;     /* Halftone    */
  --bg: #FCF9F6;           /* White (off) */

  --muted: #656464;        /* AA-compliant secondary text (5.6:1 on bg) */
  --soft: #6f6e6e;         /* AA-compliant tertiary text (4.9:1 on bg) */
  --orange-hover: color-mix(in oklch, var(--orange) 88%, white);
  --ink-hover: color-mix(in oklch, var(--ink) 82%, black);

  --line: rgba(24, 24, 24, 0.12);
  --line-soft: rgba(24, 24, 24, 0.06);
  --max: 1280px;
  --max-prose: 760px;
  --radius: 4px;
  --radius-lg: 4px;        /* cartes et encarts : 4px (DESIGN.md) */
  --pill: 999px;

  /* Échelle typographique — 7 paliers, seule source de taille en rem */
  --fs-2xs: 0.7rem;
  --fs-xs: 0.8rem;
  --fs-sm: 0.9rem;
  --fs-base: 1rem;
  --fs-md: 1.2rem;
  --fs-lg: 1.45rem;
  --fs-xl: 1.7rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01" on, "cv11" on;
  hyphens: manual;
  -webkit-hyphens: manual;
}
/* Mot compose a ne jamais couper ("e-commerce") : preferer le trait d'union
   insecable U+2011 dans le texte, ou envelopper dans .nowrap. */
.nowrap { white-space: nowrap; }
img { max-width: 100%; height: auto; display: block; }
/* <picture class="webp"> (Img.astro, rehypeImages): layout-neutral wrapper,
   the <img> inside keeps the exact styling it had before. */
picture.webp { display: contents; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }

/* ---- Accessibility: skip link + keyboard focus + reduced motion ---- */
.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 1000;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  font-family: "Inter", sans-serif;
  font-size: var(--fs-xs);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 0.75rem; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  border-radius: var(--radius);
}
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
[tabindex]:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Focus sur fonds sombres (indigo, noir) : contour creme, le noir y serait
   invisible. .is-dark marque toute surface sombre ad hoc (cartes --ink). */
.site-footer :focus-visible,
.cta-acid :focus-visible,
.cta-band :focus-visible,
.section-dark :focus-visible,
.marquee :focus-visible,
.case-result-band :focus-visible,
.pricing-card.featured :focus-visible,
.ba-after :focus-visible,
.hero-google :focus-visible,
.lp-video :focus-visible,
.is-dark :focus-visible,
.is-dark:focus-visible { outline-color: var(--paper); }

/* FAQ : l'icone "+" (dernier <span> sans classe du <summary>, ou .faq-toggle)
   devient "−" a l'ouverture, partout. */
details > summary::-webkit-details-marker { display: none; }
details[open] > summary > .faq-toggle,
details[open] > summary > span:last-child:not([class]) {
  position: relative;
  visibility: hidden;
}
details[open] > summary > .faq-toggle::after,
details[open] > summary > span:last-child:not([class])::after {
  content: "\2212";
  visibility: visible;
  position: absolute;
  inset: 0;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

h1, h2, h3, h4 {
  font-family: "Redaction", "Times New Roman", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: var(--ink);
  margin: 0;
  font-variation-settings: "opsz" 96;
}

.serif { font-family: "Redaction", serif; font-weight: 500; letter-spacing: -0.02em; }
.serif-italic { font-family: "Redaction", serif; font-weight: 400; font-style: italic; letter-spacing: -0.01em; }
.mono {
  font-family: "Inter", sans-serif;
  font-feature-settings: "ss02" on;
}

/* Eyebrow / tag (DESIGN.md) : JetBrains Mono uppercase Fuel Orange, sans
   pastille ni puce. .kicker et .eyebrow--badge sont des alias historiques. */
.kicker, .eyebrow, .eyebrow--badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.95rem;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  color: var(--orange-text);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow.ink { color: var(--ink); }
.eyebrow.steel { color: var(--muted); }
.eyebrow::before,
.eyebrow--badge::before { content: none; }

.shell {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
}
.section-pad { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section-pad-sm { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }

/* Sections empilees sur le meme fond : la precedente fournit deja l'ecart par
   son padding bas, on evite donc de le doubler. */
.section-pad--tight { padding-top: 0; }

/* Exception : quand le bloc precedent pose son propre fond (bande sombre, CTA),
   son padding bas appartient a ce fond. L'ouverture de la section suivante
   collerait alors a la frontiere de couleur, ce qui ecrase l'eyebrow. On lui
   rend un vrai rythme d'entree. */
.section-dark + .section-pad--tight,
.cta-band + .section-pad--tight,
.cta-acid + .section-pad--tight {
  padding-top: clamp(4.5rem, 9vw, 7.5rem);
}

/* Garde-fou : une section qui annule son padding bas en inline ne doit jamais
   coller la section serree qui la suit (l'eyebrow s'ecraserait contre elle). */
[style*="padding-bottom:0"] + .section-pad--tight,
[style*="padding-bottom: 0"] + .section-pad--tight {
  padding-top: clamp(2.6rem, 5vw, 4rem);
}

/* ---------------- Buttons --------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 50px;
  padding: 0.85rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--pill);
  background: transparent;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: var(--fs-sm);
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
  white-space: nowrap;
}
.btn .arrow {
  display: inline-block;
  font-weight: 400;
  font-size: 0.95em;
  transition: transform 160ms ease;
}
.btn:hover .arrow { transform: translate(2px, -2px); }

.btn-primary,
.btn-dark {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.btn-primary:hover,
.btn-dark:hover {
  transform: translateY(-1px);
  background: var(--ink-hover);
}

.btn-pink,
.btn-orange {
  background: var(--orange);
  color: var(--ink);
  border-color: var(--orange);
}
.btn-pink:hover,
.btn-orange:hover {
  transform: translateY(-1px);
  background: var(--orange-hover);
}

.btn-acid {
  background: var(--orange);
  color: var(--ink);
  border-color: var(--orange);
}
.btn-acid:hover { transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(24, 24, 24, 0.4);
}
.btn-ghost:hover { background: var(--ink); color: var(--bg); }

.btn-outline-orange {
  background: transparent;
  color: var(--ink);
  border-color: var(--orange);
}
.btn-outline-orange:hover { background: var(--orange); color: var(--ink); }

.text-link {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}
.text-link:hover { color: var(--orange); border-color: var(--orange); }

/* "Play Showreel" style link with circular play */
.btn-play {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--ink);
  font-family: "Redaction", serif;
  font-size: var(--fs-base);
  font-weight: 500;
}
.btn-play .play-circle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: var(--fs-2xs);
  color: var(--ink);
  transition: background 160ms ease, color 160ms ease;
}
.btn-play .play-circle::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 8px solid currentColor;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  margin-left: 2px;
}
.btn-play:hover .play-circle { background: var(--orange); border-color: var(--orange); }
.btn-play .play-label {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-align: left;
}
.btn-play .play-label small {
  font-family: "Inter", sans-serif;
  font-size: var(--fs-2xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

/* ---------------- Highlight (orange marker) --------------- */
.highlight {
  position: relative;
  display: inline;
  background: linear-gradient(120deg, rgba(251, 111, 41, 0) 0%, rgba(251, 111, 41, 0.42) 12%, rgba(251, 111, 41, 0.42) 92%, rgba(251, 111, 41, 0) 100%);
  padding: 0.02em 0.18em;
  border-radius: var(--radius);
  color: var(--orange);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.underline-mark {
  background-image: linear-gradient(transparent 78%, rgba(251, 111, 41, 0.6) 78%, rgba(251, 111, 41, 0.6) 96%, transparent 96%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding: 0 0.05em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------------- Header --------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.1rem clamp(1.25rem, 4vw, 2.5rem);
  background: color-mix(in oklch, var(--bg) 90%, transparent);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  border-bottom: 1px solid var(--halftone);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}
.brand-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.05rem;
}
.brand-logo img,
.brand-logo svg { width: 104px; height: auto; display: block; }
.brand-logo svg #wordmark { fill: var(--ink, #000); }
.brand-logo .px {
  transform-box: fill-box;
  transform-origin: center;
}
.brand:hover .brand-logo .px,
.brand:focus-visible .brand-logo .px {
  animation: panja-px-pop 0.62s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.brand:hover .brand-logo #px1,
.brand:focus-visible .brand-logo #px1 { animation-delay: 0s; }
.brand:hover .brand-logo #px4,
.brand:focus-visible .brand-logo #px4 { animation-delay: 0.05s; }
.brand:hover .brand-logo #px2,
.brand:focus-visible .brand-logo #px2 { animation-delay: 0.1s; }
.brand:hover .brand-logo #px3,
.brand:focus-visible .brand-logo #px3 { animation-delay: 0.15s; }
.brand:hover .brand-logo #px5,
.brand:focus-visible .brand-logo #px5 { animation-delay: 0.2s; }
.brand:hover .brand-logo #px6,
.brand:focus-visible .brand-logo #px6 { animation-delay: 0.25s; }
.brand:hover .brand-logo #px7,
.brand:focus-visible .brand-logo #px7 { animation-delay: 0.3s; }
@keyframes panja-px-pop {
  0%   { transform: translateY(0) scale(1); }
  35%  { transform: translateY(-46px) scale(1.5); }
  70%  { transform: translateY(6px) scale(0.9); }
  100% { transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .brand:hover .brand-logo .px,
  .brand:focus-visible .brand-logo .px { animation: none; }
}
.brand-meta {
  font-family: "Inter", sans-serif;
  font-size: var(--fs-2xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  line-height: 1;
}
.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(0.6rem, 1.8vw, 1.8rem);
  font-family: "Inter", sans-serif;
  font-size: var(--fs-sm);
  font-weight: 400;
}
.site-nav a {
  position: relative;
  white-space: nowrap;
  text-decoration: none;
  color: var(--ink);
  padding: 0.4rem 0.2rem;
  transition: color 140ms ease;
}
.site-nav a:hover { color: var(--orange); }
.site-nav a[aria-current="page"] { color: var(--orange); }
.site-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: var(--orange);
}

/* --- Nav dropdown (E-commerce) --- */
.nav-dropdown { position: relative; display: inline-flex; }
.nav-dropdown-trigger {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  position: relative;
  border: 0;
  background: none;
  padding: 0.4rem 0.2rem;
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: var(--fs-sm);
  font-weight: 400;
  color: var(--ink);
  cursor: pointer;
  transition: color 140ms ease;
}
.nav-dropdown-trigger:hover { color: var(--orange); }
.nav-dropdown-trigger[aria-current="page"] { color: var(--orange); }
.nav-caret { width: 9px; height: 6px; transition: transform 180ms ease; }
.nav-dropdown:hover .nav-caret,
.nav-dropdown-trigger[aria-expanded="true"] .nav-caret { transform: rotate(180deg); }
.nav-menu {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 50%;
  transform: translate(-50%, 6px);
  min-width: 268px;
  margin: 0;
  padding: 0.4rem;
  list-style: none;
  background: var(--bg);
  border: 1px solid var(--ink);
  border-radius: var(--radius-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms;
  z-index: 40;
}
.nav-menu::before {
  content: "";
  position: absolute;
  top: -0.55rem;
  left: 0;
  right: 0;
  height: 0.55rem;
}
.nav-dropdown:hover .nav-menu,
.nav-dropdown:focus-within .nav-menu,
.nav-dropdown-trigger[aria-expanded="true"] + .nav-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.nav-menu-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0.7rem;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  transition: background 140ms ease;
}
a.nav-menu-item:hover { background: var(--paper); }
.nav-menu-item img {
  /* hauteur fixe, largeur libre : les logotypes larges restent lisibles */
  height: 22px;
  width: auto;
  max-width: 74px;
  object-fit: contain;
  flex-shrink: 0;
}
.nav-menu-text { display: flex; flex-direction: column; line-height: 1.2; }
.nav-menu-text strong { font-family: "Inter", sans-serif; font-weight: 600; font-size: var(--fs-sm); }
.nav-menu-text span {
  font-family: "Inter", sans-serif;
  font-size: var(--fs-2xs);
  letter-spacing: 0.03em;
  color: var(--muted);
  margin-top: 0.12rem;
}
.nav-menu-item[aria-current="page"] { background: var(--paper); }
.nav-menu-item[aria-current="page"] .nav-menu-text strong { color: var(--orange); }
.nav-menu-item.is-soon { cursor: default; opacity: 0.6; }
.nav-menu-item.is-soon img { filter: grayscale(1); }

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.2rem;
  border-radius: var(--pill);
  background: var(--ink);
  color: var(--bg);
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: var(--fs-sm);
  text-decoration: none;
  transition: transform 140ms ease;
}
.header-cta::after { content: "↗"; font-weight: 400; transition: transform 140ms ease; }
.header-cta:hover { transform: translateY(-1px); }
.header-cta:hover::after { transform: translate(2px, -2px); }
/* Menu mobile ouvert : un seul CTA visible (celui du tiroir) */
html.nav-open .header-cta { visibility: hidden; }

/* ---------------- Hero (home) --------------- */
.home-hero {
  position: relative;
  padding: clamp(1.5rem, 3.2vw, 3rem) 0 clamp(2rem, 5vw, 4rem);
  overflow: hidden;
}
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(24, 24, 24, 0.16) 1px, transparent 1.4px);
  background-size: 22px 22px;
  opacity: 0.32;
  pointer-events: none;
  z-index: 0;
}
.home-hero > .shell-inner { position: relative; z-index: 1; }

.home-hero-grid {
  display: grid;
  grid-template-columns: 1.24fr 0.82fr;
  gap: clamp(1.5rem, 3.4vw, 3.4rem);
  align-items: center;
}
.home-hero-text { position: relative; }
.home-hero-text .eyebrow { margin-bottom: 1.4rem; }

.hero-headline {
  font-family: "Redaction", serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  line-height: 1.16;
  letter-spacing: -0.025em;
  color: var(--ink);
  font-variation-settings: "opsz" 144;
}
.hero-headline .line { display: block; text-wrap: balance; }
.hero-headline em {
  font-family: "Redaction", serif;
  font-style: italic;
  font-weight: 400;
  color: var(--orange);
  position: relative;
  padding: 0 0.05em;
}
.hero-headline em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.04em;
  height: 0.18em;
  background: rgba(251, 111, 41, 0.28);
  z-index: -1;
}

.hero-lede {
  margin: 1.4rem 0 0;
  max-width: 540px;
  color: var(--ink);
  font-family: "Inter", sans-serif;
  font-size: var(--fs-base);
  line-height: 1.5;
  font-weight: 400;
}
.hero-pricing {
  margin: 1.1rem 0 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.hero-pricing em {
  font-style: normal;
  font-weight: 600;
  border-bottom: 2px solid var(--orange);
  padding-bottom: 0.05em;
}
.home-hero-text ul {
  list-style: none;
  margin: 0.9rem 0 0;
  padding: 0;
  max-width: 540px;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.home-hero-text ul li {
  position: relative;
  padding-left: 1.7rem;
  font-family: "Inter", sans-serif;
  font-size: var(--fs-sm);
  line-height: 1.4;
  color: var(--ink);
  list-style: none;
}
.home-hero-text ul li::before {
  content: "";
  position: absolute;
  left: 0.25rem;
  top: 0.45em;
  width: 0.4rem;
  height: 0.4rem;
  background: var(--orange);
  border-radius: 50%;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 2rem;
  align-items: flex-start;
  margin-top: 1.6rem;
}
.hero-cta-cluster {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}

/* Hero scan form: URL input + single CTA (home) */
.hero-scan {
  display: flex;
  align-items: stretch;
  gap: 0.6rem;
  margin-top: 1.6rem;
  max-width: 560px;
}
.hero-scan-input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--halftone);
  background: #fff;
  border-radius: 999px;
  padding: 0.85rem 1.4rem;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  color: var(--ink);
}
.hero-scan-input::placeholder { color: var(--soft); }
.hero-scan-input:focus { outline: 2px solid var(--ink); outline-offset: 2px; }
.hero-scan .btn-with-circle { white-space: nowrap; flex-shrink: 0; }
.hero-scan-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.6rem;
  margin-top: 0.8rem;
}
.hero-platforms {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  min-width: 0;
}
.platform-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--halftone);
  background: #fff;
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.platform-chip img { height: 14px; width: auto; max-width: 42px; display: block; object-fit: contain; }
.rotator { display: inline-grid; vertical-align: baseline; }
.rotator-item {
  grid-area: 1 / 1;
  justify-self: start;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.rotator-item.is-active { opacity: 1; pointer-events: auto; }
.platform-word {
  display: inline-flex;
  align-items: center;
  gap: 0.22em;
  padding: 0.06em 0.26em 0.1em;
  border-radius: 0.16em;
  color: #fff;
  font-style: normal;
  vertical-align: 0.02em;
  letter-spacing: -0.01em;
}
.platform-word img { height: 0.62em; width: auto; max-width: 1.7em; display: block; }
.platform-word--shopify { background: #004c3f; }
.platform-word--woocommerce { background: #7f54b3; }
.platform-word--prestashop { background: #df0067; }
.platform-word--woocommerce img,
.platform-word--prestashop img { filter: brightness(0) invert(1); }
@media (max-width: 640px) {
  .hero-scan { flex-wrap: wrap; }
  .hero-scan .btn-with-circle { width: 100%; justify-content: space-between; }
}

/* Compact client trust bar under the hero CTAs (keeps client logos above the fold) */
.hero-clients {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  margin-top: 1.3rem;
  max-width: 560px;
}
.hero-clients-label {
  flex-shrink: 0;
  font-family: "Inter", sans-serif;
  font-size: var(--fs-2xs);
  line-height: 1.35;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-clients-logos {
  display: block;
  width: 100%;
  max-width: 470px;
  max-height: 88px;
  height: auto;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: multiply;
  filter: grayscale(1);
  opacity: 0.82;
  transition: opacity 200ms ease;
}
.hero-clients-logos:hover { opacity: 1; }
.hero-clients-row {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  min-width: 0;
}
.hero-clients-row .hero-clients-logos { max-width: 330px; flex-shrink: 1; }
.hero-clients--wide { max-width: none; }
.hero-clients-extra {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: 1fr 1fr;
  height: 88px;
  align-items: center;
  justify-items: start;
  column-gap: 1.8rem;
}
.client-logo {
  width: auto;
  display: block;
  mix-blend-mode: multiply;
  filter: grayscale(1);
  opacity: 0.82;
}
.client-logo--algosource { height: 16px; }
.client-logo--nightngo { height: 30px; }
.client-logo--mothair { height: 38px; }
.client-logo--confiture { height: 36px; }

/* Primary button with right-side circle arrow (solid ink pill) */
.btn-with-circle {
  position: relative;
  padding: 0.55rem 0.55rem 0.55rem 1.5rem;
  gap: 0.9rem;
  background: var(--ink);
  border-color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.005em;
}
.btn-with-circle:hover {
  background: var(--ink-hover);
}
.btn-orange.btn-with-circle {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink);
}
.btn-orange.btn-with-circle:hover { background: var(--orange-hover); }
.btn-orange.btn-with-circle .btn-circle { background: var(--bg); color: var(--ink); }
.btn-orange.btn-with-circle:hover .btn-circle { background: var(--ink); color: var(--bg); }
.btn-circle {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink);
  flex-shrink: 0;
  transition: transform 200ms ease, background 200ms ease, color 200ms ease;
}
.btn-circle svg { width: 16px; height: 16px; display: block; }
.btn-with-circle:hover .btn-circle {
  transform: translateX(3px);
  background: var(--orange);
  color: var(--ink);
}

.hero-cta-alt {
  font-family: "Inter", sans-serif;
  font-size: var(--fs-sm);
  color: var(--muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.4rem;
}
.hero-cta-alt em {
  font-style: normal;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 1px;
  transition: color 160ms ease, border-color 160ms ease;
}
.hero-cta-alt:hover em { color: var(--orange); border-color: var(--orange); }


.hero-cta-note {
  font-family: "Inter", sans-serif;
  font-size: var(--fs-xs);
  color: var(--muted);
}

/* Method panel: vertical rail overlaid on the left edge of the hero image */
.method-panel {
  position: absolute;
  z-index: 6;
  top: 50%;
  left: -6%;
  transform: translateY(-50%);
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-family: "Inter", sans-serif;
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  pointer-events: none;
}
.method-panel li {
  position: relative;
  padding: 0.45rem 0.9rem;
  border: 1px solid transparent;
  width: fit-content;
  background: color-mix(in oklch, var(--bg) 88%, transparent);
  transition: color 140ms ease, border-color 140ms ease;
}
.method-panel li.active {
  color: var(--ink);
  border-color: var(--orange);
  background: var(--bg);
}

/* Right column: hero visual composition */
.home-hero-visual {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-hero-visual .hero-image {
  position: relative;
  z-index: 2;
  width: 94%;
  max-width: none;
  height: auto;
  display: block;
  mix-blend-mode: darken;
  filter: contrast(1.05);
}

.hero-target {
  position: absolute;
  top: 6%;
  right: 6%;
  width: 28px;
  height: 28px;
  z-index: 3;
  opacity: 0.6;
}

/* Floating data cards */
.data-card {
  position: absolute;
  z-index: 4;
  background: var(--bg);
  border: 1px solid var(--halftone);
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  font-family: "Inter", sans-serif;
  min-width: 170px;
}
.data-card .data-label {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.4rem;
}
.data-card p {
  margin: 0;
  font-family: "Redaction", serif;
  font-size: var(--fs-sm);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.3;
}
.data-card strong {
  display: block;
  font-family: "Redaction", serif;
  font-weight: 500;
  font-size: var(--fs-xl);
  color: var(--ink);
  line-height: 1;
  margin: 0.2rem 0;
}
.data-card small {
  display: block;
  font-size: var(--fs-xs);
  color: var(--muted);
}
.data-card .micro-graph {
  display: block;
  margin-bottom: 0.4rem;
  width: 100%;
  height: 18px;
  color: var(--orange);
}

.data-card.hypothesis-card {
  top: 32%;
  right: -4%;
  width: 200px;
}
.data-card.lift-card {
  bottom: 4%;
  right: 0;
  width: 180px;
}

/* Floating channel tags scattered around the hero image */
.hero-channels {
  position: absolute;
  inset: 0;
  z-index: 5;
  list-style: none;
  margin: 0;
  padding: 0;
  pointer-events: none;
}
.hero-channel {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem 0.45rem 0.6rem;
  background: var(--bg);
  border: 1px solid var(--halftone);
  border-radius: var(--pill);
  font-family: "Inter", sans-serif;
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  pointer-events: auto;
  transition: transform 220ms ease, border-color 220ms ease, color 220ms ease;
}
.hero-channel svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--orange);
}
.hero-channel img {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  object-fit: contain;
}
.hero-channel:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
}
.hero-channel--meta     { top: -2%;  left: 14%;  transform: rotate(-4deg); }
.hero-channel--google   { top: 6%;   right: -6%; transform: rotate(4deg); }
.hero-channel--outbound { top: 70%;  left: -4%;  transform: rotate(-3deg); }
.hero-channel--cro      { bottom: -1%; left: 32%; transform: rotate(2deg); }
.hero-channel--retention{ bottom: 26%; right: -9%; transform: rotate(-5deg); }
.hero-channel--meta:hover     { transform: rotate(-4deg) translateY(-2px); }
.hero-channel--google:hover   { transform: rotate(4deg)  translateY(-2px); }
.hero-channel--outbound:hover { transform: rotate(-3deg) translateY(-2px); }
.hero-channel--cro:hover      { transform: rotate(2deg)  translateY(-2px); }
.hero-channel--retention:hover{ transform: rotate(-5deg) translateY(-2px); }

/* ---------------- Trust strip + metrics row ---------------- */
.hero-strip {
  position: relative;
  z-index: 1;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--halftone);
  padding-top: clamp(1.5rem, 3vw, 2.2rem);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.hero-trusted .eyebrow { margin-bottom: 1rem; }
.hero-logos {
  display: flex;
  align-items: center;
}
.hero-logos-strip {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  mix-blend-mode: multiply;
  filter: grayscale(1);
  opacity: 0.78;
  transition: opacity 200ms ease;
}
.hero-logos-strip:hover { opacity: 1; }

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  border-left: 1px solid var(--halftone);
  padding-left: clamp(1.5rem, 4vw, 3rem);
}
.hero-metrics .metric strong {
  display: block;
  font-family: "Redaction", serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--orange);
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero-metrics .metric span {
  display: block;
  margin-top: 0.6rem;
  font-family: "Inter", sans-serif;
  font-size: var(--fs-2xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.4;
  max-width: 14ch;
}

/* Hero corner labels (printer-style) */
.hero-corners {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  font-family: "Inter", sans-serif;
  font-size: var(--fs-2xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 1rem 0 0.3rem;
}

/* Service pages: the SEO H1 wraps the pretitle ("L'agence Google Ads qui vous
   fait") and the display headline, so the keyword sits in the H1 without
   changing the visual. The H1 itself stays typographically neutral. */
.hero-h1 {
  margin: 0;
  font: inherit;
  letter-spacing: normal;
  line-height: inherit;
  color: inherit;
  font-variation-settings: normal;
}
.hero-h1 > .hero-pretitle,
.hero-h1 > .hero-headline { display: block; }

/* ---------------- Hero: Google Ads variant ---------------- */
.hero-pretitle {
  margin: 0 0 0.75rem;
  max-width: 27ch;
  font-family: "Inter", sans-serif;
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
  font-weight: 500;
  line-height: 1.24;
  color: var(--ink);
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.hero-headline-gads {
  font-size: clamp(2.4rem, 6.4vw, 4.8rem);
  line-height: 1;
}
.hero-headline-gads em {
  font-style: italic;
  color: var(--ink);
  background: var(--orange);
  padding: 0.04em 0.25em 0.08em;
  display: inline-block;
  line-height: 1;
}
.hero-headline-gads em::after { content: none; }
.hero-sur {
  font-family: "Redaction", serif;
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
}
.hero-google {
  display: inline-block;
  background: var(--indigo);
  color: var(--bg);
  padding: 0.04em 0.3em 0.08em;
  font-family: "Redaction", serif;
  font-weight: 600;
  font-style: normal;
  line-height: 1;
}

.hero-checklist {
  list-style: none;
  margin: 1.3rem 0 0;
  padding: 0;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.hero-checklist li {
  font-family: "Inter", sans-serif;
  font-size: var(--fs-base);
  line-height: 1.45;
  color: var(--ink);
  display: block;
}
.hero-checklist li::before { content: none; }
.hero-check {
  flex-shrink: 0;
  font-size: var(--fs-base);
  line-height: 1;
}

.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 1.4rem 0 0;
  font-family: "Inter", sans-serif;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink);
}
.hero-trust-avatars {
  height: 36px;
  width: auto;
  display: block;
}

.hero-cta-row-gads {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 1.5rem 1.8rem;
  align-items: start;
  margin-top: 1.6rem;
  max-width: 600px;
}
.hero-cta-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}
.hero-cta-col .btn { width: 100%; justify-content: center; }
.hero-cta-sub {
  font-family: "Inter", sans-serif;
  font-size: var(--fs-xs);
  line-height: 1.45;
  color: var(--muted);
}
.hero-cta-sub strong {
  font-weight: 600;
  color: var(--ink);
}
.hero-cta-sub a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 1px;
  transition: color 160ms ease, border-color 160ms ease;
}
.hero-cta-sub a:hover { color: var(--orange); border-color: var(--orange); }

@media (max-width: 860px) {
  .hero-cta-row-gads { grid-template-columns: 1fr; }
  .hero-headline-gads { font-size: clamp(2.2rem, 10vw, 3.6rem); }
}

/* ---------------- Hero: Social Ads variant ---------------- */
.hero-headline-social {
  font-size: clamp(1.9rem, 4.4vw, 3.2rem);
  line-height: 1.1;
}
.hero-headline-social em {
  font-style: italic;
  font-family: "Redaction", serif;
  font-weight: 400;
  color: var(--orange);
  padding: 0 0.05em;
  position: relative;
}
.hero-headline-social em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.06em;
  height: 0.14em;
  background: var(--orange);
  z-index: -1;
  opacity: 0.95;
}

.hero-social-bullets {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.hero-social-bullets li {
  position: relative;
  padding-left: 1.6rem;
  font-family: "Inter", sans-serif;
  font-size: var(--fs-base);
  line-height: 1.5;
  color: var(--ink);
}
.hero-social-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.7rem;
  height: 1px;
  background: var(--ink);
}
.hero-social-bullets strong { font-weight: 600; color: var(--orange); }

.hero-callout {
  margin: 1.3rem 0 0;
  max-width: 520px;
  font-family: "Redaction", serif;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-style: italic;
  color: var(--ink);
}
.hero-callout strong {
  font-style: normal;
  font-weight: 600;
  background: var(--orange);
  color: var(--ink);
  padding: 0.05em 0.35em 0.1em;
}

/* ---------------- Hero: CRO / Landing Page variant ---------------- */
.hero-headline-cro {
  font-size: clamp(1.9rem, 4.4vw, 3.2rem);
  line-height: 1.12;
}
.hero-headline-cro em {
  font-style: italic;
  font-family: "Redaction", serif;
  font-weight: 500;
  color: var(--orange);
  padding: 0 0.05em;
  position: relative;
}
.hero-headline-cro em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.06em;
  height: 0.12em;
  background: var(--orange);
  z-index: -1;
  opacity: 0.85;
}

.hero-tag-pills {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.hero-tag-pills li {
  font-family: "Inter", sans-serif;
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--halftone);
  border-radius: var(--pill);
  background: var(--bg);
}

.hero-lede strong { font-weight: 600; color: var(--orange); }

.hero-comment {
  margin: 1.3rem 0 0.6rem;
  font-family: "Redaction", serif;
  font-size: var(--fs-md);
  color: var(--ink);
}
.hero-comment strong { font-weight: 600; }

/* ---------------- Marquee (slim mono band) --------------- */
.marquee {
  background: var(--indigo);
  color: var(--bg);
  border: 0;
  overflow: hidden;
  position: relative;
}
.marquee-track {
  display: flex;
  gap: 3rem;
  padding: 0.7rem 0;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  width: max-content;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: var(--fs-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.marquee-track > span { display: inline-flex; align-items: center; gap: 1.5rem; }
.marquee-track > span::after { content: "•"; color: var(--orange); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------------- Logo cloud --------------- */
.logo-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.4rem 2.2rem;
  padding: 2rem 0 4rem;
  align-items: center;
}
.logo-cloud > * { flex: 0 0 calc((100% - 5 * 2.2rem) / 6); }
.logo-cloud img {
  max-height: 36px;
  width: 100%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.6;
  transition: opacity 140ms ease, filter 140ms ease;
}
.logo-cloud img:hover { filter: none; opacity: 1; }

/* ---------------- Section heads --------------- */
.section-head {
  margin-bottom: 3.6rem;
  max-width: 820px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
  font-family: "Redaction", serif;
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.section-head h2 em {
  font-style: italic;
  color: inherit;
  font-weight: 400;
}
.section-head p {
  margin: 1.2rem 0 0;
  color: var(--ink);
  opacity: 0.78;
  font-size: var(--fs-base);
  line-height: 1.6;
  max-width: 600px;
}
.section-head.center p { margin-left: auto; margin-right: auto; }
.section-head .lab-stamp {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Inter", sans-serif;
  font-size: var(--fs-2xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 1.4rem;
}
.section-head .lab-stamp::before {
  content: "//";
  color: var(--orange);
}

/* ---------------- Approach (numbered, lab-style) --------------- */
.approach-grid {
  display: grid;
  grid-template-columns: var(--cols, repeat(3, 1fr));
  gap: 0;
  border-top: 1px solid var(--halftone);
  border-bottom: 1px solid var(--halftone);
}
.approach-item {
  background: transparent;
  border: 0;
  border-right: 1px solid var(--halftone);
  border-radius: 0;
  padding: 2.5rem 1.8rem;
  position: relative;
  transition: background 200ms ease;
}
.approach-item:last-child { border-right: 0; }
.approach-item:hover { background: var(--paper); transform: none; }
.approach-num {
  display: block;
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  line-height: 1.35;
  /* deux lignes reservees : les libelles longs ne decalent plus les icones */
  min-height: 2.7em;
  margin-bottom: 1.1rem;
}
.approach-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 1.2rem;
  border-radius: var(--radius-lg);
  background: #fff;
  object-fit: cover;
  border: 1px solid rgba(15, 23, 32, 0.07);
}
.approach-item h3 {
  font-family: "Redaction", serif;
  font-weight: 400;
  font-size: var(--fs-xl);
  margin: 0 0 0.7rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.approach-item p {
  margin: 0;
  color: var(--ink);
  opacity: 0.75;
  line-height: 1.55;
  font-size: var(--fs-sm);
}

#full-funnel .approach-item {
  display: flex;
  flex-direction: column;
}
.approach-brands {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 1.1rem 0 0;
}
#full-funnel .approach-brands { margin-top: auto; padding-top: 1.1rem; }
.approach-brands img {
  width: 20px;
  height: 20px;
  display: block;
  opacity: 0.92;
  transition: opacity 160ms ease;
}
.approach-item:hover .approach-brands img { opacity: 1; }

/* Segment checklists inside approach cards (home: pertinence) */
.approach-item .segment-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.approach-item .segment-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: var(--fs-sm);
  line-height: 1.45;
  color: var(--ink);
  opacity: 0.85;
}
.approach-item .segment-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 0.62rem;
  height: 0.34rem;
  border-left: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: rotate(-45deg);
}

/* Small centered note closing a section */
.section-foot-note {
  margin: 2rem 0 0;
  text-align: center;
  font-family: "Inter", sans-serif;
  font-size: var(--fs-sm);
  color: var(--ink);
  opacity: 0.7;
}

/* ---------------- Service stack: flat editorial cards --------------- */
.service-stack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--halftone);
}
.service-card {
  background: var(--bg);
  color: var(--ink);
  border-radius: 0;
  border: 0;
  border-right: 1px solid var(--halftone);
  border-bottom: 1px solid var(--halftone);
  padding: 2.4rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  transition: background 200ms ease;
}
.service-card:last-child { border-right: 0; }
.service-card:hover { transform: none; background: var(--paper); }
.service-card.blue,
.service-card.violet,
.service-card.pink { background: var(--bg); color: var(--ink); }
.service-card.pink:hover,
.service-card.blue:hover,
.service-card.violet:hover { background: var(--paper); }
.service-card-num {
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  opacity: 1;
  line-height: 1;
}
.service-card-icon {
  mix-blend-mode:darken;
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 0.4rem;
}
.service-card h3 {
  color: inherit;
  font-family: "Redaction", serif;
  font-weight: 400;
  font-size: var(--fs-xl);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.service-card p {
  color: var(--ink);
  opacity: 0.78;
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.55;
}
.service-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.service-card ul li {
  padding: 0.25rem 0.7rem;
  border: 1px solid var(--halftone);
  border-radius: var(--pill);
  font-family: "Inter", sans-serif;
  font-size: var(--fs-2xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
  background: var(--bg);
}
.service-card-cta {
  margin-top: auto;
  padding-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ink);
  font-family: "Inter", sans-serif;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  align-self: flex-start;
}
.service-card:hover .service-card-cta { color: var(--orange); border-color: var(--orange); }
.service-card-ctas {
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}
.service-card-ctas .service-card-cta {
  margin-top: 0;
  padding-top: 0;
}
.service-card-ctas .service-card-cta:hover { color: var(--orange); border-color: var(--orange); }
.service-card-brands {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: -0.1rem 0 0;
}
.service-card-brands img {
  width: 20px;
  height: 20px;
  display: block;
  opacity: 0.92;
  transition: opacity 160ms ease, transform 160ms ease;
}
.service-card:hover .service-card-brands img { opacity: 1; }
.service-card--wide {
  grid-column: 1 / -1;
  border-right: 0;
  border-top: 1px solid var(--halftone);
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 1.4fr;
  gap: 2.4rem;
  padding: 2.6rem 2rem 2.2rem;
  align-items: start;
}
.service-card--wide .service-card-wide-head {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.service-card--wide .service-card-wide-head h3 { max-width: 22ch; }
.service-card--wide .service-card-wide-body {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.service-card-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 2rem;
}
.service-card-features li {
  position: relative;
  padding-left: 1.1rem;
  font-family: "Inter", sans-serif;
  font-size: var(--fs-sm);
  line-height: 1.45;
  color: var(--ink);
  opacity: 0.85;
  border: 0;
  background: transparent;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  border-radius: 0;
}
/* Higher specificity than `.service-card ul li` so the dot gets real room */
.service-card--wide .service-card-features li {
  padding-left: 1.65rem;
}
.service-card-features li::before {
  content: "";
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}
.service-stack-foot {
  margin: 2.4rem 0 0;
  text-align: center;
  font-family: "Redaction", serif;
  font-size: var(--fs-md);
  letter-spacing: -0.01em;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}
.service-stack-foot em {
  font-style: italic;
  color: var(--orange);
}
.service-stack-foot-emoji { font-style: normal; }

@media (max-width: 900px) {
  .service-card--wide {
    grid-template-columns: 1fr;
    gap: 1.4rem;
    padding: 2rem 1.6rem;
  }
  .service-card-features { grid-template-columns: 1fr; gap: 0.5rem; }
}

/* ---------------- Agency detail (deep service promo) --------------- */
.agency-intro {
  margin-top: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  max-width: 720px;
}
.agency-intro p {
  margin: 0;
  color: var(--ink);
  opacity: 0.85;
  font-size: var(--fs-base);
  line-height: 1.6;
}
.agency-intro p strong { font-weight: 600; opacity: 1; }
.agency-intro p em { font-style: italic; color: inherit; font-weight: 500; }
.agency-intro-quote {
  font-family: "Redaction", serif;
  font-style: italic;
  font-size: var(--fs-md) !important;
  line-height: 1.45 !important;
  color: var(--ink) !important;
  opacity: 1 !important;
  padding: 1.2rem 1.6rem;
  border: 1px solid var(--halftone);
  background: var(--paper);
}

.agency-intro-duo {
  margin-top: clamp(2.4rem, 5vw, 3.6rem);
  display: flex;
  flex-direction: column;
  gap: clamp(1.8rem, 4vw, 2.8rem);
}
.agency-intro-duo-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.6rem, 4vw, 3.6rem);
  align-items: start;
}
.agency-intro-duo .agency-intro { margin-top: 0; }
.agency-intro-duo-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2.5vw, 1.8rem);
}
.agency-intro-duo-photos figure { margin: 0; }
.agency-intro-duo-photos img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  border: 1px solid var(--halftone);
  border-radius: var(--radius-lg);
}
@media (max-width: 900px) {
  .agency-intro-duo-copy { grid-template-columns: 1fr; }
  .agency-intro-duo-photos { grid-template-columns: 1fr; }
}

.agency-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: clamp(2.4rem, 5vw, 3.6rem);
  border-top: 1px solid var(--halftone);
}
.agency-detail-card {
  background: var(--bg);
  color: var(--ink);
  border: 0;
  border-right: 1px solid var(--halftone);
  border-bottom: 1px solid var(--halftone);
  padding: 2.8rem 2.3rem 2.6rem;
  scroll-margin-top: 110px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: relative;
  text-decoration: none;
  transition: background 200ms ease;
}
.agency-detail-grid .agency-detail-card:last-child { border-right: 0; }
.agency-detail-num {
  font-family: "Inter", sans-serif;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  line-height: 1;
}
.agency-detail-card h3 {
  color: inherit;
  font-family: "Redaction", serif;
  font-weight: 400;
  font-size: var(--fs-xl);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0.2rem 0 0;
}
.agency-detail-sub {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.channel-logos {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
}
.channel-logo {
  width: 2.15rem;
  height: 2.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--halftone);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: border-color 180ms ease, transform 180ms ease;
}
.channel-logo:hover { border-color: var(--steel); transform: translateY(-1px); }
.channel-logo img {
  width: 1.2rem;
  height: 1.2rem;
  display: block;
  object-fit: contain;
}
.agency-detail-highlight {
  margin: 0.2rem 0 0;
  font-family: "Redaction", serif;
  font-weight: 400;
  font-size: var(--fs-md);
  line-height: 1.35;
  color: var(--ink);
}
.agency-detail-highlight strong { font-weight: 500; }
.agency-detail-lede {
  margin: 0;
  color: var(--ink);
  opacity: 0.78;
  font-size: var(--fs-sm);
  line-height: 1.55;
}
.agency-detail-features {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.78rem;
}
.agency-detail-features li {
  position: relative;
  padding-left: 1.5rem;
  font-size: var(--fs-sm);
  line-height: 1.55;
  color: var(--ink);
  opacity: 0.85;
}
.agency-detail-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 1px;
  background: var(--orange);
}
.agency-detail-cta {
  margin-top: auto;
  padding-top: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: var(--fs-sm);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  align-self: flex-start;
  transition: color 160ms ease, border-color 160ms ease;
}
.agency-detail-cta:hover { color: var(--orange); border-color: var(--orange); }
.agency-detail-cta .arrow { transition: transform 160ms ease; }
.agency-detail-cta:hover .arrow { transform: translateX(3px); }

/* Split layout: text + single feature card */
.agency-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.4rem;
  align-items: start;
  border-top: 1px solid var(--halftone);
  padding-top: 2.4rem;
}
.agency-split-text { display: flex; flex-direction: column; gap: 0.85rem; }
.agency-split-text h2 {
  font-family: "Redaction", serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0.2rem 0 0.6rem;
}
.agency-split-text h2 em { font-style: italic; color: inherit; font-weight: 400; }
.agency-split-text p {
  margin: 0;
  color: var(--ink);
  opacity: 0.85;
  font-size: var(--fs-base);
  line-height: 1.6;
}
.agency-split-text p strong { font-weight: 600; opacity: 1; }
.agency-split-text p em { font-style: italic; color: inherit; font-weight: 500; }
.agency-split-lead {
  font-family: "Redaction", serif !important;
  font-size: var(--fs-md) !important;
  line-height: 1.4 !important;
  font-style: italic !important;
  color: var(--ink) !important;
  opacity: 1 !important;
  margin-top: 0.6rem !important;
}
.agency-split-bullets {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.agency-split-bullets li {
  position: relative;
  padding-left: 1.4rem;
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--ink);
  opacity: 0.9;
}
.agency-split-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 0.55rem;
  height: 1px;
  background: var(--orange);
}
.agency-split-bullets li em { font-style: italic; color: inherit; font-weight: 500; }
.agency-detail-card--feature {
  border: 1px solid var(--halftone);
  background: var(--paper);
  padding: 2.2rem 2rem;
  border-radius: var(--radius-lg);
}

@media (max-width: 900px) {
  .agency-detail-grid { grid-template-columns: 1fr; }
  .agency-detail-card { border-right: 0; }
  .agency-split { grid-template-columns: 1fr; gap: 1.8rem; }
}

/* ---------------- Stats / proof --------------- */
.proof-strip {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 1rem;
  align-items: end;
}
.proof-strip h3 {
  margin: 0;
  font-size: var(--fs-base);
  color: var(--muted);
  font-weight: 600;
}
.proof-strip h3 strong {
  display: block;
  margin-top: 0.4rem;
  color: var(--ink);
  font-family: "Redaction", serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}
.proof-stat {
  border-left: 1px solid var(--line);
  padding-left: 1rem;
}
.proof-stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}
.proof-stat span {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: 1.4;
}

/* ---------------- Results board --------------- */
.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--halftone);
  border-bottom: 1px solid var(--halftone);
}
.result-card {
  background: transparent;
  border: 0;
  border-right: 1px solid var(--halftone);
  border-radius: 0;
  padding: 2rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: start;
}
.result-card:last-child { border-right: 0; }
.result-card .brand-tag {
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  background: none;
  padding: 0;
  border-radius: 0;
  height: auto;
}
.result-card strong {
  display: block;
  font-family: "Redaction", serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--orange);
  margin-bottom: 0.3rem;
}
.result-card p {
  margin: 0;
  color: var(--ink);
  opacity: 0.78;
  font-size: var(--fs-sm);
  line-height: 1.5;
}

/* ---------------- Testimonials --------------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.2rem;
}
.testimonial {
  grid-column: span 2;
  background: var(--paper);
  border: 1px solid var(--halftone);
  border-radius: var(--radius-lg);
  padding: 2rem 1.6rem 1.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}
.testimonial.is-featured {
  grid-column: span 3;
  padding: 2.4rem 2rem 2rem;
}
.testimonial-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.2rem;
}
.testimonial.is-featured .testimonial-avatar {
  width: 96px;
  height: 96px;
}
.testimonial-headline {
  margin: 0.4rem 0 0;
  font-family: "Redaction", serif;
  font-size: var(--fs-md);
  line-height: 1.25;
  font-weight: 500;
  font-style: italic;
  color: var(--ink);
}
.testimonial.is-featured .testimonial-headline {
  font-size: var(--fs-lg);
}
.testimonial cite {
  font-style: normal;
  font-size: var(--fs-xs);
  color: var(--muted);
  font-family: "Inter", sans-serif;
  letter-spacing: 0.04em;
}
.testimonial cite strong {
  color: var(--ink);
  display: block;
  font-family: "Redaction", serif;
  font-style: italic;
  font-weight: 400;
  font-size: var(--fs-base);
  letter-spacing: 0;
  margin-bottom: 0.2rem;
}
.testimonial-logo {
  max-height: 28px;
  width: auto;
  margin: 0.2rem 0 0.4rem;
  filter: grayscale(1);
  opacity: 0.7;
}
.testimonial blockquote {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--halftone);
  width: 100%;
  font-family: inherit;
  font-size: var(--fs-sm);
  line-height: 1.55;
  font-weight: 400;
  font-style: normal;
  color: var(--ink);
  text-align: left;
  opacity: 0.88;
}
.testimonial blockquote::before { content: "« "; color: var(--orange); }
.testimonial blockquote::after { content: " »"; color: var(--orange); }

/* ---------------- Card grid (articles / cases) --------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--halftone);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: border-color 160ms ease, transform 160ms ease;
}
.card:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
}
.card-cover {
  /* vignettes de guides en 1200x630 : ratio OG pour ne pas rogner le texte */
  aspect-ratio: 1200 / 630;
  background: var(--paper);
  border-bottom: 1px solid var(--halftone);
  overflow: hidden;
}
.card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(0.6) contrast(1.05);
  transition: filter 200ms ease;
}
.card:hover .card-cover img { filter: grayscale(0) contrast(1.05); }
.card-cover.is-contain { background: var(--bg); }
.card-cover.is-contain img {
  object-fit: contain;
  padding: 1.6rem 2rem;
  filter: grayscale(0.35) contrast(1.02);
}
.card:hover .card-cover.is-contain img { filter: grayscale(0) contrast(1.02); }
.card-body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.card-tag {
  font-family: "Inter", sans-serif;
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
}
.card-title {
  font-family: "Redaction", serif;
  font-size: var(--fs-md);
  line-height: 1.25;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
}
.card p {
  margin: 0;
  color: var(--ink);
  opacity: 0.72;
  font-size: var(--fs-sm);
  line-height: 1.5;
}
.card-cta {
  margin-top: auto;
  padding-top: 0.8rem;
  font-family: "Inter", sans-serif;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.card-cta::after { content: "↗"; transition: transform 140ms ease; }
.card:hover .card-cta { color: var(--orange); }
.card:hover .card-cta::after { transform: translate(3px, -3px); }

/* ---------------- Generic landing (HTML pages) ----------- */
.lp { display: flex; flex-direction: column; }

.lp-hero {
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 5vw, 4rem);
}
.lp-hero-grid {
  display: grid;
  grid-template-columns: var(--lp-hero-cols, 1.1fr 0.9fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}
.lp-hero h1 {
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.lp-hero p.lede {
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: var(--fs-md);
  line-height: 1.6;
  max-width: 540px;
}
.lp-hero-img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.lp-hero-img img { width: 100%; height: 100%; object-fit: cover; }

.lp-badges {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin: 1.5rem 0 0;
}
.lp-badges span {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--pill);
  font-size: var(--fs-xs);
  font-weight: 600;
}
.lp-badges span::before { content: "✓"; color: var(--orange); font-weight: 800; }

.lp-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 1.6rem 2rem;
}
.lp-metric strong {
  display: block;
  font-family: "Redaction", serif;
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--ink);
  line-height: 1;
}
.lp-metric span { display: block; margin-top: 0.4rem; color: var(--muted); font-size: var(--fs-sm); }

/* feature blocks */
.lp-features {
  display: grid;
  grid-template-columns: var(--cols, repeat(3, 1fr));
  gap: 1rem;
}
.lp-feature {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
}
.lp-feature .ico {
  width: 36px; height: 36px;
  background: var(--halftone);
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  margin-bottom: 0.8rem;
  font-size: var(--fs-md);
}
.lp-feature h3 { font-size: var(--fs-md); margin: 0 0 0.5rem; }
.lp-feature p { margin: 0; color: var(--muted); font-size: var(--fs-sm); line-height: 1.55; }

/* pricing tiers */
.pricing-grid {
  display: grid;
  grid-template-columns: var(--cols, repeat(3, 1fr));
  gap: 1rem;
}
.pricing-grid--duo {
  max-width: 780px;
  margin-inline: auto;
  align-items: stretch;
}
.pricing-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.pricing-card.featured {
  background: var(--indigo);
  color: var(--paper);
  border-color: var(--indigo);
  position: relative;
  transform: translateY(-8px);
}
.pricing-card.featured::before {
  content: "Recommandé";
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--ink);
  padding: 0.25rem 0.7rem;
  border-radius: var(--pill);
  font-size: var(--fs-2xs);
  font-weight: 800;
}
.pricing-card h3 {
  font-size: var(--fs-md);
  font-family: "Redaction", serif;
  font-style: italic;
  color: var(--orange);
  margin: 0;
}
.pricing-card.featured h3 { color: var(--orange); }
.pricing-price {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}
.pricing-price span {
  display: block;
  margin-top: 0.3rem;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--muted);
}
.pricing-card.featured .pricing-price span { color: rgba(255, 250, 244, 0.65); }
.pricing-desc { color: var(--muted); font-size: var(--fs-sm); margin: 0; }
.pricing-card.featured .pricing-desc { color: rgba(255, 250, 244, 0.78); }
.pricing-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.55rem; font-size: var(--fs-sm); }
.pricing-list li { display: flex; align-items: start; gap: 0.5rem; line-height: 1.45; }
.pricing-list li::before { content: "✓"; color: var(--orange); font-weight: 800; }
.pricing-card.featured .pricing-list li::before { color: var(--orange); }
.pricing-list li.muted { opacity: 0.45; text-decoration: line-through; }
.pricing-list li.muted::before { content: "\00d7"; color: currentColor; }

/* process steps */
.process-list {
  display: grid;
  grid-template-columns: var(--cols, repeat(4, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}
.lp-rgrid {
  grid-template-columns: var(--cols, repeat(2, 1fr));
}
.lp-card-row {
  display: grid;
  grid-template-columns: var(--cols, auto 1fr auto);
  align-items: center;
}
.process-list li {
  counter-increment: step;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  position: relative;
}
.process-list li::before {
  content: counter(step, decimal-leading-zero);
  display: inline-block;
  margin-bottom: 0.6rem;
  font-family: "Redaction", serif;
  font-style: italic;
  font-size: var(--fs-xl);
  color: var(--orange);
  font-weight: 700;
}
.process-list li strong { display: block; font-size: var(--fs-base); margin-bottom: 0.4rem; }
.process-list li p { margin: 0; color: var(--muted); font-size: var(--fs-sm); line-height: 1.5; }

/* CTA bands */
.cta-band {
  background: var(--indigo);
  color: var(--bg);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4.5rem);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 {
  color: inherit;
  font-family: "Redaction", serif;
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.cta-band h2 em { font-style: italic; color: inherit; }
.cta-band p { color: rgba(252, 249, 246, 0.72); margin: 1.2rem 0 0; max-width: 460px; }
.cta-band .actions { display: flex; gap: 0.8rem; align-items: flex-start; flex-wrap: wrap; }
.cta-band .actions .btn-ghost {
  color: var(--bg);
  border-color: rgba(252, 249, 246, 0.4);
}
.cta-band .actions .btn-ghost:hover { background: var(--bg); color: var(--ink); border-color: var(--bg); }

/* Big editorial CTA: black panel with orange accents */
.cta-acid {
  background: var(--indigo);
  color: var(--bg);
  border-radius: var(--radius-lg);
  padding: clamp(3rem, 6vw, 5rem);
  display: grid;
  /* texte | boutons | vignette : les trois cohabitent en flux, sans recouvrement */
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
  border: 0;
  position: relative;
  overflow: hidden;
}
.cta-acid::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(252, 249, 246, 0.07) 1px, transparent 1.5px);
  background-size: 24px 24px;
  pointer-events: none;
}
.cta-acid > * { position: relative; z-index: 1; }
.cta-acid .eyebrow, .cta-acid .kicker,
.cta-band .eyebrow, .cta-band .kicker { color: var(--orange); }
.cta-acid h2 {
  color: var(--bg);
  font-family: "Redaction", serif;
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  letter-spacing: -0.025em;
  line-height: 1.02;
}
.cta-acid h2 em { font-style: italic; color: inherit; font-weight: 400; }
.cta-acid p { color: rgba(252, 249, 246, 0.7); }
.cta-acid .actions { display: flex; gap: 0.8rem; flex-wrap: wrap; align-items: center; }
.cta-acid .actions .btn-ghost {
  color: var(--bg);
  border-color: rgba(252, 249, 246, 0.35);
}
.cta-acid .actions .btn-ghost:hover { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.cta-acid .actions .btn-primary {
  background: var(--orange);
  color: var(--ink);
  border-color: var(--orange);
}
.cta-acid .actions .btn-primary:hover { background: var(--orange-hover); }
.cta-acid .cta-flag {
  /* vignette en flux (3e colonne) : en absolu elle passait derriere le CTA fantome */
  width: clamp(120px, 13vw, 170px);
  height: auto;
  border-radius: var(--radius);
  align-self: center;
}
.cta-acid .actions { flex-direction: column; align-items: stretch; }
@media (max-width: 980px) {
  .cta-acid { grid-template-columns: 1fr; }
  .cta-acid .actions { flex-direction: row; }
  .cta-acid .cta-flag { width: 130px; justify-self: start; }
  .cta-acid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .cta-acid { padding: 2.4rem 1.4rem; }
  .cta-acid .actions { flex-direction: column; align-items: stretch; }
  .cta-acid .actions .btn { white-space: normal; text-align: center; justify-content: center; }
}

/* ---------------- Archive page --------------- */
.archive-hero {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
  text-align: center;
}
/* Le hero d'archive assure deja la respiration : pas de double marge avant la grille */
.archive-hero + .section-pad { padding-top: clamp(1rem, 2vw, 1.8rem); }
.archive-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  letter-spacing: -0.02em;
  max-width: 880px;
  margin: 0 auto;
}
.archive-hero h1 em { font-family: "Redaction", serif; font-weight: 600; }
.archive-hero p {
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: var(--fs-base);
  max-width: 660px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}
.filter-bar a {
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  background: var(--paper);
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}
.filter-bar a:hover { border-color: var(--ink); }
.filter-bar a.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.archive-search {
  margin: 1.4rem auto 0;
  max-width: 520px;
}
.archive-search-field {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: var(--paper);
  transition: border-color 140ms ease;
}
.archive-search-field:focus-within {
  border-color: var(--ink);
}
.archive-search-icon { color: var(--muted); flex-shrink: 0; }
.archive-search input[type="search"] {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: var(--fs-sm);
  color: var(--ink);
  outline: none;
  padding: 0.15rem 0;
}
.archive-search input[type="search"]::-webkit-search-cancel-button { display: none; }
.archive-search input[type="search"]::placeholder { color: var(--muted); }
.archive-search-clear {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: var(--fs-md);
  line-height: 1;
  cursor: pointer;
  padding: 0 0.2rem;
  border-radius: var(--pill);
}
.archive-search-clear:hover { color: var(--ink); }
.archive-search-clear[hidden] { display: none; }
.archive-search-empty {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: var(--fs-sm);
  text-align: center;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: var(--fs-xs);
  color: var(--muted);
  margin-bottom: 1rem;
}
.breadcrumbs a { color: var(--ink); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span { color: var(--muted); }

/* ---------------- Article page --------------- */
.article-hero {
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
}
.article-hero h1 {
  margin: 0 auto;
  max-width: 880px;
  font-size: clamp(2rem, 5vw, 3.6rem);
  letter-spacing: -0.02em;
}
.article-hero p {
  margin: 1rem auto 0;
  max-width: 640px;
  color: var(--muted);
  font-size: var(--fs-base);
  line-height: 1.55;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
  font-size: var(--fs-sm);
  color: var(--muted);
}
.article-meta strong { color: var(--ink); font-weight: 700; }

.article-cover {
  width: min(1080px, calc(100% - 2.5rem));
  margin: 1.5rem auto 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--paper);
}
.article-cover img { width: 100%; height: auto; max-height: 480px; object-fit: cover; }

.article-layout {
  width: min(1180px, calc(100% - 2.5rem));
  margin: clamp(1.5rem, 4vw, 3rem) auto 0;
  display: grid;
  grid-template-columns: 240px minmax(0, 700px);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
  padding-bottom: 4rem;
}
.article-toc {
  position: sticky;
  top: 100px;
  font-size: var(--fs-sm);
  display: grid;
  gap: 1.25rem;
}
.article-toc-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  font-size: var(--fs-xs);
  letter-spacing: 0.01em;
  transition: color 140ms ease;
}
.article-toc-back:hover { color: var(--orange); }
.article-toc-inner {
  position: relative;
  padding-left: 1rem;
  border-left: 1px solid var(--line);
}
.article-toc-label {
  display: block;
  font-family: "Inter", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: var(--fs-2xs);
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.9rem;
}
.article-toc nav {
  display: grid;
  gap: 0.15rem;
  max-height: 65vh;
  overflow-y: auto;
  padding-right: 0.2rem;
  scrollbar-width: thin;
}
.article-toc-link {
  position: relative;
  display: block;
  color: var(--muted);
  text-decoration: none;
  line-height: 1.4;
  font-size: var(--fs-sm);
  padding: 0.5rem 0;
  transition: color 160ms ease, transform 160ms ease;
}
.article-toc-link::before {
  content: "";
  position: absolute;
  left: -1rem;
  top: 0.9rem;
  width: 14px;
  height: 1px;
  transform: scaleX(0.43);
  transform-origin: left center;
  background: var(--line);
  transition: transform 180ms ease, background 180ms ease;
}
.article-toc-link:hover,
.article-toc-link:focus-visible { color: var(--ink); }
.article-toc-link:hover::before,
.article-toc-link:focus-visible::before { background: var(--orange); transform: scaleX(1); }
.article-toc-link.depth-3 {
  padding-left: 0.9rem;
  font-size: var(--fs-xs);
  color: var(--soft);
}
.article-toc-link.depth-3::before { left: -0.1rem; width: 4px; }
.article-toc-link.is-active {
  color: var(--ink);
  font-weight: 700;
}
.article-toc-link.is-active::before {
  background: var(--orange);
  width: 14px;
  height: 2px;
  top: 0.9rem;
}
.article-toc-link.depth-3.is-active::before { width: 10px; }

/* CTA at end of article */
.article-cta {
  margin-top: 2.5rem;
  padding: 1.5rem 1.75rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.25rem;
  align-items: center;
}
.article-cta strong {
  display: block;
  font-family: "Redaction", serif;
  font-weight: 500;
  font-style: italic;
  color: var(--ink);
  font-size: var(--fs-md);
  letter-spacing: -0.01em;
  margin-bottom: 0.2rem;
}
.article-cta span { color: var(--muted); font-size: var(--fs-sm); }
@media (max-width: 640px) {
  .article-cta { grid-template-columns: 1fr; text-align: left; }
}

.breadcrumbs-center { justify-content: center; }
.article-hero-kicker { margin: 1rem auto 0.6rem; }

/* ---------------- Section hubs (HubTemplate) --------------- */
.hub-intro { max-width: 760px; margin: 0 auto; }
.hub-intro-wrap { padding-top: 0; }

/* ---------------- Prose --------------- */
.prose {
  min-width: 0;
  font-size: var(--fs-base);
  line-height: 1.75;
  color: var(--ink);
}
.prose > *:first-child { margin-top: 0; }
.prose h2 {
  margin: 3rem 0 1rem;
  color: var(--ink);
  font-size: clamp(1.5rem, 3vw, 2rem);
  scroll-margin-top: 160px;
}
.prose h3 {
  margin: 2.2rem 0 0.8rem;
  color: var(--ink);
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  scroll-margin-top: 160px;
}
.prose h4 { margin: 1.6rem 0 0.5rem; font-size: var(--fs-md); }
.prose p { margin: 0 0 1.2rem; }
.prose a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(251, 111, 41, 0.4);
}
.prose a:hover { color: var(--orange); text-decoration-color: var(--orange); }
.prose strong { font-weight: 700; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.4rem; margin: 0 0 1.4rem; }
.prose ul li, .prose ol li { margin-bottom: 0.4rem; }
.prose img {
  margin: 1.8rem auto;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
}
.prose blockquote {
  margin: 2rem 0;
  padding: 1.2rem 1.6rem;
  border: 1px solid var(--halftone);
  background: var(--paper);
  font-family: "Redaction", serif;
  font-style: italic;
  color: var(--ink);
  font-size: var(--fs-md);
}
.prose table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: var(--fs-sm);
}
.prose th, .prose td { border: 1px solid var(--line); padding: 0.6rem 0.8rem; text-align: left; }
.prose th { background: var(--paper); font-weight: 700; }
.prose pre {
  overflow-x: auto;
  max-width: 100%;
}
.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  background: rgba(22, 17, 31, 0.06);
  padding: 0.1rem 0.35rem;
  border-radius: var(--radius);
  overflow-wrap: anywhere;
}
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

.prose .youtube-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 1.8rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--ink);
}
.prose .youtube-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* legacy imported content cleanup */
.prose .legacy-image-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  align-items: center;
}

/* ---------------- Case study --------------- */
.case-page .article-hero { text-align: left; }
.case-page .article-hero h1 { margin: 0; max-width: none; }

.case-hero-grid {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}
.case-hero-img {
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--line);
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 360px;
  margin-inline: auto;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: clamp(1.25rem, 3vw, 2rem);
}
.case-hero-img img { width: 100%; height: 100%; object-fit: contain; }
.case-result-band {
  background: var(--indigo);
  color: var(--paper);
  padding: 2rem;
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.case-result-band .item strong {
  font-family: "Redaction", serif;
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  color: var(--orange);
  display: block;
  line-height: 1;
}
.case-result-band .item span {
  display: block;
  margin-top: 0.5rem;
  color: rgba(255, 250, 244, 0.78);
  font-size: var(--fs-sm);
}

/* Metric blocks rebuilt from migrated WP/Brizy counters */
.prose .cs-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2.5rem;
  margin: 2.25rem 0;
  padding: 1.6rem 1.8rem;
  background: var(--indigo);
  color: var(--paper);
  border-radius: var(--radius-lg);
}
.prose .cs-stat {
  flex: 1 1 130px;
  min-width: 120px;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.prose .cs-stat-num {
  font-family: "Redaction", serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  color: var(--orange);
}
.prose .cs-stat-label {
  font-size: var(--fs-sm);
  line-height: 1.35;
  color: rgba(255, 250, 244, 0.78);
}

/* ---------------- Footer --------------- */
.site-footer {
  background: var(--indigo);
  color: var(--paper);
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
  /* les sections apportent deja leur padding-bas : pas de vide supplementaire */
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 3rem;
}
.footer-grid .brand-block p { color: rgba(255, 250, 244, 0.8); max-width: 360px; margin: 0.8rem 0 1.4rem; line-height: 1.55; }
.footer-grid .brand-block img { width: 132px; }
.footer-col details > summary {
  list-style: none;
  cursor: default;
  margin-bottom: 0.4rem;
}
.footer-col details > summary::-webkit-details-marker { display: none; }
.footer-col strong,
.footer-subhead {
  display: block;
  font-family: "Redaction", serif;
  font-style: italic;
  font-size: var(--fs-sm);
  color: var(--orange);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
}
.footer-subhead { margin: 1.2rem 0 0.2rem; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a {
  color: rgba(255, 250, 244, 0.82);
  font-size: var(--fs-sm);
  text-decoration: none;
  font-weight: 500;
  padding: 0.4rem 0;
  display: block;
}
.footer-links a:hover { color: var(--paper); }
.footer-ext { margin-left: 0.3em; font-size: 0.85em; color: var(--orange); }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 250, 244, 0.14);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  font-size: var(--fs-xs);
  /* 0.78 sur indigo : ~9:1, AA largement tenu (0.5 tombait a 4,4:1) */
  color: rgba(255, 250, 244, 0.78);
}
.footer-bottom a { color: inherit; text-decoration: none; }
.footer-bottom a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.footer-backed {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.footer-backed img {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  flex-shrink: 0;
}
.footer-backed span:not(.sr-only) { color: var(--paper); font-weight: 600; }
.footer-social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.1rem;
}
@media (max-width: 767px) {
  .footer-col { border-top: 1px solid rgba(255, 250, 244, 0.14); }
  .footer-col details > summary {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.95rem 0;
    margin: 0;
  }
  .footer-col details > summary::after {
    content: "+";
    color: var(--orange);
    font-size: 1.3rem;
    line-height: 1;
  }
  .footer-col details[open] > summary::after { content: "\2212"; }
  .footer-col details[open] { padding-bottom: 0.8rem; }
  .site-footer .footer-grid { grid-template-columns: 1fr; gap: 0; }
  .site-footer .footer-grid .brand-block { margin-bottom: 1.8rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------------- Newsletter inline ---------------- */
.newsletter-inline {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
  align-items: center;
}
.newsletter-inline h2 {
  font-family: "Redaction", serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--ink);
  margin: 0;
}
.newsletter-inline p { margin: 0.7rem 0 0; color: var(--muted); }
.newsletter-form { display: flex; gap: 0.5rem; }
.newsletter-form input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: 0.7rem 1rem;
  background: var(--paper);
  font-family: inherit;
  font-size: var(--fs-sm);
  color: var(--ink);
}
.newsletter-form input:focus { outline: 2px solid var(--ink); outline-offset: 2px; }

/* ---------------- Misc --------------- */
.tag {
  display: inline-flex;
  padding: 0.2rem 0.6rem;
  border-radius: var(--pill);
  background: var(--halftone);
  color: var(--ink);
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tag.pink { background: var(--paper); color: var(--orange); }
.tag.acid { background: rgba(251, 111, 41, 0.4); color: var(--ink); }

/* ---------------- Book guide (livre découpé en chapitres) --------------- */
.book-guide { display: flex; flex-direction: column; }

.book-hero {
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(1.5rem, 4vw, 3rem);
}
.book-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}
.book-hero-text .breadcrumbs { margin-bottom: 1.2rem; }
.book-hero-kicker {
  display: inline-block;
  font-family: "Redaction", serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  color: var(--orange);
  margin-bottom: 0.6rem;
}
.book-hero-text h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: -0.02em;
  line-height: 1.02;
}
.book-hero-tagline {
  margin: 1rem 0 0;
  color: var(--ink);
  font-size: var(--fs-md);
  font-weight: 600;
  line-height: 1.45;
  max-width: 540px;
}
.book-hero-lede {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: var(--fs-base);
  line-height: 1.6;
  max-width: 560px;
}
.book-hero-cover {
  display: flex;
  justify-content: center;
  align-items: center;
}
.book-hero-cover img {
  max-width: 100%;
  width: min(380px, 100%);
  height: auto;
  border: 1px solid var(--line);
}

.book-testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.book-testimonials blockquote {
  margin: 0;
  padding: 1.2rem 1.4rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: "Redaction", serif;
  font-style: italic;
  font-size: var(--fs-base);
  line-height: 1.45;
  color: var(--ink);
}
.book-testimonials blockquote::before { content: "“"; color: var(--orange); margin-right: 0.1em; }
.book-testimonials blockquote::after { content: "”"; color: var(--orange); margin-left: 0.05em; }

.book-intro {
  text-align: center;
  margin: clamp(1.5rem, 3vw, 2.5rem) auto;
  max-width: 880px;
}
.book-intro h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-family: "Redaction", serif;
  font-style: italic;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.book-sections {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(2rem, 5vw, 4rem);
}

.book-kicker {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.6rem;
}

/* ----- Stage layout: aside on left, ordered chapter list on right ----- */
.book-section-stage .book-stage-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.book-stage-aside {
  position: sticky;
  top: 1.5rem;
}
.book-stage-illu {
  width: min(180px, 60%);
  margin-bottom: 1.2rem;
}
.book-stage-illu img { width: 100%; height: auto; }
.book-stage-aside h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0;
}
.book-stage-aside p {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: var(--fs-base);
  line-height: 1.55;
}

.book-stage-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.stage-chapter {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: transform 140ms ease, border-color 140ms ease;
}
.stage-chapter:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
}
.stage-chapter h3 {
  margin: 0;
  font-size: var(--fs-base);
  font-weight: 700;
  line-height: 1.3;
}
.stage-chapter p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: 1.5;
}
.stage-chapter-cta {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--orange);
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.stage-chapter-time { color: var(--muted); font-weight: 600; margin-left: 0.15rem; }

/* ----- Chapters layout: grid of large chapter cards (used by Growth book) ----- */
.book-section-chapters .book-section-head {
  text-align: center;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.book-section-chapters .book-section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.01em;
}
.book-section-chapters .book-section-head p {
  margin: 0.7rem auto 0;
  color: var(--muted);
  max-width: 600px;
}
.chapter-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.chapter-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.6rem 1.5rem 1.4rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  min-height: 260px;
  transition: transform 160ms ease, border-color 160ms ease;
}
.chapter-card:hover {
  transform: translateY(-3px);
  border-color: var(--ink);
}
.chapter-label {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
}
.chapter-card h3 {
  font-size: var(--fs-md);
  line-height: 1.25;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
}
.chapter-card p {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: 1.5;
}
.chapter-cta {
  margin-top: auto;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--orange);
}
.chapter-card-soon {
  background: var(--paper);
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: default;
}
.chapter-card-soon:hover { transform: none; border-color: var(--line); }
.chapter-soon-text {
  font-family: "Redaction", serif;
  font-style: italic;
  font-size: var(--fs-xl);
  color: var(--muted);
}
.chapter-soon-cta {
  margin-top: auto;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--ink);
  text-transform: uppercase;
}

.book-why-prose { margin: 0 auto; max-width: var(--max-prose); }

/* ---------------- Home: client growth grid --------------- */
.growth-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--halftone);
}
.growth-card {
  padding: clamp(1.6rem, 2.4vw, 2.4rem);
  background: var(--bg);
  border-right: 1px solid var(--halftone);
  border-bottom: 1px solid var(--halftone);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  position: relative;
  transition: background 200ms ease;
}
.growth-card:hover { background: var(--paper); }
.growth-card:nth-child(2n) { border-right: 0; }
.growth-card:nth-last-child(-n+2) { border-bottom: 0; }
.growth-card-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--halftone);
  margin-bottom: 0.4rem;
}
.growth-logo {
  width: auto;
  height: 48px;
  max-width: 180px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.9;
}
.growth-card:hover .growth-logo { filter: none; opacity: 1; }
.growth-brand {
  font-family: "Inter", sans-serif;
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel);
  margin-left: auto;
}
.growth-headline {
  font-family: "Redaction", serif;
  font-weight: 400;
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}
.growth-headline em {
  color: var(--orange);
  font-style: italic;
  font-weight: 400;
}
.growth-sub {
  margin: -0.3rem 0 0;
  font-family: "Inter", sans-serif;
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.4;
}
.growth-channels {
  list-style: none;
  margin: 0.6rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--halftone);
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}
.growth-channels li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0.95rem;
  align-items: start;
  list-style: none;
}
.growth-channels li::before { display: none; }
.growth-channels img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  background: #fff;
  object-fit: cover;
  border: 1px solid rgba(15, 23, 32, 0.07);
}
.growth-channels img.is-brand {
  object-fit: contain;
  padding: 9px;
}
.growth-channels strong {
  display: block;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--ink);
  letter-spacing: -0.005em;
}
.growth-channels span {
  display: block;
  margin-top: 0.18rem;
  font-size: var(--fs-sm);
  color: var(--ink);
  opacity: 0.72;
  line-height: 1.45;
}

/* ---------------- Home: principles strip --------------- */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--halftone);
  border-bottom: 1px solid var(--halftone);
}
.principles-grid .principle {
  border-right: 1px solid var(--halftone);
  padding: 2.2rem 1.6rem;
  background: transparent;
}
.principles-grid .principle:last-child { border-right: 0; }
.principles-grid .principle .num {
  font-family: "Inter", sans-serif;
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
  display: block;
}
.principles-grid .principle h3 {
  font-family: "Redaction", serif;
  font-weight: 400;
  font-size: var(--fs-md);
  margin: 0 0 0.6rem;
  letter-spacing: -0.01em;
}
.principles-grid .principle p {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--ink);
  opacity: 0.75;
  line-height: 1.55;
}

/* Section frame label (top-corner like a magazine) */
.section-frame {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  margin: 0 0 1.5rem;
}
.section-frame::before, .section-frame::after {
  content: "";
  height: 1px;
  background: var(--halftone);
}
.section-frame .stamp {
  font-family: "Inter", sans-serif;
  font-size: var(--fs-2xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.section-frame .stamp em { color: var(--orange); font-style: normal; }

/* ---------------- Home: Diagnostic (pain points) --------------- */
.diagnostic-emoji {
  display: inline-block;
  font-size: 0.7em;
  vertical-align: middle;
  margin-left: 0.2em;
  filter: grayscale(0.1);
}
.diagnostic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--halftone);
  border-bottom: 1px solid var(--halftone);
}
.diagnostic-card {
  position: relative;
  padding: 2.2rem 1.8rem;
  border-right: 1px solid var(--halftone);
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  min-height: 13.5rem;
  transition: background 200ms ease;
}
.diagnostic-card:nth-child(3n) { border-right: 0; }
.diagnostic-card:nth-child(-n+3) { border-bottom: 1px solid var(--halftone); }
.diagnostic-card:hover { background: var(--paper); }
.diagnostic-icon {
  mix-blend-mode:darken;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--orange);
}
.diagnostic-icon svg { width: 100%; height: 100%; }
.diagnostic-icon img { width: 100%; height: 100%; object-fit: contain; }
.diagnostic-card p {
  margin: 0;
  font-family: "Redaction", serif;
  font-weight: 400;
  font-size: var(--fs-md);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.diagnostic-card p strong {
  font-weight: 600;
  color: var(--ink);
  background: linear-gradient(transparent 62%, rgba(251, 111, 41, 0.18) 62%);
  padding: 0 0.05em;
}

.diagnostic-reassure {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.6rem;
  align-items: start;
  padding: 2.2rem 2.4rem;
  background: var(--paper);
  border: 1px solid var(--halftone);
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}
.diagnostic-reassure-stamp {
  font-family: "Redaction", serif;
  font-style: italic;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--ink);
  width: 3.2rem;
  height: 3.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--halftone);
  border-radius: 50%;
  flex-shrink: 0;
}
.diagnostic-reassure-body p {
  margin: 0 0 0.9rem;
  color: var(--ink);
  line-height: 1.6;
  font-size: var(--fs-base);
}
.diagnostic-reassure-body p:last-child { margin-bottom: 0; }
.diagnostic-reassure-body em {
  font-style: italic;
  color: inherit;
}
.diagnostic-reassure-body strong { font-weight: 600; }
.diagnostic-paradox {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.diagnostic-paradox li {
  position: relative;
  padding-left: 1.7rem;
  font-size: var(--fs-base);
  line-height: 1.55;
  color: var(--ink);
}
.diagnostic-paradox li span {
  position: absolute;
  left: 0;
  font-size: var(--fs-sm);
}
.diagnostic-criteria {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0 0 0 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.diagnostic-criteria li {
  position: relative;
  padding-left: 1.2rem;
  font-size: var(--fs-base);
  line-height: 1.55;
  color: var(--ink);
  opacity: 0.85;
}
.diagnostic-criteria li::before {
  content: "·";
  position: absolute;
  left: 0;
  top: -0.05em;
  color: var(--orange);
  font-weight: 700;
  font-size: var(--fs-lg);
  line-height: 1;
}

/* ---------------- Section invert (dark band) --------------- */
/* Full-bleed dark background while keeping the .shell width constraint.
   Apply on `<section class="shell section-pad section-dark">`. */
.section-dark {
  background: var(--indigo);
  color: var(--bg);
  /* fond pleine largeur sans ombre portee : border-image deborde de 100vmax */
  border-image: linear-gradient(var(--indigo), var(--indigo)) fill 0 / 0 / 0 100vmax;
  clip-path: inset(0 -100vmax);
  position: relative;
}


.section-dark .eyebrow { color: var(--orange); }
.section-dark .section-head h2 { color: var(--bg); }
.section-dark .section-head h2 em { color: inherit; }
.section-dark .section-head p { color: rgba(252, 249, 246, 0.75); opacity: 1; }

.section-dark .approach-grid {
  border-top-color: rgba(252, 249, 246, 0.18);
  border-bottom-color: rgba(252, 249, 246, 0.18);
}
.section-dark .approach-item {
  border-right-color: rgba(252, 249, 246, 0.18);
}
.section-dark .approach-item:hover { background: rgba(252, 249, 246, 0.04); }
.section-dark .approach-num { color: var(--orange); }
.section-dark .approach-icon {
  border-color: rgba(252, 249, 246, 0.14);
}
.section-dark .approach-item h3 { color: var(--bg); }
.section-dark .approach-item p { color: rgba(252, 249, 246, 0.72); opacity: 1; }

.section-dark .growth-grid {
  border-color: rgba(252, 249, 246, 0.18);
}
.section-dark .growth-card {
  background: transparent;
  border-right-color: rgba(252, 249, 246, 0.18);
  border-bottom-color: rgba(252, 249, 246, 0.18);
}
.section-dark .growth-card:hover { background: rgba(252, 249, 246, 0.04); }
.section-dark .growth-card-head { border-bottom-color: rgba(252, 249, 246, 0.18); }
.section-dark .growth-logo { filter: grayscale(1) invert(1); opacity: 0.92; }
.section-dark .growth-card:hover .growth-logo { filter: grayscale(1) invert(1); opacity: 1; }
.section-dark .growth-brand { color: rgba(252, 249, 246, 0.5); }
.section-dark .growth-headline { color: var(--bg); }
.section-dark .growth-headline em { color: inherit; }
.section-dark .growth-sub { color: rgba(252, 249, 246, 0.55); }
.section-dark .growth-channels { border-top-color: rgba(252, 249, 246, 0.18); }
.section-dark .growth-channels img {
  background: #fff;
  border-color: rgba(252, 249, 246, 0.14);
}
.section-dark .growth-channels strong { color: var(--bg); }
.section-dark .growth-channels span { color: rgba(252, 249, 246, 0.68); opacity: 1; }

.section-dark .btn-dark {
  background: var(--orange);
  color: var(--ink);
  border-color: var(--orange);
}
.section-dark .btn-dark:hover { background: var(--orange-hover); }
.section-dark .btn-ghost {
  color: var(--bg);
  border-color: rgba(252, 249, 246, 0.35);
}
.section-dark .btn-ghost:hover { background: var(--bg); color: var(--ink); border-color: var(--bg); }

/* ---------------- Responsive --------------- */
@media (max-width: 900px) {
  .home-hero-grid {
    grid-template-columns: 1fr;
  }
  .home-hero-visual { min-height: auto; margin-top: 2rem; display: block; }
  .home-hero-visual .hero-image { width: 100%; margin: 0; }
  .method-panel { position: static; transform: none; margin: 1.5rem 0; left: auto; width: auto; }
  .data-card.hypothesis-card { right: 4%; top: 14%; }
  .data-card.lift-card { bottom: 6%; right: 4%; }
  .hero-channels {
    position: static;
    inset: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
    pointer-events: auto;
  }
  .hero-channel,
  .hero-channel--meta,
  .hero-channel--google,
  .hero-channel--outbound,
  .hero-channel--cro,
  .hero-channel--retention {
    position: static;
    inset: auto;
    transform: none;
  }
  .hero-channel--meta:hover,
  .hero-channel--google:hover,
  .hero-channel--outbound:hover,
  .hero-channel--cro:hover,
  .hero-channel--retention:hover { transform: translateY(-2px); }
  .hero-strip { grid-template-columns: 1fr; }
  .hero-metrics { border-left: 0; padding-left: 0; border-top: 1px solid var(--halftone); padding-top: 1.5rem; }
  .hero-clients { flex-direction: column; align-items: flex-start; gap: 0.7rem; }
  .hero-clients-logos { max-width: 340px; max-height: 72px; }
}

@media (max-width: 980px) {
  .lp-hero-grid,
  .case-hero-grid,
  .book-hero-grid,
  .cta-band,
  .cta-acid,
  .newsletter-inline {
    grid-template-columns: 1fr;
  }
  .book-section-stage .book-stage-grid { grid-template-columns: 1fr; }
  .book-stage-aside { position: static; }
  .book-testimonials,
  .chapter-cards {
    grid-template-columns: 1fr;
  }
  .hero-stamp { display: none; }
  .lab-visual { aspect-ratio: 4 / 3; }
  .approach-grid,
  .service-stack-grid,
  .lp-features,
  .lp-metrics,
  .case-result-band,
  .pricing-grid,
  .card-grid,
  .card-grid.cols-4,
  .lp-rgrid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial, .testimonial.is-featured { grid-column: span 1; }
  .approach-item, .service-card { border-right: 1px solid var(--halftone); }
  .approach-item:nth-child(2n), .service-card:nth-child(2n) { border-right: 0; }
  .service-card--wide { grid-column: 1 / -1; border-right: 0; }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .result-card:nth-child(2n) { border-right: 0; }
  .growth-grid { grid-template-columns: 1fr; }
  .growth-card { border-right: 0 !important; }
  .growth-card:nth-last-child(-n+2) { border-bottom: 1px solid var(--halftone); }
  .growth-card:last-child { border-bottom: 0; }
  .principles-grid { grid-template-columns: repeat(2, 1fr); }
  .principles-grid .principle:nth-child(2n) { border-right: 0; }
  .diagnostic-grid { grid-template-columns: repeat(2, 1fr); }
  .diagnostic-card:nth-child(3n) { border-right: 1px solid var(--halftone); }
  .diagnostic-card:nth-child(2n) { border-right: 0; }
  .diagnostic-card:nth-child(-n+4) { border-bottom: 1px solid var(--halftone); }
  .diagnostic-card:nth-last-child(-n+2) { border-bottom: 0; }
  .diagnostic-reassure { padding: 1.8rem; }
  .hero-metrics { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-toc { position: static; }
  .logo-cloud > * { flex-basis: calc((100% - 2 * 2.2rem) / 3); }
  .proof-strip { grid-template-columns: 1fr; }
  .proof-stat { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 1rem; }
  .process-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .site-header { grid-template-columns: auto auto; gap: 1rem; padding: 0.75rem 1rem; }
  .site-nav { display: none; }
  .brand-meta { display: none; }
  .header-cta { padding: 0.55rem 0.95rem; font-size: var(--fs-xs); }
  .approach-grid,
  .service-stack-grid,
  .lp-features,
  .lp-metrics,
  .testimonial-grid,
  .case-result-band,
  .pricing-grid,
  .process-list,
  .card-grid,
  .card-grid.cols-4,
  .card-grid.cols-2,
  .lp-rgrid,
  .lp-card-row {
    grid-template-columns: 1fr;
  }
  .approach-item, .service-card,
  .principles-grid .principle, .result-card {
    border-right: 0;
    border-bottom: 1px solid var(--halftone);
  }
  .testimonial, .testimonial.is-featured { grid-column: span 1; }
  .results-grid, .principles-grid { grid-template-columns: 1fr; }
  .diagnostic-grid { grid-template-columns: 1fr; }
  .diagnostic-card,
  .diagnostic-card:nth-child(n) { border-right: 0; border-bottom: 1px solid var(--halftone); min-height: auto; }
  .diagnostic-card:last-child { border-bottom: 0; }
  .diagnostic-reassure {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }
  .diagnostic-reassure-stamp { width: 2.6rem; height: 2.6rem; font-size: 2rem; }
  .hero-metrics { grid-template-columns: 1fr 1fr; }
  .pricing-card.featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 0; }
  .logo-cloud { gap: 1.2rem; }
  .logo-cloud > * { flex-basis: calc((100% - 1.2rem) / 2); }
  .data-card.hypothesis-card,
  .data-card.lift-card { position: static; width: 100%; margin-top: 1rem; }
  .home-hero-visual { display: flex; flex-direction: column; align-items: center; }
}

/* ============ Landing parity blocks (shared across landings) ============ */
/* Flex centre : une derniere rangee incomplete reste centree. Chaque case
   porte sa bordure, les marges negatives fusionnent les filets. */
.logo-wall {
  --logo-cols: 7;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
  padding: 0 1px 1px 0;
}
.logo-wall li {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 calc(100% / var(--logo-cols));
  box-sizing: border-box;
  margin: 0 -1px -1px 0;
  padding: 1.5rem 1.2rem;
  border: 1px solid var(--halftone);
  min-height: 96px;
}
@media (max-width: 1100px) { .logo-wall { --logo-cols: 5; } }
@media (max-width: 800px) { .logo-wall { --logo-cols: 3; } }
/* Murs de 22 logos : colonnes choisies pour ne jamais laisser un logo seul en dernière rangée. */
.logo-wall:has(> li:nth-child(22):last-child) { --logo-cols: 8; }
@media (max-width: 1100px) { .logo-wall:has(> li:nth-child(22):last-child) { --logo-cols: 6; } }
@media (max-width: 800px) { .logo-wall:has(> li:nth-child(22):last-child) { --logo-cols: 4; } }
@media (max-width: 560px) { .logo-wall:has(> li:nth-child(22):last-child) { --logo-cols: 2; } }
.logo-wall img {
  max-width: 100%;
  max-height: 46px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.72;
  transition: filter 200ms ease, opacity 200ms ease;
}
.logo-wall li:hover img { filter: grayscale(0); opacity: 1; }

.press-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 6vw, 4.5rem);
  margin: 2.4rem 0 0;
  padding: 0;
}
.press-band li { list-style: none; }
.press-band img {
  max-height: 52px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.6;
}

.vertical-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.6rem, 4vw, 3.4rem);
  align-items: center;
}
.vertical-photo img {
  width: 100%;
  height: auto;
  border: 1px solid var(--halftone);
  border-radius: var(--radius-lg);
  display: block;
}
.vertical-items {
  margin: 1.6rem 0 0;
  padding: 0;
  border-top: 1px solid var(--halftone);
}
.vertical-items li {
  list-style: none;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--halftone);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.vertical-items li strong {
  font-family: "Redaction", serif;
  font-size: var(--fs-md);
  font-weight: 500;
}
.vertical-items li span { color: var(--ink); opacity: 0.72; font-size: var(--fs-base); }

.wp-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.wp-service {
  background: var(--paper);
  border: 1px solid var(--halftone);
  border-radius: var(--radius);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.wp-service img { width: 42px; height: 42px; object-fit: contain; }
.wp-service h3 {
  font-family: "Redaction", serif;
  font-weight: 500;
  font-size: var(--fs-md);
  line-height: 1.2;
}
.wp-service p { color: var(--ink); opacity: 0.76; line-height: 1.6; font-size: var(--fs-base); margin: 0; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--halftone);
  border-left: 1px solid var(--halftone);
  margin: 0;
  padding: 0;
}
.process-step {
  list-style: none;
  padding: 1.8rem;
  border-right: 1px solid var(--halftone);
  border-bottom: 1px solid var(--halftone);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.process-step .process-num {
  font-family: "Inter", sans-serif;
  font-size: var(--fs-2xs);
  letter-spacing: 0.2em;
  color: var(--orange);
}
.process-step img { width: 42px; height: 42px; object-fit: contain; }
.process-step h3 {
  font-family: "Redaction", serif;
  font-weight: 500;
  font-size: var(--fs-md);
  margin: 0;
}
.process-step p { color: var(--ink); opacity: 0.74; line-height: 1.55; font-size: var(--fs-sm); margin: 0; }
.section-dark .process-grid { border-top-color: rgba(252, 249, 246, 0.18); border-left-color: rgba(252, 249, 246, 0.18); }
.section-dark .process-step { border-right-color: rgba(252, 249, 246, 0.18); border-bottom-color: rgba(252, 249, 246, 0.18); }
.section-dark .process-step h3 { color: var(--bg); }
.section-dark .process-step p { color: rgba(252, 249, 246, 0.72); opacity: 1; }

.cross-sell-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.cross-sell-grid--three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1024px) {
  .cross-sell-grid--three { grid-template-columns: 1fr 1fr; }
}
.cross-sell {
  border: 1px solid var(--halftone);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cross-sell .cross-icon { width: 54px; height: 54px; object-fit: contain; }
.cross-sell h3 {
  font-family: "Redaction", serif;
  font-weight: 500;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  line-height: 1.12;
  margin: 0;
}
.cross-sell p { color: var(--ink); opacity: 0.78; line-height: 1.6; margin: 0; }
.cross-sell .cross-platforms {
  align-self: flex-start;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 30px;
  object-fit: contain;
  object-position: left center;
  opacity: 0.85;
}
/* Illustration (et non bandeau de logos) : garder ses proportions */
.cross-sell .cross-platforms[src*="flat-header"] { max-height: 180px; opacity: 1; }
.cross-sell ul { margin: 0; padding-left: 1.1rem; color: var(--ink); opacity: 0.78; line-height: 1.7; }
.cross-sell .btn { align-self: flex-start; margin-top: 0.4rem; }

@media (max-width: 900px) {
  .vertical-band { grid-template-columns: 1fr; }
  .wp-service-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .cross-sell-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .process-grid { grid-template-columns: 1fr; }
  .logo-wall { --logo-cols: 2; }
  .press-band { gap: 2rem; }
}

/* ============ Feature rows (alternating text + media) ============ */
.feature-rows { display: flex; flex-direction: column; gap: clamp(2.6rem, 5vw, 4.2rem); }
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.6rem, 4vw, 3.6rem);
  align-items: center;
}
.feature-media { margin: 0; }
.feature-media img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--halftone);
  border-radius: var(--radius-lg);
}
.feature-copy h3 {
  font-family: "Redaction", serif;
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}
.feature-copy h3 em { font-style: italic; color: inherit; }
.feature-copy p { color: var(--ink); opacity: 0.78; line-height: 1.65; margin: 0 0 0.9rem; }
.feature-copy p:last-of-type { margin-bottom: 1.2rem; }
.feature-row.reverse .feature-media { order: 2; }
@media (max-width: 900px) {
  .feature-row { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-media { order: 0; }
}

/* ============ Home: image woven into dense split copy ============ */
.agency-split-figure {
  margin: 0.9rem 0 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.agency-split-figure img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--halftone);
  border-radius: var(--radius-lg);
  background: #fff;
}
.agency-split-figure figcaption {
  font-size: var(--fs-xs);
  line-height: 1.4;
  color: var(--ink);
  opacity: 0.55;
}

/* Media buyers statement */
.media-buyers-statement {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding: clamp(2rem, 4vw, 3.2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg);
  text-align: center;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.media-buyers-statement h3 {
  font-family: "Redaction", serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0.6rem 0 1.2rem;
}
.media-buyers-statement h3 em { font-style: italic; color: inherit; }
.media-buyers-statement p { color: var(--ink); opacity: 0.82; line-height: 1.65; margin: 0 auto 0.9rem; max-width: 640px; }
.media-buyers-statement p strong { color: var(--ink); opacity: 1; }

/* Landing page (CRO) specific blocks */
.lp-bullets { list-style: none; margin: 0 0 1.3rem; padding: 0; display: flex; flex-direction: column; gap: 0.65rem; }
.lp-bullets li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--ink);
  opacity: 0.82;
  line-height: 1.55;
}
.lp-bullets li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-family: "Inter", sans-serif;
}

.stat-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat-cell {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  text-align: center;
  border-right: 1px solid var(--line);
}
.stat-cell:last-child { border-right: 0; }
.stat-cell strong {
  display: block;
  font-family: "Redaction", serif;
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1;
  color: var(--orange);
  letter-spacing: -0.02em;
}
.stat-cell span { display: block; margin-top: 0.5rem; color: var(--ink); opacity: 0.72; font-size: var(--fs-sm); }

.lp-banner { margin: 0 0 2.4rem; }
.lp-banner img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--halftone);
  border-radius: var(--radius-lg);
}

.lp-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
}
.lp-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
}
.lp-result-shot {
  margin: 0 0 1.2rem;
  width: 100%;
  display: flex;
  justify-content: center;
}
.lp-result-shot img { width: 100%; max-width: 240px; height: auto; display: block; }
.lp-result-icon { width: 56px; height: 48px; object-fit: contain; margin-bottom: 0.8rem; }
.lp-result h3 {
  font-family: "Redaction", serif;
  font-weight: 400;
  font-size: var(--fs-lg);
  color: var(--orange);
  margin: 0.3rem 0 0.2rem;
}
.lp-result p { color: var(--ink); opacity: 0.72; margin: 0 0 1rem; font-size: var(--fs-sm); }
.lp-result-link {
  margin-top: auto;
  font-family: "Inter", sans-serif;
  font-size: var(--fs-xs);
  letter-spacing: 0.05em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--orange);
  padding-bottom: 2px;
}
.lp-result-link:hover { color: var(--orange); }

.case-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2.5vw, 1.8rem);
  margin-bottom: 2rem;
}
.case-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 1.6rem 1.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
}
.case-stat img { width: 48px; height: 46px; object-fit: contain; }
.case-stat h3 {
  font-family: "Redaction", serif;
  font-weight: 400;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  margin: 0;
  letter-spacing: -0.01em;
}

.lp-video {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem;
  padding: 1.4rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--indigo);
}
.lp-video-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--bg);
}
.lp-video-play {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-base);
}
.lp-video-link strong { display: block; font-family: "Redaction", serif; font-weight: 400; font-size: var(--fs-md); }
.lp-video-link small { display: block; margin-top: 0.2rem; color: rgba(252, 249, 246, 0.6); font-size: var(--fs-xs); }

@media (max-width: 900px) {
  .lp-results-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .lp-video { flex-direction: column; align-items: stretch; }
}
@media (max-width: 560px) {
  .stat-band { grid-template-columns: 1fr; }
  .stat-cell { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat-cell:last-child { border-bottom: 0; }
  .case-stats { grid-template-columns: 1fr; }
}

/* ============ Home: references wall spacing ============ */
.home-logo-wall {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  border: 0;
  row-gap: 1rem;
}
.home-logo-wall li {
  border: 0;
  flex: 0 0 140px;
  min-height: 72px;
  padding: 0.6rem 1rem;
}
.home-logo-wall img { max-height: 42px; }

/* ============ Home: method in motion (process + videos) ============ */
.method-phases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2rem);
  margin: clamp(2.2rem, 4vw, 3.2rem) 0 0;
}
.method-phase {
  border: 1px solid var(--halftone);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: var(--bg);
}
.method-phase-media {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.35rem;
  display: flex;
  align-items: center;
}
.phase-map { width: 100%; }
.phase-map-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: "Inter", sans-serif;
  font-size: var(--fs-2xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.35rem;
}
.phase-map-axis { color: var(--ink); opacity: 0.42; }
.phase-map-here { color: var(--orange); font-weight: 500; }
.phase-map-track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
  position: relative;
}
.phase-map-track::before,
.phase-map-track::after {
  content: "";
  position: absolute;
  top: 11px;
  left: 11px;
  right: 11px;
  height: 2px;
  border-radius: var(--radius);
}
.phase-map-track::before { background: var(--halftone); }
.phase-map-track::after {
  background: var(--orange);
  right: auto;
  width: calc((100% - 22px) * (var(--p) / 100%));
  transform-origin: left;
  animation: phaseGrow 900ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
@keyframes phaseGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.phase-map-node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
}
.phase-map-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "Inter", sans-serif;
  font-size: var(--fs-2xs);
  font-weight: 500;
  background: var(--bg);
  border: 2px solid var(--halftone);
  color: var(--ink);
  transition: transform 200ms ease;
}
.phase-map-node.is-done .phase-map-dot {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.phase-map-node.is-active .phase-map-dot {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  transform: scale(1.18);
  outline: 1px solid var(--orange);
  outline-offset: 3px;
}
.phase-map-name {
  font-family: "Inter", sans-serif;
  font-size: var(--fs-2xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.5;
  white-space: nowrap;
}
.phase-map-node.is-active .phase-map-name { color: var(--orange); opacity: 1; font-weight: 500; }
.phase-map-node.is-done .phase-map-name { opacity: 0.8; }
@media (prefers-reduced-motion: reduce) {
  .phase-map-track::after { animation: none; }
}
.method-crea { display: flex; justify-content: center; }
.method-crea video {
  width: 100%;
  max-width: 300px;
  height: auto;
  display: block;
  border: 1px solid var(--halftone);
  border-radius: var(--radius-lg);
}
.method-phase-tag {
  font-family: "Inter", sans-serif;
  font-size: var(--fs-2xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 0.4rem;
}
.method-phase-tag em { font-style: normal; color: inherit; }
.method-phase h3 {
  font-family: "Redaction", serif;
  font-weight: 500;
  font-size: var(--fs-md);
  line-height: 1.15;
  margin: 0;
}
.method-phase p { color: var(--ink); opacity: 0.76; line-height: 1.55; font-size: var(--fs-sm); margin: 0; }

.method-cta {
  margin: clamp(2.6rem, 5vw, 4rem) 0 0;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(1.4rem, 4vw, 3rem);
  background: var(--paper);
  border: 1px solid var(--halftone);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
}
.method-cta-photo { width: clamp(150px, 20vw, 210px); height: auto; flex-shrink: 0; }
.method-cta-body h3 {
  font-family: "Redaction", serif;
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.1;
  margin: 0.5rem 0 0.7rem;
}
.method-cta-body h3 em { font-style: italic; color: inherit; }
.method-cta-body p { color: var(--ink); opacity: 0.78; line-height: 1.6; margin: 0 0 1.2rem; max-width: 46ch; }

/* ============ Home: guide cover promo ============ */
.guide-promo {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) 1.1fr;
  align-items: center;
  gap: clamp(1.6rem, 4vw, 3.4rem);
  background: var(--paper);
  border: 1px solid var(--halftone);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3.5vw, 3rem);
  margin: 0 0 clamp(2rem, 4vw, 3rem);
}
.guide-promo-cover { margin: 0; }
.guide-promo-cover img { width: 100%; height: auto; display: block; }
.guide-promo-body h3 {
  font-family: "Redaction", serif;
  font-weight: 400;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  line-height: 1.08;
  margin: 0.5rem 0 0.9rem;
}
.guide-promo-body h3 em { font-style: italic; color: inherit; }
.guide-promo-body p { color: var(--ink); opacity: 0.8; line-height: 1.65; margin: 0 0 1.4rem; }

/* ============ Home: tools we love ============ */
.tools-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: clamp(0.6rem, 1.2vw, 0.9rem);
  margin: clamp(2rem, 4vw, 3rem) auto 0;
  padding: 0;
  max-width: 64rem;
}
.tool-cell {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  padding: 1.25rem 1rem;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  transition: border-color 200ms ease, transform 200ms ease;
}
.tool-cell img {
  max-height: 34px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}
.tool-cell:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
}

@media (max-width: 900px) {
  .method-phases { grid-template-columns: repeat(2, 1fr); }
  .method-cta { grid-template-columns: 1fr; text-align: left; }
  .method-cta-photo { width: 160px; }
  .guide-promo { grid-template-columns: 1fr; }
  .guide-promo-cover { max-width: 320px; }
}
@media (max-width: 560px) {
  .method-phases { grid-template-columns: minmax(0, 1fr); }
  .method-phase { min-width: 0; }
  .phase-map-name { letter-spacing: 0.02em; font-size: 0.56rem; }
  .phase-map-node { padding: 0 3px; }
}

/* ============================================================
   AGENCE SHOPIFY — hero variant, brand channels, playbook
   ============================================================ */
.hero-headline-shopify {
  font-size: clamp(2.4rem, 6.4vw, 4.8rem);
  line-height: 1;
}
.hero-headline-shopify em {
  font-style: italic;
  color: var(--ink);
  background: var(--orange);
  padding: 0.04em 0.25em 0.08em;
  display: inline-block;
  line-height: 1;
}
.hero-headline-shopify em::after { content: none; }
.hero-shopify-mark {
  height: 0.82em;
  width: auto;
  display: inline-block;
  vertical-align: -0.06em;
}
.hero-shopify-word {
  display: inline-block;
  background: rgba(251, 111, 41, 0.42);
  color: var(--ink);
  padding: 0.04em 0.3em 0.08em;
  font-family: "Redaction", serif;
  font-weight: 600;
  font-style: normal;
  line-height: 1;
}

/* Hero WooCommerce : meme dispositif, surlignage orange (couleurs tierces reservees aux logos) */
.hero-headline-woo em {
  font-style: italic;
  color: var(--ink);
  background: var(--orange);
  padding: 0.04em 0.25em 0.08em;
  display: inline-block;
  line-height: 1;
}
.hero-headline-woo em::after { content: none; }
.hero-woo-mark {
  height: 0.82em;
  width: auto;
  display: inline-block;
  vertical-align: -0.06em;
}
.hero-woo-word {
  display: inline-block;
  background: rgba(251, 111, 41, 0.42);
  color: var(--ink);
  padding: 0.04em 0.3em 0.08em;
  font-family: "Redaction", serif;
  font-weight: 600;
  font-style: normal;
  line-height: 1;
}

/* Hero floating channels rendered with real brand SVGs */

/* Shopify Playbook cards */
.playbook-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.playbook-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.6rem 1.5rem;
  background: var(--paper);
  border: 1px solid var(--halftone);
  border-radius: var(--radius-lg);
}
.playbook-logos { display: inline-flex; gap: 0.55rem; margin-bottom: 0.4rem; }
.playbook-chip {
  display: grid;
  place-items: center;
  /* largeur libre : les logotypes larges (WooCommerce) ne sont plus ecrases dans un carre */
  min-width: 46px;
  height: 46px;
  padding: 0 0.55rem;
  background: var(--bg);
  border: 1px solid var(--halftone);
  border-radius: var(--radius-lg);
}
.playbook-chip img { height: 22px; width: auto; max-width: 92px; object-fit: contain; }
.playbook-card h3 {
  font-family: "Redaction", serif;
  font-weight: 400;
  font-size: var(--fs-md);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0;
}
.playbook-card > p {
  color: var(--ink);
  opacity: 0.78;
  line-height: 1.6;
  margin: 0;
  font-size: var(--fs-base);
}
.playbook-points {
  list-style: none;
  margin: 0.4rem 0 0.4rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.playbook-points li {
  position: relative;
  padding-left: 1.4rem;
  font-size: var(--fs-sm);
  line-height: 1.45;
  color: var(--ink);
}
.playbook-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: var(--radius);
  background: var(--orange);
}
.playbook-card .service-card-cta { margin-top: auto; }

@media (max-width: 900px) {
  .playbook-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1020px) {
  .hero-headline-shopify { font-size: clamp(2.2rem, 10vw, 3.6rem); }
}

/* ---------------- Mobile nav (burger + drawer) ---------------- */
.nav-burger {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.nav-burger span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  transform: translate(-50%, -50%) translateY(-3px);
  transition: transform 200ms ease;
}
.nav-burger span:last-child {
  transform: translate(-50%, -50%) translateY(3px);
}
.nav-burger[aria-expanded="true"] span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}
.nav-burger[aria-expanded="true"] span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 25;
  background: var(--bg);
  padding: 6rem 1.5rem 2.5rem;
  overflow-y: auto;
  animation: mobileNavIn 220ms ease;
}
.mobile-nav[hidden] { display: none; }
@keyframes mobileNavIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: none; }
}
html.nav-open { overflow: hidden; }

.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.mobile-nav-list > li { border-bottom: 1px solid var(--halftone); }
.mobile-nav-link {
  display: block;
  padding: 1.05rem 0.2rem;
  font-family: "Redaction", serif;
  font-size: var(--fs-lg);
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
}
.mobile-nav-link[aria-current="page"] { color: var(--orange); }
.mobile-nav-group { padding: 1.05rem 0.2rem 0.9rem; }
.mobile-nav-grouplabel {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: var(--fs-2xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.45rem;
}
.mobile-nav-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.mobile-nav-sub {
  display: block;
  padding: 0.42rem 0.2rem;
  font-family: "Redaction", serif;
  font-size: var(--fs-md);
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
}
.mobile-nav-sub[aria-current="page"] { color: var(--orange); }
.mobile-nav-sub.is-soon { color: var(--muted); }
.mobile-nav-sub.is-soon em {
  font-style: normal;
  font-family: "Inter", sans-serif;
  font-size: var(--fs-2xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-left: 0.6rem;
  vertical-align: middle;
}
.mobile-nav-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.6rem;
  padding: 0.95rem 1.2rem;
  border-radius: var(--pill);
  background: var(--ink);
  color: var(--bg);
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: var(--fs-base);
  text-decoration: none;
}
.mobile-nav-cta::after { content: "\2197"; font-weight: 400; }

@media (max-width: 1140px) {
  .site-nav { display: none; }
  .nav-burger { display: block; }
  .site-header { grid-template-columns: auto auto; justify-content: space-between; }
}

/* ---------------- Home : avant / apres (un seul abonnement) ---------------- */
#un-abonnement { padding-top: clamp(3.5rem, 7vw, 6rem); }
#un-abonnement .section-head { margin-bottom: clamp(2.2rem, 4vw, 3.2rem); }
.ba-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: stretch;
}
.ba-label {
  display: inline-block;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: var(--fs-2xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.3rem;
}
.ba-label--after { color: var(--orange); }

.ba-before {
  border: 1px dashed var(--steel);
  border-radius: var(--radius-lg);
  background: var(--paper);
  padding: clamp(1.3rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
}
.ba-stack {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 0.8rem;
  flex: 1;
  align-content: space-evenly;
}
.ba-ticket {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: var(--bg);
  border: 1px solid var(--halftone);
  border-radius: var(--radius);
  padding: 0.95rem 1rem;
  transform: rotate(var(--r, 0deg));
  transition: transform 220ms ease;
}
.ba-ticket:hover { transform: rotate(0deg) translateY(-2px); }
.ba-ticket-no {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--soft);
}
.ba-ticket-name {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--ink);
  line-height: 1.25;
}
.ba-ticket-name img { width: 16px; height: 16px; object-fit: contain; flex-shrink: 0; }
.ba-ticket-tag {
  align-self: flex-start;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--halftone);
  border-radius: var(--pill);
  padding: 0.18rem 0.55rem;
}

.ba-sum {
  margin: auto 0 0;
  padding-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 1rem;
  font-size: var(--fs-sm);
  color: var(--muted);
}
.ba-sum strong {
  font-family: "Redaction", serif;
  font-weight: 400;
  font-size: var(--fs-md);
  color: var(--ink);
  white-space: nowrap;
}
.ba-sum span { flex-basis: 100%; }

.ba-arrow {
  align-self: center;
  width: clamp(2.6rem, 4vw, 3.6rem);
  color: var(--orange);
}
.ba-arrow svg { display: block; width: 100%; height: auto; }

.ba-after {
  background: var(--indigo);
  color: var(--bg);
  border-radius: var(--radius-lg);
  padding: clamp(1.3rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
}
.ba-offer {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(252, 249, 246, 0.18);
}
.ba-offer-count {
  font-family: "Redaction", serif;
  font-size: clamp(4rem, 7vw, 5.6rem);
  line-height: 0.85;
  color: var(--orange);
}
.ba-offer-title {
  display: block;
  font-family: "Redaction", serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.05;
}
.ba-offer-price {
  display: block;
  margin-top: 0.35rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(252, 249, 246, 0.78);
}
.ba-included {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ba-included li {
  display: grid;
  grid-template-columns: 7.2rem 1fr auto;
  gap: 0.8rem;
  align-items: center;
  padding: 0.72rem 0;
  border-bottom: 1px solid rgba(252, 249, 246, 0.12);
}
.ba-included-cat {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
}
.ba-included-cat::before {
  content: "";
  width: 0.95rem;
  height: 0.95rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23181818' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.ba-included-items { font-size: var(--fs-sm); line-height: 1.4; }
.ba-included-logos { display: inline-flex; gap: 0.3rem; }
.ba-included-logos img {
  width: 22px;
  height: 22px;
  padding: 3px;
  background: var(--bg);
  border-radius: 50%;
  object-fit: contain;
}
.ba-sum--after { color: rgba(252, 249, 246, 0.78); }
.ba-sum--after strong { color: var(--bg); }

@media (max-width: 900px) {
  .ba-grid { grid-template-columns: 1fr; }
  .ba-arrow { justify-self: center; transform: rotate(90deg); }
}
@media (max-width: 560px) {
  .ba-stack { gap: 0.6rem; }
  .ba-ticket { padding: 0.65rem 0.6rem; gap: 0.3rem; }
  .ba-ticket-no { display: none; }
  .ba-ticket-name { font-size: var(--fs-xs); align-items: flex-start; }
  .ba-ticket-tag { font-size: 0.56rem; letter-spacing: 0.03em; padding: 0.15rem 0.45rem; }
  .ba-included li { grid-template-columns: 1fr auto; }
  .ba-included-items { grid-column: 1 / -1; grid-row: 2; }
}
@media (prefers-reduced-motion: reduce) {
  .ba-ticket { transition: none; }
}

/* Guides hub + old blog archives */
.guides-topic-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  max-width: none;
  margin-bottom: 2rem;
}
.guides-topic-head h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 0; }
@media (max-width: 720px) {
  .guides-topic-head { flex-direction: column; align-items: start; gap: 0.8rem; }
}
.guides-archives details {
  border-top: 1px solid var(--halftone);
  border-bottom: 1px solid var(--halftone);
  padding: 1.4rem 0;
}
.guides-archives summary {
  cursor: pointer;
  list-style: none;
  display: grid;
  gap: 0.35rem;
  position: relative;
  padding-right: 2.5rem;
}
.guides-archives summary::-webkit-details-marker { display: none; }
.guides-archives summary::after {
  content: "+";
  position: absolute;
  right: 0.4rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--muted);
}
.guides-archives details[open] summary::after { content: "−"; }
.guides-archives-title { font-weight: 600; color: var(--ink); }
.guides-archives-note { font-size: 0.9rem; color: var(--muted); }
.guides-archives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.8rem 2.4rem;
  margin-top: 1.6rem;
}
.guides-archives-grid h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 0.6rem;
}
.guides-archives-grid ul,
.guides-archives-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.guides-archives-list {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 0.45rem 2.4rem;
  margin-top: 1.6rem;
}
.guides-archives a {
  color: var(--soft);
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.4;
}
.guides-archives a:hover { color: var(--orange); }
.legacy-notice {
  max-width: 640px;
  margin: 1.2rem auto 0;
  padding: 0.7rem 1rem;
  border: 1px dashed var(--halftone);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--muted);
  background: var(--paper);
}
.legacy-notice a { color: var(--ink); }

/* Eyebrows sur fonds sombres : l'orange vif garde le contraste. */
:is(.section-dark, .section-indigo, .site-footer, .cta-acid, .bg-ink, .bg-indigo, [data-theme="dark"]) :is(.kicker, .eyebrow, .eyebrow--badge) { color: var(--orange); }
