/* ==========================================================================
   Cap Numerik : main.css
   CSS unifié pour home V4 + landings V4 (Fondation A).
   Extrait des mockups home-v4.html + crm-scoring-leads-pme-v4.html.
   Fonts : Inter 400-900 + Instrument Serif (serif italique pour accents).
   Breakpoints : 1080 / 780 / 680.
   ========================================================================== */

:root {
  --navy-deep: #050b1c;
  --navy: #0a1628;
  --navy-mid: #0f2747;
  --navy-light: #173a66;
  --blue-hero: #3b82f6;
  --blue-hero-light: #60a5fa;
  --white: #ffffff;
  --paper: #f5f7fa;
  --ink: #0f1a2e;
  --ink-soft: #3a4658;
  --ink-muted: #6b7a8f;
  --line: #e7ebf0;
  --line-light: rgba(15, 39, 71, 0.08);
  --orange: #f97316;
  --orange-hover: #ea580c;
  --orange-glow: rgba(249, 115, 22, 0.5);
  --cyan: #22d3ee;
  --green: #10b981;
  --amber: #f59e0b;
  --purple: #8b5cf6;
  --red: #ef4444;
  --rose-400: #fb7185;
  --font-display: "Instrument Serif", Georgia, serif;
  --radius: 10px;
  --radius-lg: 20px;
  --max: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, -apple-system, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

/* === HEADER === */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.brand-logo {
  width: 38px;
  height: 38px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  padding: 4px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-logo span { border-radius: 5px; }
.brand-logo span:nth-child(1),
.brand-logo span:nth-child(4) { background: #0891b2; }
.brand-logo span:nth-child(2),
.brand-logo span:nth-child(3) { background: var(--cyan); }

.brand-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

nav.main-nav {
  display: flex;
  gap: 30px;
  font-size: 14.5px;
  font-weight: 500;
}

nav.main-nav a {
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s;
  position: relative;
}

nav.main-nav a:hover { color: #fff; }

nav.main-nav a.active {
  color: #fff;
  font-weight: 600;
}

nav.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--orange);
  border-radius: 1px;
}

/* === DROPDOWN MENU SOLUTIONS === */
.nav-item-dropdown { position: relative; }
.dropdown-caret { font-size: 10px; margin-left: 2px; opacity: 0.6; transition: transform 0.2s; }
.nav-item-dropdown:hover .dropdown-caret { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 320px;
  background: #fff;
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 24px 60px -12px rgba(5, 11, 28, 0.4), 0 0 0 1px rgba(255,255,255,0.06);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
}
.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 9px;
  color: var(--ink) !important;
  transition: background 0.15s;
}
.dropdown-menu a:hover { background: var(--paper); }
.dropdown-menu a.dropdown-active { background: rgba(249, 115, 22, 0.08); }
.dropdown-menu a strong { display: block; font-size: 14px; font-weight: 600; margin-bottom: 2px; color: var(--ink); }
.dropdown-menu a small { display: block; font-size: 12px; color: var(--ink-muted); }
.dropdown-menu a.dropdown-active strong { color: var(--orange-hover); }

/* === NAV BURGER (mobile) === */
.nav-burger {
  display: none;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 60;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px auto;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

body.nav-open { overflow: hidden; }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius);
  font-family: Inter, sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 8px 28px -4px var(--orange-glow);
}

.btn-primary:hover {
  background: var(--orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 12px 36px -4px var(--orange-glow);
}

.btn-ghost-dark {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}

.btn-ghost-dark:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.38);
  transform: translateY(-1px);
}

.btn-ghost-light {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost-light:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}

.btn-arrow { transition: transform 0.25s; display: inline-block; }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* === HERO (base landing) === */
.hero {
  position: relative;
  background: var(--navy-deep);
  background-image:
    radial-gradient(circle at 85% 30%, rgba(34, 211, 238, 0.14), transparent 45%),
    radial-gradient(circle at 15% 80%, rgba(249, 115, 22, 0.09), transparent 40%),
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: #fff;
  padding: 60px 0 80px;
  min-height: 600px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
}

.hero-breadcrumb {
  position: relative;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 36px;
}
.hero-breadcrumb a:hover { color: var(--orange); }
.hero-breadcrumb span { margin: 0 8px; opacity: 0.4; }

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.25);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 28px;
  letter-spacing: 0.01em;
}

.hero-eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.18);
}

.hero h1 {
  font-size: clamp(44px, 5.5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: #fff;
  margin-bottom: 28px;
}

.hero h1 em,
.hero h1 .accent {
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--orange);
  letter-spacing: -0.02em;
}

.hero-lead {
  font-size: 19px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  max-width: 540px;
  margin-bottom: 36px;
}

.hero-lead strong {
  color: #fff;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
}
.chip::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--cyan);
}

/* === HERO HOME (overrides) === */
.hero.hero-home {
  background:
    radial-gradient(ellipse at 70% 100%, rgba(96, 165, 250, 0.4), transparent 60%),
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 40%, #1e3a8a 85%, #3b82f6 100%);
  padding: 64px 0 88px;
}

.hero.hero-home .hero-grid {
  grid-template-columns: 1fr 1.1fr;
}

.hero.hero-home h1 {
  font-size: clamp(42px, 5.2vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero.hero-home .hero-lead {
  font-size: 18px;
  max-width: 500px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.78);
}

.hero.hero-home .hero-actions { margin-bottom: 32px; }

/* === HERO WORKFLOW HOME (wf-*) === */
.hero-workflow {
  position: relative;
  min-height: 440px;
  display: grid;
  align-items: center;
}

.hero.hero-home .hero-workflow {
  grid-template-columns: auto auto 1fr;
  gap: 32px;
}

.wf-inputs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wf-input {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 14px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.25);
  min-width: 140px;
  animation: wf-pulse 3s ease-in-out infinite;
}

.wf-input:nth-child(1) { animation-delay: 0s; }
.wf-input:nth-child(2) { animation-delay: 0.4s; }
.wf-input:nth-child(3) { animation-delay: 0.8s; }
.wf-input:nth-child(4) { animation-delay: 1.2s; }

@keyframes wf-pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

