/* =========================================================================
   NYAMTECHS — site.css  (Light-first · Stripe × Linear)
   Navy is RESERVED: only .hero / .cta-band / .ftr are dark zones.
   ========================================================================= */

@import url('tokens.css');

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--fg1);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: var(--lh-relaxed);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; background: none; border: none; }
::selection { background: var(--accent-soft); color: var(--accent-active); }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; border-radius: var(--radius-sm); }

/* ── Layout ── */
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 40px; }
.sec-pad { padding: var(--sp-10) 0; }
section { position: relative; }

/* ── Shared primitives ── */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
  flex-shrink: 0;
}
.mlabel {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg3);
}
.chip {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 8px;
  color: var(--tech-ink);
  border: 1px solid var(--tech-soft-bd);
  background: var(--tech-soft);
  border-radius: var(--radius-0);
}

/* ── Buttons ── */
.btn {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-btn);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: all 150ms ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-primary:active { background: var(--accent-active); }
.btn-secondary { background: var(--surface); color: var(--fg1); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--fg2); }
.btn-ghost { background: transparent; color: var(--fg2); padding: 13px 8px; border-color: transparent; }
.btn-ghost:hover { color: var(--fg1); }

/* On navy zones */
.on-navy .btn-secondary,
.hero .btn-secondary,
.cta-band .btn-secondary {
  background: transparent;
  color: var(--fg1-on-navy);
  border-color: rgba(255,255,255,0.22);
}
.on-navy .btn-secondary:hover,
.hero .btn-secondary:hover,
.cta-band .btn-secondary:hover { border-color: rgba(255,255,255,0.5); }

/* ── Section heads (light) ── */
.sec-head { max-width: 640px; }
.sec-head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--fg1);
  margin: 18px 0 0;
}
.sec-head p {
  font-size: 17px;
  color: var(--fg2);
  line-height: var(--lh-relaxed);
  margin-top: 16px;
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════
   HEADER — light, sticky, solid
═══════════════════════════════════════ */
.hdr {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 200ms ease;
}
.hdr.raised { box-shadow: var(--shadow-sm); }
.hdr-in {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.hdr-logo { display: flex; align-items: center; flex-shrink: 0; }
.hdr-logo img { height: 30px; width: auto; }
.hdr-nav { display: flex; align-items: center; gap: 28px; }
.hdr-nav a {
  font-size: 14px;
  color: var(--fg2);
  transition: color 140ms;
  font-weight: 500;
}
.hdr-nav a:hover { color: var(--fg1); }
.hdr-actions { display: flex; align-items: center; gap: 12px; }
.hdr-actions .btn { padding: 9px 16px; font-size: 14px; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 200;
}
.burger span {
  display: block; width: 22px; height: 2px;
  background: var(--fg1); border-radius: 2px;
  transition: all 200ms ease;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  z-index: 99;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 1.3rem; font-weight: 600; color: var(--fg1); }
.mobile-nav a:hover { color: var(--accent); }

/* ═══════════════════════════════════════
   NAVY ZONE 1 — HERO
═══════════════════════════════════════ */
.hero {
  background: var(--navy);
  padding: 100px 0 104px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow { color: var(--accent); margin-bottom: 22px; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 800;
  color: var(--fg1-on-navy);
}
.hero h1 .accent { color: var(--accent); }
.hero .lead {
  font-size: 19px;
  line-height: var(--lh-relaxed);
  color: var(--fg2-on-navy);
  margin: 26px 0 36px;
  max-width: 500px;
}
.hero-cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* Terminal panel */
.term {
  background: var(--navy-deep);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
  overflow: hidden;
}
.term-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
}
.term-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.t-red    { background: #FA4D56; }
.t-yellow { background: #F5A623; }
.t-green  { background: #34D399; }
.term-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg3-on-navy);
  margin-left: 8px;
  letter-spacing: 0.06em;
}
.term-body {
  padding: 16px 18px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--fg2-on-navy);
}
.term-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 3px 0;
  white-space: nowrap;
}
.term-header-row {
  color: var(--fg3-on-navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 8px;
  margin-bottom: 6px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.term-ref { color: var(--coral-400); }
.term-skill { color: var(--fg2-on-navy); margin-left: 6px; }
.term-status { display: flex; align-items: center; gap: 6px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.term-footer {
  color: var(--teal-400);
  margin-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
}
.term-footer .prompt { color: var(--fg3-on-navy); }

/* ═══════════════════════════════════════
   STATS — light, thin dividers
═══════════════════════════════════════ */
.stats-band { padding: var(--sp-8) 0; border-bottom: 1px solid var(--border); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 4px 28px;
  border-left: 1px solid var(--border);
}
.stat:first-child { border-left: none; padding-left: 0; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  line-height: 1;
  color: var(--fg1);
  letter-spacing: -0.03em;
}
.stat-num em { color: var(--accent); font-style: normal; }
.stat-lbl { margin-top: 14px; }

/* ═══════════════════════════════════════
   SERVICES — light, 2×2 grid, mono numbers
═══════════════════════════════════════ */
.services { background: var(--bg); }
.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: var(--sp-8);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.svc {
  padding: 36px 38px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 160ms;
}
.svc:hover { background: var(--surface); }
.svc-idx {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.svc h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin: 18px 0 10px;
  color: var(--fg1);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.svc p { font-size: 15px; line-height: 1.62; color: var(--fg2); }
.svc .tags { display: flex; gap: 6px; margin-top: 18px; flex-wrap: wrap; }

/* ═══════════════════════════════════════
   NEARSHORE / MODÈLE — grey alt bg
═══════════════════════════════════════ */
.nearshore { background: var(--bg-alt); }
.near-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: center;
}
.near-kpis {
  display: flex;
  gap: 28px;
  margin-top: 28px;
}
.kpi-num {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  color: var(--tech-ink);
  line-height: 1;
}
.kpi-num.coral { color: var(--accent); }
.flow { display: flex; flex-direction: column; }
.flow-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.flow-step:last-child { border-bottom: none; }
.flow-n {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  padding-top: 3px;
  letter-spacing: 0.08em;
  flex-shrink: 0;
  min-width: 28px;
}
.flow-step h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--fg1);
  margin-bottom: 5px;
  line-height: 1.2;
}
.flow-step p { font-size: 14.5px; color: var(--fg2); line-height: 1.55; }

/* ═══════════════════════════════════════
   SÉCURITÉ — light, 3-col grid
═══════════════════════════════════════ */
.security { background: var(--bg); }
.sec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: var(--sp-8);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.sec-item {
  padding: 32px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 160ms;
}
.sec-item:hover { background: var(--surface); }
.sec-item h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--fg1);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.sec-item p { font-size: 14px; color: var(--fg2); line-height: 1.62; }
.sec-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}