.wf-input-ico {
  width: 28px; height: 28px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.wf-input-ico svg { width: 16px; height: 16px; }

.wf-input-ico.green { background: rgba(16, 185, 129, 0.15); color: #047857; }
.wf-input-ico.blue { background: rgba(37, 99, 235, 0.15); color: #1d4ed8; }
.wf-input-ico.amber { background: rgba(245, 158, 11, 0.15); color: #b45309; }
.wf-input-ico.purple { background: rgba(139, 92, 246, 0.15); color: #6d28d9; }

.wf-input-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.wf-core {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fb923c, #ea580c 60%, #9a3412);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow:
    0 0 0 8px rgba(249, 115, 22, 0.15),
    0 0 0 20px rgba(249, 115, 22, 0.06),
    0 20px 50px -8px rgba(249, 115, 22, 0.6);
  animation: wf-core-pulse 3s ease-in-out infinite;
}

@keyframes wf-core-pulse {
  0%, 100% { box-shadow: 0 0 0 8px rgba(249, 115, 22, 0.15), 0 0 0 20px rgba(249, 115, 22, 0.06), 0 20px 50px -8px rgba(249, 115, 22, 0.6); }
  50% { box-shadow: 0 0 0 12px rgba(249, 115, 22, 0.2), 0 0 0 28px rgba(249, 115, 22, 0.08), 0 24px 60px -6px rgba(249, 115, 22, 0.7); }
}

.wf-core-text { text-align: center; }

.wf-core-name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  color: #fff;
}

.wf-core-sub {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  margin-top: 6px;
}

.wf-outputs {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 280px;
}

.wf-output {
  position: relative;
  background: linear-gradient(180deg, #0a1628 0%, #050b1c 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.4);
}

.wf-output-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.wf-output-title strong {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.wf-output-title small {
  font-size: 9.5px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.wf-out-bars {
  display: grid;
  gap: 6px;
}

.wf-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}

.wf-bar-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  overflow: hidden;
}

.wf-bar-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--cyan), #0891b2);
}
.wf-bar:nth-child(1) .wf-bar-fill { width: 80%; background: linear-gradient(90deg, var(--cyan), #0891b2); }
.wf-bar:nth-child(2) .wf-bar-fill { width: 62%; background: linear-gradient(90deg, #60a5fa, #3b82f6); }
.wf-bar:nth-child(3) .wf-bar-fill { width: 45%; background: linear-gradient(90deg, #fb923c, #ea580c); }

.wf-bar-val {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  min-width: 28px;
  text-align: right;
}

.wf-kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.wf-kpi {
  padding: 8px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.wf-kpi-label {
  display: block;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 3px;
}

.wf-kpi-val {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.wf-kpi-val.cyan { color: var(--cyan); }
.wf-kpi-val.orange { color: var(--orange); }
.wf-kpi-val.green { color: #4ade80; }

.wf-donut-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wf-donut {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

.wf-donut circle {
  fill: none;
  stroke-width: 8;
}

.wf-donut .track { stroke: rgba(255, 255, 255, 0.08); }
.wf-donut .fill1 { stroke: var(--orange); stroke-dasharray: 90 100; stroke-dashoffset: 0; transform: rotate(-90deg); transform-origin: center; }
.wf-donut .fill2 { stroke: var(--cyan); stroke-dasharray: 45 100; stroke-dashoffset: -90; transform: rotate(-90deg); transform-origin: center; }

.wf-donut-legend {
  display: grid;
  gap: 4px;
  font-size: 10px;
}

.wf-donut-legend div {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.75);
}

.wf-donut-legend div::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 2px;
}

.wf-donut-legend .dot-orange::before { background: var(--orange); }
.wf-donut-legend .dot-cyan::before { background: var(--cyan); }

.wf-arrows {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.wf-arrows path {
  fill: none;
  stroke: rgba(34, 211, 238, 0.6);
  stroke-width: 1.5;
  stroke-dasharray: 4 4;
  animation: wf-dash 20s linear infinite;
}

@keyframes wf-dash {
  to { stroke-dashoffset: -200; }
}

.wf-note {
  position: absolute;
  bottom: -22px;
  right: 0;
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.05em;
}

.wf-arrows-v { display: none; }

/* === HERO WORKFLOW LANDING (flow-*) === */
.hero .hero-workflow:not(.hero-home .hero-workflow) {
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
}

.flow-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.flow-node {
  position: relative;
  padding: 14px 16px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.8);
  animation: flow-pulse 3s ease-in-out infinite;
}

.flow-node:nth-child(1) { animation-delay: 0s; }
.flow-node:nth-child(2) { animation-delay: 0.6s; }
.flow-node:nth-child(3) { animation-delay: 1.2s; }

@keyframes flow-pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.flow-node-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.flow-node-icon.green { background: rgba(16, 185, 129, 0.15); color: #047857; }
.flow-node-icon.blue { background: rgba(37, 99, 235, 0.15); color: #1d4ed8; }
.flow-node-icon.amber { background: rgba(245, 158, 11, 0.15); color: #b45309; }
.flow-node-icon.navy { background: rgba(15, 39, 71, 0.15); color: var(--navy-mid); }
.flow-node-icon.cyan { background: rgba(34, 211, 238, 0.15); color: #0e7490; }
.flow-node-icon.red { background: rgba(239, 68, 68, 0.15); color: #b91c1c; }

.flow-node-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}

.flow-node-sub {
  display: block;
  font-size: 11.5px;
  color: var(--ink-muted);
  margin-top: 2px;
}

.flow-core {
  position: relative;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #f97316, #ea580c 60%, #9a3412);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow:
    0 0 0 10px rgba(249, 115, 22, 0.1),
    0 0 0 24px rgba(249, 115, 22, 0.05),
    0 20px 60px -10px rgba(249, 115, 22, 0.6);
  animation: flow-core-pulse 3s ease-in-out infinite;
}

@keyframes flow-core-pulse {
  0%, 100% { box-shadow: 0 0 0 10px rgba(249, 115, 22, 0.1), 0 0 0 24px rgba(249, 115, 22, 0.05), 0 20px 60px -10px rgba(249, 115, 22, 0.6); }
  50% { box-shadow: 0 0 0 14px rgba(249, 115, 22, 0.15), 0 0 0 32px rgba(249, 115, 22, 0.08), 0 24px 72px -8px rgba(249, 115, 22, 0.7); }
}

.flow-core-text {
  text-align: center;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.flow-core-main {
  font-size: 30px;
  line-height: 1;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
}

.flow-core-sub {
  font-size: 12px;
  opacity: 0.85;
  margin-top: 4px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.flow-arrows {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.flow-arrows path {
  fill: none;
  stroke: rgba(34, 211, 238, 0.5);
  stroke-width: 1.5;
  stroke-dasharray: 4 4;
  animation: flow-dash 20s linear infinite;
}

@keyframes flow-dash {
  to { stroke-dashoffset: -200; }
}

.flow-pipeline-illustration {
  position: absolute;
  bottom: -24px;
  right: -10px;
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.05em;
}

/* === SECTIONS === */
section.section {
  padding: 100px 0;
  background: var(--white);
}

section.section-paper { background: var(--paper); }
section.section-paper-lg { background: var(--paper); padding: 80px 0; }

section.section-dark {
  background: var(--navy);
  color: #fff;
}

.section-head {
  max-width: 760px;
  margin-bottom: 48px;
}

section.section-dark .section-head { margin-bottom: 56px; }

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}

h2.section-title {
  font-size: clamp(32px, 3.8vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 16px;
}

section.section-dark h2.section-title { color: #fff; }

h2.section-title em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--orange);
  letter-spacing: -0.02em;
}

.section-lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 640px;
}

section.section-dark .section-lead { color: rgba(255, 255, 255, 0.72); }

/* === SECTION NARROW + PROSE BLOCK (lecture éditoriale confortable) === */
/* Utilisé pour les blocs texte éditoriaux (.section-narrow enveloppe section-head + prose-block).
   Ne touche pas aux .section-head des pages marketing standards (hubs, landings). */
.section-narrow {
  max-width: 760px;
  margin: 0 auto;
}
.section-narrow .section-head {
  max-width: none;
  margin-bottom: 32px;
}
.section-narrow h2.section-title {
  font-size: clamp(26px, 2.8vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.prose-block {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 720px;
}
.section-narrow .prose-block { max-width: none; margin: 0; }
.prose-block p { margin-bottom: 1.2em; }
.prose-block p:last-child { margin-bottom: 0; }
.prose-block h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin: 36px 0 12px;
  letter-spacing: -0.015em;
}
.prose-block ul, .prose-block ol {
  margin: 0 0 1.2em 24px;
  padding: 0;
}
.prose-block li { margin-bottom: 0.6em; line-height: 1.65; }
.prose-block strong { color: var(--ink); font-weight: 700; }
.prose-block a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose-block a:hover { color: var(--orange-dark, #ea580c); }
@media (max-width: 780px) {
  .section-narrow { max-width: 100%; }
  .prose-block { font-size: 16px; }
  .prose-block p { margin-bottom: 1.1em; }
}

/* === HOME : PROBLEMS GRID === */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.problem-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 26px;
  transition: all 0.25s;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.problem-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px -14px rgba(15, 26, 46, 0.12);
  border-color: rgba(249, 115, 22, 0.25);
}

.problem-ico {
  width: 44px; height: 44px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(249, 115, 22, 0.1);
  color: var(--orange);
}

.problem-ico svg {
  width: 22px; height: 22px;
  stroke-width: 2;
}

.problem-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.problem-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* === HOME : SOLUTIONS GRID === */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.solution-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px 28px;
  transition: all 0.3s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 300px;
}

.solution-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  height: 3px;
  width: 48px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px -16px rgba(15, 26, 46, 0.14);
  border-color: rgba(249, 115, 22, 0.3);
}

.solution-card:hover::before { transform: scaleX(1); }

.solution-ico {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.solution-ico svg {
  width: 26px; height: 26px;
  stroke-width: 2;
}

.solution-ico.green { background: rgba(16, 185, 129, 0.12); color: #047857; }
.solution-ico.blue { background: rgba(37, 99, 235, 0.12); color: #1d4ed8; }
.solution-ico.orange { background: rgba(249, 115, 22, 0.12); color: var(--orange-hover); }
.solution-ico.purple { background: rgba(139, 92, 246, 0.12); color: #6d28d9; }
.solution-ico.cyan { background: rgba(8, 145, 178, 0.12); color: #0e7490; }

.solution-card h3 {
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 12px;
}

.solution-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 20px;
  flex: 1;
}

.solution-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.solution-price {
  font-size: 12.5px;
  color: var(--ink-muted);
  font-weight: 600;
}

.solution-price b {
  color: var(--orange);
  font-weight: 700;
}

.solution-arrow {
  color: var(--orange);
  font-weight: 700;
  font-size: 16px;
  transition: transform 0.25s;
}

.solution-card:hover .solution-arrow { transform: translateX(4px); }

/* === HOME : OUTILS EN LIGNE === */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.tool-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 30px;
  transition: all 0.3s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: inherit;
}

.tool-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  height: 3px;
  width: 48px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px -16px rgba(15, 26, 46, 0.14);
  border-color: rgba(249, 115, 22, 0.3);
}

.tool-card:hover::before { transform: scaleX(1); }

.tool-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.tool-ico {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
}

.tool-ico svg { width: 24px; height: 24px; }

.tool-ico.orange { background: rgba(249, 115, 22, 0.12); color: var(--orange-hover); }
.tool-ico.purple { background: rgba(139, 92, 246, 0.12); color: #6d28d9; }

.tool-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #047857;
  letter-spacing: 0.02em;
}

.tool-badge::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
  animation: tool-live 2s ease-in-out infinite;
}

@keyframes tool-live {
  0%, 100% { box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2); }
  50% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.05); }
}

.tool-card h3 {
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 12px;
}

.tool-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 20px;
  flex: 1;
}

.tool-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.tool-url {
  font-size: 12.5px;
  color: var(--ink-muted);
  font-family: ui-monospace, monospace;
}

.tool-arrow {
  color: var(--orange);
  font-weight: 700;
  font-size: 16px;
  transition: transform 0.25s;
}

.tool-card:hover .tool-arrow { transform: translate(4px, -4px); }

.tools-note {
  text-align: center;
  font-size: 14px;
  color: var(--ink-muted);
}

.tools-note a {
  color: var(--orange);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* === HOME : DIFFÉRENCIANT === */
.diff-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.diff-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1.22;
  color: #fff;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.diff-quote b {
  font-style: normal;
  font-family: Inter, sans-serif;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -0.02em;
}

.diff-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.diff-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange) 0%, #c2410c 100%);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-style: italic;
  color: #fff;
  font-size: 22px;
}

.diff-credit strong {
  display: block;
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 2px;
}

.diff-credit small {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.diff-proofs {
  display: grid;
  gap: 12px;
}

.diff-proof {
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
}

.diff-proof strong {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 8px;
  font-weight: 700;
}

.diff-proof strong::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.diff-proof p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.55;
}

/* === HOME : RÉALISATIONS === */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.case-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 26px;
  transition: all 0.25s;
}

.case-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 48px -14px rgba(15, 26, 46, 0.12);
  border-color: rgba(249, 115, 22, 0.25);
}

.case-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  padding: 5px 10px;
  background: rgba(249, 115, 22, 0.08);
  border-radius: 4px;
  margin-bottom: 16px;
}

.case-card h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 10px;
}

.case-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.case-link {
  color: var(--orange);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.case-link:hover { text-decoration: underline; }

/* === HOME : BLOG PROMO === */
.blog-promo {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: center;
}
.blog-promo-text .section-title { margin-bottom: 16px; }
.blog-promo-text .btn { margin-top: 8px; }
.blog-promo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.blog-tag {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 500;
  transition: all 0.2s;
  cursor: default;
}
.blog-tag:hover {
  border-color: rgba(249, 115, 22, 0.4);
  color: var(--orange-hover);
}

/* === LANDING : PAINS === */
.pains-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pain-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 28px;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}

.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px -12px rgba(15, 26, 46, 0.1);
  border-color: rgba(249, 115, 22, 0.3);
}

.pain-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  background: rgba(249, 115, 22, 0.1);
  color: var(--orange);
}

.pain-icon svg {
  width: 22px; height: 22px;
  stroke-width: 2;
}

.pain-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}

.pain-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* === LANDING : SIGNATURE JEFF === */
.signature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.signature-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1.2;
  color: #fff;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.signature-quote b {
  font-style: normal;
  font-family: Inter, sans-serif;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -0.02em;
}

.signature-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.signature-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange) 0%, #c2410c 100%);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-style: italic;
  color: #fff;
  font-size: 22px;
}

.signature-credit strong {
  display: block;
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 2px;
}

.signature-credit small {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.signature-steps {
  display: grid;
  gap: 14px;
}

.signature-step {
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  transition: all 0.25s;
}

.signature-step:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(249, 115, 22, 0.3);
}

.signature-step strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 10px;
  font-weight: 700;
}

.signature-step p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14.5px;
  line-height: 1.55;
}

.signature-step p b {
  color: #fff;
  font-weight: 600;
}

/* === LANDING : BUILD MODULES === */
.build-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.build-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.build-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  height: 3px;
  width: 40px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.build-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px -16px rgba(15, 26, 46, 0.14);
  border-color: rgba(249, 115, 22, 0.3);
}

.build-card:hover::before { transform: scaleX(1); }

.build-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 18px;
}

.build-card h3 {
  font-size: 23px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 14px;
}

.build-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 22px;
}

.build-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.build-features li {
  font-size: 11.5px;
  padding: 6px 11px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink-soft);
  font-weight: 600;
}

/* === REALISATIONS : filtres + stack chips + link === */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 36px;
}

.filter-btn {
  padding: 10px 18px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  border-color: var(--orange);
  color: var(--ink);
}

.filter-btn.active,
.filter-btn.is-active {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.build-card .stack-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.stack-chip {
  padding: 4px 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
}

.build-link {
  color: var(--orange);
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.build-link:hover {
  color: var(--orange-dark, #ea580c);
}

.build-card.hidden { display: none !important; }

/* 3 colonnes sur grand écran pour le hub Réalisations */
.section-realisations .build-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) {
  .section-realisations .build-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .section-realisations .build-grid { grid-template-columns: 1fr; }
}

/* === LANDING : METHODE === */
.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.method-step {
  padding: 36px 28px 32px;
  border-right: 1px solid var(--line);
  position: relative;
}

.method-step:last-child { border-right: none; }

.method-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 42px;
  line-height: 1;
  color: var(--orange);
  margin-bottom: 20px;
  font-weight: 400;
}

.method-step h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.method-step p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.method-meta {
  display: block;
  margin-top: 14px;
  font-size: 11.5px;
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* === LANDING : OFFRE / PRIX === */
.offer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.offer-list {
  list-style: none;
  margin-top: 28px;
  display: grid;
  gap: 16px;
}

.offer-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.offer-list li::before {
  content: "\2192";
  color: var(--orange);
  font-weight: 700;
  line-height: 1.55;
}

.offer-list strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.offer-list p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.price-card {
  position: relative;
  padding: 40px 36px;
  background: var(--navy);
  color: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(10, 22, 40, 0.3);
}

.price-card::before {
  content: "";
  position: absolute;
  top: -80px; right: -60px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.22), transparent 70%);
  pointer-events: none;
}