/* ═══════════════════════════════════════
   ZFRAME — grey alt bg
═══════════════════════════════════════ */
.zframe-sec { background: var(--bg-alt); }
.zf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.zf-modules {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 32px 0 36px;
}
.zf-module {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 160ms;
}
.zf-module:hover { border-color: var(--tech-soft-bd); }
.zf-code {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--tech-ink);
  flex-shrink: 0;
  min-width: 42px;
}
.zf-name { font-size: 14px; color: var(--fg1); font-weight: 500; }

/* Terminal (dark by design, inside grey section) */
.zf-term {
  background: var(--navy-deep);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.zf-term .term-body {
  min-height: 280px;
}
.t-prompt { color: var(--teal-400); }
.t-ok     { color: var(--green-400); }
.t-code   { color: var(--slate-300); }
.t-out    { color: var(--fg1-on-navy); }
.t-cursor {
  display: inline-block;
  width: 7px; height: 13px;
  background: var(--teal-400);
  vertical-align: middle;
  animation: cur-blink 1s step-end infinite;
}
@keyframes cur-blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* ═══════════════════════════════════════
   NAVY ZONE 2 — CTA BAND
═══════════════════════════════════════ */
.cta-band-wrap { padding: 0 0 var(--sp-10); }
.cta-band {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 64px 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.cta-band .eyebrow { color: var(--accent); }
.cta-band .eyebrow::before { background: var(--accent); }
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--fg1-on-navy);
  margin-top: 16px;
}
.cta-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
  min-width: 220px;
}
.cta-btns .btn { justify-content: center; }

/* ═══════════════════════════════════════
   CONTACT — light
═══════════════════════════════════════ */
.contact { background: var(--bg); }
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: start;
}

/* Form */
.form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg2);
  letter-spacing: 0.01em;
}
.req { color: var(--accent); }
.field input,
.field select,
.field textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--fg1);
  outline: none;
  transition: border-color 150ms;
  width: 100%;
  -webkit-appearance: none;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--fg3); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: var(--glow-coral, 0 0 0 3px rgba(232,87,26,0.15));
}
.field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.field select option { background: var(--surface); color: var(--fg1); }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 13px; color: var(--fg3); }

/* Contact info panel */
.contact-info { display: flex; flex-direction: column; gap: 28px; padding-top: 8px; }
.contact-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.contact-block:last-child { border-bottom: none; padding-bottom: 0; }
.ci-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg3);
  display: block;
  margin-bottom: 2px;
}
.ci-val { font-size: 14px; color: var(--fg2); }
a.ci-val:hover { color: var(--accent); }