.price-card::after {
  content: "";
  position: absolute;
  bottom: -60px; left: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.14), transparent 70%);
  pointer-events: none;
}

.price-tag {
  position: relative;
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
  font-weight: 800;
}

.price-value {
  position: relative;
  font-family: var(--font-display);
  font-size: 60px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: #fff;
}

.price-value b {
  font-style: italic;
  color: var(--orange);
  font-weight: 400;
}

.price-note {
  position: relative;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 26px;
  line-height: 1.5;
}

.price-inclus {
  position: relative;
  list-style: none;
  margin-bottom: 30px;
}

.price-inclus li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 10px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.price-inclus li:last-child { border: none; }

.price-inclus li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--orange);
  margin-top: 7px;
}

.price-card .btn-primary {
  position: relative;
  width: 100%;
}

/* === LANDING : FAQ === */
.faq-wrap {
  max-width: 840px;
  margin: 0 auto;
}

details.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color 0.2s;
}
details.faq-item[open] { border-color: rgba(249, 115, 22, 0.4); }

details.faq-item summary {
  padding: 20px 26px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
details.faq-item summary::-webkit-details-marker { display: none; }

details.faq-item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--orange);
  line-height: 1;
  font-weight: 400;
  transition: transform 0.3s;
}
details.faq-item[open] summary::after { transform: rotate(45deg); }

details.faq-item .faq-answer {
  padding: 0 26px 22px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* === LANDING : TOOL PROMO INLINE (Quizmaster / Whiteboard) === */
.tool-promo {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.tool-promo-text .section-title { margin-bottom: 16px; }
.tool-promo-text .btn { margin-top: 8px; }
.tool-promo-card {
  position: relative;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 24px 60px -16px rgba(15, 26, 46, 0.12);
}
.tool-promo-card strong {
  display: block;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 12px;
}
.tool-promo-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.tool-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #047857;
  margin-bottom: 16px;
}
.tool-badge-live::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
  animation: tool-live-pulse 2s ease-in-out infinite;
}
@keyframes tool-live-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2); }
  50% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.05); }
}
.tool-promo-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.tool-promo-stats div b {
  display: block;
  font-size: 14px;
  color: var(--orange);
  font-weight: 700;
}
.tool-promo-stats div small {
  display: block;
  font-size: 11.5px;
  color: var(--ink-muted);
  margin-top: 2px;
}

/* === CTA FINAL (home + landing) === */
.cta-final {
  position: relative;
  background: var(--navy-deep);
  background-image:
    radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.18), transparent 45%),
    radial-gradient(circle at 20% 80%, rgba(34, 211, 238, 0.1), transparent 45%);
  color: #fff;
  padding: 72px 52px;
  border-radius: 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 52px;
  align-items: center;
  overflow: hidden;
}

.cta-final.cta-final-lg {
  padding: 80px 56px;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
}

.cta-final::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.cta-final h2 {
  position: relative;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.cta-final h2 em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--orange);
}

.cta-final p {
  position: relative;
  color: rgba(255, 255, 255, 0.76);
  font-size: 15.5px;
  margin-bottom: 24px;
  line-height: 1.6;
}

/* HOME : cta-options */
.cta-options {
  position: relative;
  display: grid;
  gap: 10px;
}

.cta-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: all 0.25s;
  cursor: pointer;
  color: #fff;
}

.cta-option:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(249, 115, 22, 0.4);
}

.cta-option strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 2px;
}

.cta-option small {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.cta-option-arrow {
  color: var(--orange);
  font-weight: 700;
  font-size: 18px;
  transition: transform 0.25s;
}

.cta-option:hover .cta-option-arrow { transform: translateX(4px); }

/* LANDING : cta-checklist */
.cta-checklist {
  position: relative;
  padding: 26px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.cta-checklist strong {
  display: block;
  color: var(--orange);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  font-weight: 800;
}

.cta-checklist ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.cta-checklist li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13.5px;
  line-height: 1.45;
}

.cta-checklist li::before {
  content: "\2713";
  color: var(--orange);
  font-weight: 700;
}

/* === FOOTER === */
footer {
  padding: 48px 0 32px;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.55);
  font-size: 13.5px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

footer a { color: rgba(255, 255, 255, 0.75); }
footer a:hover { color: var(--orange); }

.footer-eco {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-eco strong {
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-right: 16px;
}
.footer-eco a {
  display: inline-flex;
  flex-direction: column;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 13.5px;
  font-weight: 600;
  transition: all 0.2s;
}
.footer-eco a:hover {
  background: rgba(249, 115, 22, 0.1);
  border-color: rgba(249, 115, 22, 0.3);
  color: #fff !important;
}
.footer-eco a small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}
.footer-eco a:hover small { color: rgba(255, 255, 255, 0.7); }

/* === RGPD === */
.rgpd {
  position: fixed;
  bottom: 20px; left: 20px; right: 20px;
  max-width: 440px;
  padding: 18px 22px;
  background: var(--ink);
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.4);
  z-index: 100;
  font-size: 13.5px;
  line-height: 1.55;
}

.rgpd a { color: var(--cyan); text-decoration: underline; }
.rgpd-actions { display: flex; gap: 10px; margin-top: 12px; }
.rgpd-btn {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-family: Inter, sans-serif;
}
.rgpd-btn.ok {
  background: var(--orange);
  border-color: var(--orange);
}

/* === ACCESSIBILITÉ + ANCRES === */
section[id] { scroll-margin-top: 80px; }
.skip-link {
  position: absolute; top: -40px; left: 8px;
  background: var(--orange); color: #fff; padding: 8px 16px;
  border-radius: 4px; z-index: 1000; font-weight: 600;
}
.skip-link:focus { top: 8px; }
*:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
  border-radius: 4px;
}

/* === HERO SIMPLE (pages légales, contact) === */
.hero.hero-simple {
  min-height: auto;
  padding: 64px 0 56px;
}
.hero.hero-simple .hero-grid {
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 820px;
  margin: 0 auto;
  text-align: left;
}
.hero.hero-simple h1 {
  font-size: clamp(36px, 4.5vw, 56px);
  margin-bottom: 20px;
}
.hero.hero-simple .hero-lead {
  font-size: 17px;
  max-width: 680px;
  margin-bottom: 24px;
}

/* === PROSE (contenu rédactionnel pages légales) === */
.prose {
  max-width: 820px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.prose h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-top: 44px;
  margin-bottom: 14px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 28px;
  margin-bottom: 10px;
}
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol {
  margin: 0 0 20px 24px;
  padding: 0;
}
.prose li { margin-bottom: 8px; }
.prose a {
  color: var(--orange-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose a:hover { color: var(--orange); }
.prose strong { color: var(--ink); font-weight: 700; }
.prose code {
  font-family: ui-monospace, monospace;
  font-size: 14px;
  padding: 2px 6px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14.5px;
}
.prose table th,
.prose table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.prose table th {
  background: var(--paper);
  font-weight: 700;
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0.01em;
}
.prose .last-update {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(249, 115, 22, 0.08);
  color: var(--orange-hover);
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 24px;
}

/* === CONTACT PAGE === */
.contact-options {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px 28px;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
}
.contact-card:hover {
  border-color: rgba(249, 115, 22, 0.3);
  box-shadow: 0 20px 50px -14px rgba(15, 26, 46, 0.1);
}
.contact-card.contact-card-primary {
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}
.contact-card.contact-card-primary::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.18), transparent 60%);
  pointer-events: none;
}
.contact-card-eyebrow {
  position: relative;
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.contact-card h2 {
  position: relative;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.contact-card.contact-card-primary h2 { color: #fff; }
.contact-card p {
  position: relative;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 18px;
  flex: 1;
}
.contact-card.contact-card-primary p { color: rgba(255, 255, 255, 0.76); }
.contact-card .btn { align-self: flex-start; }

/* === CONTACT FORM === */
.contact-form-wrap {
  max-width: 820px;
  margin: 0 auto;
}
.contact-form {
  display: grid;
  gap: 16px;
}
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form .form-group { display: grid; gap: 6px; }
.contact-form label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: Inter, sans-serif;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
}
.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}
.contact-form .form-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.contact-form .form-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  accent-color: var(--orange);
}
.contact-form .form-check a {
  color: var(--orange-hover);
  text-decoration: underline;
}

/* === FORM CONSENT (A3 correctif : case RGPD proeminente) === */
.contact-form .form-consent,
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 8px;
  transition: border-color 0.2s, background 0.2s;
}
.form-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--orange);
  flex-shrink: 0;
}
.form-consent label {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
  cursor: pointer;
  font-weight: 500;
}
.form-consent label a {
  color: var(--orange-hover);
  text-decoration: underline;
  font-weight: 600;
}
.form-consent label .required {
  color: var(--orange);
  font-weight: 700;
  margin-left: 2px;
}
.form-consent.is-invalid {
  border-color: var(--red);
  background: rgba(239, 68, 68, 0.05);
  animation: form-consent-shake 0.4s ease-in-out;
}
.form-consent.is-invalid label {
  color: #991b1b;
}
@keyframes form-consent-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}
.contact-form button[type="submit"] {
  margin-top: 8px;
  width: 100%;
}
.form-success {
  display: none;
  padding: 28px 24px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 14px;
  text-align: center;
}
.form-success.show,
.form-success.is-visible { display: block; }
.contact-form .form-error {
  border-color: var(--red) !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}
.form-success h2 {
  color: #047857;
  font-size: 20px;
  margin-bottom: 8px;
}
.form-success p {
  color: var(--ink-soft);
  font-size: 14.5px;
}