/* ═══════════════════════════════════════
   NAVY ZONE 3 — FOOTER
═══════════════════════════════════════ */
.ftr { background: var(--navy); padding: 72px 0 44px; }
.ftr-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}
.ftr h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg3-on-navy);
  margin-bottom: 16px;
}
.ftr a {
  display: block;
  font-size: 14px;
  color: var(--fg2-on-navy);
  padding: 5px 0;
  transition: color 140ms;
}
.ftr a:hover { color: var(--fg1-on-navy); }
.ftr-brand-desc {
  font-size: 14px;
  color: var(--fg3-on-navy);
  line-height: 1.6;
  margin-top: 18px;
  max-width: 280px;
}
.ftr-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.10);
  flex-wrap: wrap;
  gap: 12px;
}
.ftr-tagline { color: var(--teal-400); }
.ftr-copy { color: var(--fg3-on-navy); }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 900px) {
  .wrap { padding: 0 24px; }
  .sec-pad { padding: 64px 0; }

  .hdr-nav, .hdr-actions { display: none; }
  .burger { display: flex; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding: 80px 0 64px; }
  .hero .lead { max-width: none; }
  .term { display: none; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: none; padding-left: 0; padding-bottom: 24px; }

  .svc-grid { grid-template-columns: 1fr; }

  .near-grid { grid-template-columns: 1fr; gap: 40px; }

  .sec-grid { grid-template-columns: repeat(2, 1fr); }

  .zf-grid { grid-template-columns: 1fr; gap: 40px; }
  .zf-term { display: none; }

  .cta-band { flex-direction: column; align-items: flex-start; padding: 48px 36px; }
  .cta-btns { width: 100%; }
  .cta-btns .btn { width: 100%; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }

  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .ftr-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .sec-pad { padding: 48px 0; }
  .stats-grid { grid-template-columns: 1fr; }
  .sec-grid { grid-template-columns: 1fr; }
  .ftr-grid { grid-template-columns: 1fr; }
  .near-kpis { flex-direction: column; gap: 16px; }
  .cta-band { padding: 36px 24px; }
  .pipeline-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════
   PIPELINE-GRID — modele.html (version numéros)
═══════════════════════════════════════ */
.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 0;
}

.pipeline-grid .pipeline-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 200ms, box-shadow 200ms;
}

.pipeline-grid .pipeline-step:hover {
  border-color: var(--accent-soft-bd);
  box-shadow: var(--shadow-md);
}

.pipeline-num {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}

.pipeline-grid .pipeline-step h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--fg1);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.pipeline-grid .pipeline-step p {
  font-size: 14px;
  color: var(--fg2);
  line-height: 1.6;
  max-width: none;
}

/* ═══════════════════════════════════════
   PIPELINE — 4 étapes horizontal
═══════════════════════════════════════ */
.pipeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
  flex-wrap: nowrap;
  margin-bottom: 0;
}

.pipeline-step {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 200ms, box-shadow 200ms;
  position: relative;
}

.pipeline-step:hover {
  border-color: var(--accent-soft-bd);
  box-shadow: var(--shadow-md);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 14px;
}

.step-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(47, 224, 194, 0.10);
  border: 1px solid rgba(47, 224, 194, 0.22);
  border-radius: var(--radius-md);
  color: var(--tech-ink);
  margin-bottom: 16px;
  flex-shrink: 0;
}

.step-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.pipeline-step h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--fg1);
  margin-bottom: 8px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.pipeline-step p {
  font-size: 13px;
  color: var(--fg2);
  line-height: 1.6;
  max-width: none;
}

/* Flèche entre étapes */
.pipeline-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  flex-shrink: 0;
  margin-top: 52px; /* aligne avec le centre de l'icône */
  color: var(--fg3);
}

.pipeline-arrow svg {
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
}

/* Page hero (pages internes) */
.page-hero {
  background: var(--navy);
  padding: 80px 0 72px;
}

.page-hero .eyebrow { color: var(--accent); margin-bottom: 20px; }

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 800;
  color: var(--fg1-on-navy);
  margin-bottom: 0;
}

.page-hero h1 .accent { color: var(--accent); }

.page-hero .lead {
  font-size: 17px;
  color: var(--fg2-on-navy);
  line-height: 1.65;
  margin-top: 20px;
  max-width: 580px;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }

@media (max-width: 768px) {
  .audience-grid { grid-template-columns: 1fr !important; }

  /* Pipeline-grid mobile */
  .pipeline-grid { grid-template-columns: 1fr 1fr; }

  /* Pipeline mobile: vertical */
  .pipeline {
    flex-direction: column;
    align-items: stretch;
  }
  .pipeline-step {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
  }
  .step-icon { margin-bottom: 0; flex-shrink: 0; }
  .pipeline-arrow {
    margin-top: 0;
    transform: rotate(90deg);
    align-self: center;
    padding: 4px 0;
  }
}