/* === CONTACT : autres blocs === */
.contact-other {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
}
.contact-other-item {
  padding: 24px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.contact-other-item strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 10px;
}
.contact-other-item a {
  display: inline-block;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.contact-other-item a:hover { color: var(--orange-hover); }
.contact-other-item p {
  font-size: 13.5px;
  color: var(--ink-muted);
  line-height: 1.55;
}

.contact-practical {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.contact-practical-item strong {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 6px;
}
.contact-practical-item p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ==========================================================================
   BLOG (A4)
   Badges catégories : auto=cyan, erp=purple, form=green, transfo=amber, souv=rose
   ========================================================================== */

/* Hero blog (réutilise .hero-simple) */
.blog-hero-badge {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(249, 115, 22, 0.1);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}

/* Filter bar */
.blog-bar {
  display: flex;
  gap: 16px;
  margin: 32px 0 20px;
  padding: 16px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.blog-filters { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; }
.blog-filter {
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.blog-filter:hover { border-color: rgba(249, 115, 22, 0.4); color: var(--orange); }
.blog-filter.active { border-color: var(--orange); color: var(--orange); background: rgba(249, 115, 22, 0.08); }
.blog-filter .cnt { opacity: 0.6; margin-left: 4px; font-weight: 400; }
.blog-filter[data-cat="auto"].active { border-color: var(--cyan); color: #0e7490; background: rgba(34, 211, 238, 0.08); }
.blog-filter[data-cat="erp"].active { border-color: var(--purple); color: #6d28d9; background: rgba(139, 92, 246, 0.08); }
.blog-filter[data-cat="form"].active { border-color: #10b981; color: #047857; background: rgba(16, 185, 129, 0.08); }
.blog-filter[data-cat="transfo"].active { border-color: var(--amber); color: #b45309; background: rgba(245, 158, 11, 0.08); }
.blog-filter[data-cat="souv"].active { border-color: var(--rose-400); color: #b91c1c; background: rgba(251, 113, 133, 0.08); }

.blog-bar-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.blog-search { position: relative; }
.blog-search input {
  width: 200px;
  padding: 8px 12px 8px 34px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-family: Inter, sans-serif;
  font-size: 13px;
  outline: none;
  transition: all 0.2s;
}
.blog-search input:focus { border-color: var(--orange); width: 240px; box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.08); }
.blog-search input::placeholder { color: var(--ink-muted); }
.blog-search-icon { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--ink-muted); font-size: 14px; pointer-events: none; }
.blog-sort {
  font-family: Inter, sans-serif;
  font-size: 13px;
  padding: 8px 32px 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='8' height='5' viewBox='0 0 8 5' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L4 4L7 1' stroke='%23f97316' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.blog-count {
  font-size: 11px;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin: 24px 0 16px;
}

/* Grid 3 cols */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

/* Card article */
.blog-card {
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  text-decoration: none;
  transition: all 0.25s;
  overflow: hidden;
}
.blog-card:hover {
  transform: translateY(-3px);
  border-color: rgba(249, 115, 22, 0.3);
  box-shadow: 0 20px 48px -14px rgba(15, 26, 46, 0.12);
}
.blog-card.hidden { display: none; }

.card-hdr {
  position: relative;
  padding: 20px 20px;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.card-hdr::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
}
.card-hdr::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.3;
}
.card-hdr.cat-auto::before { background: linear-gradient(135deg, rgba(34, 211, 238, 0.14) 0%, rgba(34, 211, 238, 0.03) 100%); }
.card-hdr.cat-erp::before { background: linear-gradient(135deg, rgba(139, 92, 246, 0.14) 0%, rgba(139, 92, 246, 0.03) 100%); }
.card-hdr.cat-form::before { background: linear-gradient(135deg, rgba(16, 185, 129, 0.14) 0%, rgba(16, 185, 129, 0.03) 100%); }
.card-hdr.cat-transfo::before { background: linear-gradient(135deg, rgba(245, 158, 11, 0.14) 0%, rgba(245, 158, 11, 0.03) 100%); }
.card-hdr.cat-souv::before { background: linear-gradient(135deg, rgba(251, 113, 133, 0.14) 0%, rgba(251, 113, 133, 0.03) 100%); }

.card-hdr-cat {
  position: relative;
  z-index: 1;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  font-weight: 700;
}
.card-hdr-cat.cat-auto { color: #0e7490; }
.card-hdr-cat.cat-erp { color: #6d28d9; }
.card-hdr-cat.cat-form { color: #047857; }
.card-hdr-cat.cat-transfo { color: #b45309; }
.card-hdr-cat.cat-souv { color: #b91c1c; }

.card-hdr h3 {
  position: relative;
  z-index: 1;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.card-hdr .wm {
  position: absolute;
  bottom: 6px;
  right: 10px;
  z-index: 1;
  font-family: ui-monospace, monospace;
  font-size: 9px;
  color: var(--ink-muted);
  opacity: 0.4;
}

.card-bdy { padding: 16px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card-bdy-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.card-bdy-cat { font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.card-bdy-cat.cat-auto { color: #0e7490; }
.card-bdy-cat.cat-erp { color: #6d28d9; }
.card-bdy-cat.cat-form { color: #047857; }
.card-bdy-cat.cat-transfo { color: #b45309; }
.card-bdy-cat.cat-souv { color: #b91c1c; }

.card-badge {
  font-family: ui-monospace, monospace;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}
.card-badge.cat-auto { color: #0e7490; background: rgba(34, 211, 238, 0.1); }
.card-badge.cat-erp { color: #6d28d9; background: rgba(139, 92, 246, 0.1); }
.card-badge.cat-form { color: #047857; background: rgba(16, 185, 129, 0.1); }
.card-badge.cat-transfo { color: #b45309; background: rgba(245, 158, 11, 0.1); }
.card-badge.cat-souv { color: #b91c1c; background: rgba(251, 113, 133, 0.1); }

.card-title {
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  color: var(--ink);
}
.card-desc {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 14px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 12px; }
.card-tags span {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--line);
  color: var(--ink-muted);
  font-weight: 500;
}
.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--ink-muted);
}

/* Pagination */
.blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 48px 0 0;
}
.pg-btn {
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}
.pg-btn:hover { border-color: var(--orange); color: var(--orange); }
.pg-btn.active { background: var(--orange); color: #fff; border-color: var(--orange); }
.pg-btn.disabled { opacity: 0.3; pointer-events: none; }
.blog-empty { text-align: center; padding: 60px 0; color: var(--ink-muted); font-size: 14px; }

@media (max-width: 780px) {
  .blog-bar { flex-direction: column; align-items: stretch; }
  .blog-bar-right { justify-content: space-between; }
  .blog-search input { width: 100%; }
  .blog-search input:focus { width: 100%; }
  .blog-search { flex: 1; }
}

/* === ARTICLE VIEW (layout 2 colonnes avec sidebar sticky) === */
.article-page { padding: 0 0 80px; }

.article-header { padding: 40px 0 32px; }
.article-header .blog-article-meta { max-width: 760px; }

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.article-main { max-width: 760px; min-width: 0; }

.article-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
  height: fit-content;
}

.sidebar-block {
  margin-bottom: 20px;
  border-radius: 12px;
  padding: 20px 22px;
}
.sidebar-block.sidebar-toc,
.sidebar-block.sidebar-tags,
.sidebar-block.sidebar-related { background: #fff; border: 1px solid var(--line); }
.sidebar-block.sidebar-cta { background: #050b1c; color: #fff; }

.sidebar-heading {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
  margin: 0 0 14px 0;
}

.sidebar-toc ul { margin: 0; padding: 0; list-style: none; }
.sidebar-toc li { margin: 2px 0; }
.sidebar-toc a {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--ink-soft);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
}
.sidebar-toc a:hover { background: var(--paper); color: var(--ink); }
.sidebar-toc a.is-active {
  background: rgba(249, 115, 22, 0.08);
  color: var(--ink);
  font-weight: 600;
  border-left-color: var(--orange);
}

.sidebar-cta-title {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px 0;
  line-height: 1.3;
}
.sidebar-cta-lead {
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 16px 0;
}
.sidebar-cta-btn {
  display: block;
  width: 100%;
  padding: 12px 16px;
  background: var(--orange);
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s ease;
}
.sidebar-cta-btn:hover { background: var(--orange-dark, #ea580c); }

.sidebar-tags-list { display: flex; flex-wrap: wrap; gap: 6px; }
.sidebar-tag {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--ink-soft);
  text-decoration: none;
  transition: all 0.2s ease;
}
.sidebar-tag:hover { border-color: var(--orange); color: var(--orange); }

.sidebar-related-item {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.sidebar-related-item:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-related-item:first-of-type { padding-top: 0; }
.sidebar-related-category {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  display: block;
  margin-bottom: 4px;
}
.sidebar-related-title {
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 4px;
  transition: color 0.2s ease;
}
.sidebar-related-item:hover .sidebar-related-title { color: var(--orange); }
.sidebar-related-date { font-size: 12px; color: var(--ink-soft); }

/* CTA inline sous les tags de l'article */
.article-inline-cta { margin: 24px 0 0; }

/* Sommaire inline : masqué en desktop (la sidebar prend le relais), visible en mobile */
.article-toc-mobile { display: none; }

@media (max-width: 1080px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .article-sidebar {
    position: static;
    order: 2;
  }
  .sidebar-block.sidebar-toc { display: none; }
  .article-toc-mobile { display: block; }
  .article-main { max-width: 100%; }
}

/* === BLOG HUB : featured card + 2-col layout + sidebar === */
.blog-featured {
  padding: 28px 0 12px;
  background: var(--paper);
}
.featured-card {
  max-width: 1000px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px;
  position: relative;
}
.featured-badge {
  position: absolute;
  top: -12px;
  left: 32px;
  padding: 6px 14px;
  background: var(--orange);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 6px;
}
.featured-category {
  display: inline-block;
  padding: 4px 10px;
  background: var(--paper);
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.featured-title {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px 0;
  letter-spacing: -0.015em;
}
.featured-title a { color: var(--ink); text-decoration: none; transition: color 0.2s; }
.featured-title a:hover { color: var(--orange); }
.featured-excerpt {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 20px 0;
  max-width: 750px;
}
.featured-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.featured-meta span + span::before { content: "·"; margin-right: 16px; color: var(--ink-muted); }
@media (max-width: 780px) {
  .featured-card { padding: 28px 22px; }
  .featured-badge { left: 20px; }
  .featured-title { font-size: 22px; }
  .featured-excerpt { font-size: 15.5px; }
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: start;
}
.blog-main { min-width: 0; }
.blog-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
  height: fit-content;
}
.sidebar-themes-list { list-style: none; padding: 0; margin: 0; }
.sidebar-themes-list li { border-bottom: 1px solid var(--line); }
.sidebar-themes-list li:last-child { border-bottom: none; }
.sidebar-themes-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}
.sidebar-themes-list a:hover { color: var(--orange); }
.sidebar-themes-list .theme-count { color: var(--ink-muted); font-size: 13px; font-weight: 600; }

/* Bouton CTA "Lire l'article" dans chaque card du hub */
.card-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 14px;
  padding: 9px 14px;
  background: var(--orange);
  color: #fff;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  width: fit-content;
  transition: background 0.2s ease;
}
.blog-card:hover .card-cta-btn { background: var(--orange-dark, #ea580c); }

@media (max-width: 1080px) {
  .blog-layout { grid-template-columns: 1fr; gap: 40px; }
  .blog-sidebar { position: static; order: 2; }
}

/* === ARTICLE VIEW (legacy, conservé pour compat) === */
.blog-article { max-width: 760px; margin: 0 auto; padding: 40px 24px 80px; }
.blog-article-meta { margin-bottom: 28px; }
.blog-article-category {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
}
.blog-article-category.cat-auto { color: #0e7490; background: rgba(34, 211, 238, 0.1); }
.blog-article-category.cat-erp { color: #6d28d9; background: rgba(139, 92, 246, 0.1); }
.blog-article-category.cat-form { color: #047857; background: rgba(16, 185, 129, 0.1); }
.blog-article-category.cat-transfo { color: #b45309; background: rgba(245, 158, 11, 0.1); }
.blog-article-category.cat-souv { color: #b91c1c; background: rgba(251, 113, 133, 0.1); }
.blog-article h1,
.article-header .blog-article-meta h1 {
  font-size: clamp(28px, 3.8vw, 42px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--ink);
}
.blog-article-excerpt { font-size: 17px; color: var(--ink-soft); line-height: 1.6; margin-bottom: 16px; }
.blog-article-date { font-size: 13px; color: var(--ink-muted); font-weight: 500; }
.blog-article-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.blog-article-tags a {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--line);
  color: var(--ink-muted);
  text-decoration: none;
  transition: all 0.2s;
  font-weight: 600;
}
.blog-article-tags a:hover { border-color: var(--orange); color: var(--orange); }

.blog-article-img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  border-radius: 14px;
  margin: 24px 0 32px;
}

/* Body article : réutilise .prose de main.css mais avec ajustements blog */
.blog-body { margin-top: 32px; }
.blog-body h2 {
  font-size: clamp(22px, 2.8vw, 28px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 44px 0 14px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink);
}
.blog-body h3 { font-size: 19px; font-weight: 700; margin: 28px 0 12px; color: var(--ink); }
.blog-body p { font-size: 16px; color: var(--ink-soft); line-height: 1.75; margin-bottom: 16px; }
.blog-body strong { color: var(--ink); font-weight: 700; }
.blog-body a {
  color: var(--orange-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}
.blog-body a:hover { color: var(--orange); }
.blog-body ul, .blog-body ol { margin: 12px 0 20px 24px; padding: 0; }
.blog-body li { font-size: 16px; color: var(--ink-soft); line-height: 1.7; margin-bottom: 8px; }
.blog-body code {
  font-family: ui-monospace, monospace;
  font-size: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 2px 7px;
  border-radius: 4px;
  color: var(--ink);
}

.blog-cta {
  margin-top: 56px;
  padding: 32px;
  border-radius: 16px;
  border: 1px solid rgba(249, 115, 22, 0.3);
  background: rgba(249, 115, 22, 0.04);
  text-align: center;
}
.blog-cta h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.blog-cta p { font-size: 15px; color: var(--ink-soft); margin-bottom: 20px; }

.blog-crosssell {
  margin-top: 32px;
  padding: 18px 22px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.65;
}
.blog-crosssell-label {
  display: block;
  font-size: 10.5px;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  font-weight: 700;
}
.blog-crosssell a { color: var(--orange-hover); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

.blog-related { margin-top: 56px; }
.blog-related h3 {
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}
.blog-related-list { display: grid; gap: 12px; }
.blog-related-card {
  display: block;
  padding: 18px 22px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  text-decoration: none;
  transition: all 0.25s;
}
.blog-related-card:hover { border-color: rgba(249, 115, 22, 0.3); box-shadow: 0 14px 30px -14px rgba(15, 26, 46, 0.1); }
.blog-related-card h4 { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.blog-related-card p { font-size: 13px; color: var(--ink-muted); line-height: 1.55; }

/* === BLOG : auteur + breadcrumb article + sommaire === */
.blog-article-author {
  color: var(--orange);
  text-decoration: none;
  font-weight: 600;
}
.blog-article-author:hover { text-decoration: underline; }

.article-breadcrumb {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-bottom: 24px;
  padding-top: 24px;
}
.article-breadcrumb a {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}
.article-breadcrumb a:hover { color: var(--orange); }
.article-breadcrumb .breadcrumb-sep {
  margin: 0 6px;
  color: var(--line);
}
.article-breadcrumb .breadcrumb-category {
  color: var(--ink-soft);
  font-weight: 500;
}
.article-breadcrumb .breadcrumb-current {
  color: var(--ink);
  font-weight: 500;
  display: inline-block;
  max-width: 280px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}
@media (max-width: 680px) {
  .article-breadcrumb { font-size: 12px; }
  .article-breadcrumb .breadcrumb-current { max-width: 160px; }
}

.article-toc {
  background: var(--paper);
  border-left: 3px solid var(--orange);
  border-radius: 8px;
  padding: 20px 24px;
  margin: 28px 0 36px;
}
.article-toc .toc-heading {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin: 0 0 12px 0;
}
.article-toc ul {
  margin: 0;
  padding: 0 0 0 20px;
  list-style: disc;
}
.article-toc li {
  margin: 6px 0;
  font-size: 14.5px;
  line-height: 1.5;
}
.article-toc li::marker { color: var(--orange); }
.article-toc a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease;
}
.article-toc a:hover { color: var(--orange); }

/* scroll-margin pour éviter que le H2 soit caché sous le header lors du clic sur ancre */
.blog-body h2 { scroll-margin-top: 80px; }

/* === ARTICLES SECTION (cartes articles sur pages stratégiques) === */
.articles-section .section-head { margin-bottom: 36px; }

.page-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.page-article-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  transition: all 0.25s ease;
}

.page-article-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -14px rgba(15, 26, 46, 0.12);
  border-color: rgba(249, 115, 22, 0.3);
}

.page-article-card .article-card-category {
  display: inline-block;
  padding: 4px 10px;
  background: var(--paper);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin-bottom: 14px;
  width: fit-content;
}

.page-article-card .article-card-title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 12px 0;
  letter-spacing: -0.01em;
}

.page-article-card .article-card-title a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s;
}

.page-article-card .article-card-title a:hover { color: var(--orange); }

.page-article-card .article-card-excerpt {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0 0 16px 0;
  flex: 1;
}

.page-article-card .article-card-meta {
  display: flex;
  gap: 16px;
  font-size: 12.5px;
  color: var(--ink-muted);
  margin-bottom: 14px;
  font-weight: 500;
}

.page-article-card .article-card-link {
  color: var(--orange);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s;
}

.page-article-card .article-card-link:hover { color: var(--orange-dark, #ea580c); }

@media (max-width: 1080px) {
  .page-articles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .page-articles-grid { grid-template-columns: 1fr; }
}

/* === BLOG : hero stats + écosystème === */
.blog-hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.blog-hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.blog-hero-stat strong {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
  color: var(--orange);
  font-style: italic;
}
.blog-hero-stat span {
  font-size: 13px;
  color: var(--ink-muted);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.blog-ecosystem-block {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.blog-ecosystem-eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 16px;
}
.blog-ecosystem-block h2 {
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 18px;
}
.blog-ecosystem-block h2 em {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  color: var(--orange);
}
.blog-ecosystem-block > p {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 28px;
}
.blog-ecosystem-block > p a { color: var(--orange); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.blog-ecosystem-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.blog-ecosystem-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s;
}
.blog-ecosystem-link:hover {
  border-color: rgba(249, 115, 22, 0.4);
  box-shadow: 0 10px 24px -14px rgba(15, 26, 46, 0.15);
  transform: translateY(-2px);
}
.blog-ecosystem-link strong { color: var(--ink); font-size: 15px; font-weight: 700; }
.blog-ecosystem-link span { color: var(--ink-muted); font-size: 13px; }
@media (max-width: 780px) {
  .blog-ecosystem-links { grid-template-columns: 1fr; }
  .blog-ecosystem-block h2 { font-size: 24px; }
}

/* === CONTACT FLASH MESSAGES (?sent=1 ou ?error=) === */
.contact-flash {
  padding: 16px 0;
  font-size: 14.5px;
  text-align: center;
}
.contact-flash .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.contact-flash strong {
  font-weight: 700;
}
.contact-flash a {
  text-decoration: underline;
  font-weight: 600;
}
.contact-flash-success {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  border-top: 1px solid rgba(16, 185, 129, 0.25);
  border-bottom: 1px solid rgba(16, 185, 129, 0.25);
}
.contact-flash-success strong { color: #047857; }
.contact-flash-error {
  background: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
  border-top: 1px solid rgba(239, 68, 68, 0.25);
  border-bottom: 1px solid rgba(239, 68, 68, 0.25);
}
.contact-flash-error strong { color: #991b1b; }
.contact-flash-error a { color: #b91c1c; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1080px) {
  .hero-grid,
  .signature-block,
  .offer-grid,
  .diff-block,
  .cta-final,
  .cta-final.cta-final-lg,
  .blog-promo,
  .tool-promo {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .problems-grid,
  .solutions-grid,
  .cases-grid,
  .tools-grid,
  .pains-grid { grid-template-columns: 1fr 1fr; }

  .method-grid { grid-template-columns: repeat(2, 1fr); }
  .method-step:nth-child(2) { border-right: none; }
  .method-step:nth-child(1),
  .method-step:nth-child(2) { border-bottom: 1px solid var(--line); }

  .cta-final, .cta-final.cta-final-lg { padding: 56px 36px; }

  /* Workflow home : empilé */
  .hero.hero-home .hero-workflow {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: auto;
    justify-items: center;
    position: relative;
  }
  .wf-arrows { display: none; }
  .wf-arrows-v {
    display: flex !important;
    justify-content: center;
    gap: 20px;
    height: 32px;
    width: 100%;
  }
  .wf-arrows-v svg { width: 100%; max-width: 320px; height: 100%; }
  .wf-arrows-v path {
    fill: none;
    stroke: rgba(34, 211, 238, 0.55);
    stroke-width: 1.5;
    stroke-dasharray: 4 4;
    animation: wf-dash-v 20s linear infinite;
  }
  @keyframes wf-dash-v { to { stroke-dashoffset: -200; } }

  .wf-inputs {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  .wf-input {
    min-width: auto;
    padding: 10px 14px;
  }
  .wf-core { width: 130px; height: 130px; }
  .wf-core-name { font-size: 24px; }
  .wf-outputs { max-width: 420px; width: 100%; }
  .wf-note { position: static; text-align: center; margin-top: 4px; }

  /* Burger visible, nav en overlay plein écran */
  .nav-burger { display: block; }

  nav.main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 32px 24px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 55;
  }
  nav.main-nav.is-open { transform: translateX(0); }

  nav.main-nav > a,
  nav.main-nav .nav-item-dropdown > a {
    font-size: 18px;
    padding: 14px 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-item-dropdown { width: 100%; }

  .dropdown-menu {
    position: static;
    min-width: auto;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    padding: 8px 0 16px 16px;
    background: transparent;
    border-left: 2px solid rgba(249, 115, 22, 0.3);
    margin-left: 8px;
  }
  .dropdown-menu a { color: rgba(255,255,255,0.7) !important; padding: 10px 0; border-bottom: none; }
  .dropdown-menu a strong { color: rgba(255,255,255,0.9); font-size: 15px; }
  .dropdown-menu a small { color: rgba(255,255,255,0.5); font-size: 12px; }
  .dropdown-caret { display: none; }

  /* CTA header compact ou masqué sur mobile pour laisser place au burger */
  .cta-header { padding: 10px 16px; font-size: 13px; }

  /* Contact : grid 2 cols → 1 col */
  .contact-options,
  .contact-other,
  .contact-form-row { grid-template-columns: 1fr; gap: 20px; }
  .contact-practical { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
  .problems-grid,
  .solutions-grid,
  .cases-grid,
  .tools-grid,
  .pains-grid { grid-template-columns: 1fr; }
  .build-grid { grid-template-columns: 1fr; }
  .solution-card { min-height: auto; }

  .wf-outputs { max-width: 100%; }
  .wf-output { padding: 12px 14px; }
  .wf-output-title strong { font-size: 12.5px; }
  .wf-output-title small { font-size: 9px; }
}

@media (max-width: 680px) {
  .header-inner { padding: 14px 0; }
  .cta-header { display: none; }
  .contact-practical { grid-template-columns: 1fr; }
  .prose h2 { font-size: 22px; }
  .hero.hero-simple { padding: 48px 0 40px; }
  section.section { padding: 64px 0; }
  .hero { padding: 32px 0 56px; }
  .hero.hero-home { padding: 40px 0 64px; }
  .hero h1 { font-size: 40px; }
  .hero.hero-home h1 { font-size: 38px; }
  .hero-lead { font-size: 16px; }

  /* Workflow home mobile */
  .hero.hero-home .hero-workflow { gap: 20px; }
  .wf-inputs { gap: 8px; }
  .wf-input { padding: 8px 12px; flex: 0 1 auto; }
  .wf-input-ico { width: 24px; height: 24px; }
  .wf-input-ico svg { width: 14px; height: 14px; }
  .wf-input-label { font-size: 12px; }
  .wf-core { width: 110px; height: 110px; }
  .wf-core-name { font-size: 22px; }
  .wf-core-sub { font-size: 9px; }
  .wf-output { padding: 12px 14px; }
  .wf-out-bars { gap: 5px; }
  .wf-bar-track { height: 6px; }
  .wf-kpi { padding: 6px 8px; }
  .wf-kpi-val { font-size: 13px; }
  .wf-kpi-label { font-size: 8.5px; }
  .wf-donut { width: 44px; height: 44px; }

  /* Workflow landing mobile */
  .hero-workflow { min-height: 360px; gap: 10px; }
  .flow-core { width: 120px; height: 120px; }
  .flow-core-main { font-size: 22px; }
  .flow-core-sub { font-size: 10px; }
  .flow-node { padding: 10px 12px; }
  .flow-node-icon { width: 28px; height: 28px; font-size: 11px; }
  .flow-node-label { font-size: 12.5px; }
  .flow-node-sub { font-size: 10.5px; }

  .method-grid { grid-template-columns: 1fr; }
  .method-step { border-right: none; border-bottom: 1px solid var(--line); }
  .method-step:last-child { border-bottom: none; }

  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .cta-final, .cta-final.cta-final-lg { padding: 40px 24px; }
  .diff-block, .signature-block { gap: 32px; }
  .problem-card { flex-direction: column; gap: 12px; }
  .price-card { padding: 32px 24px; }
}
