/* ============================================================
   Scalon LP v2 — composants partagés pour les 3 nouvelles landings
   - Pipeline 3-pass
   - Stats hero
   - Cas d'usage anonymisés (carte exemple)
   - Verbatims
   - Final CTA card
   ============================================================ */

/* ── Hero scaffolding commun ──────────────────────────────── */
.lp-hero {
  padding: 80px 0 96px;
  border-bottom: 1px solid var(--border);
}
.lp-hero .topline {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg3);
  margin-bottom: 28px;
}
.lp-hero .topline b { color: var(--fg2); font-weight: 500; }
.lp-hero .topline .sep { width: 1px; height: 12px; background: var(--border-strong); }

.lp-hero h1.h-display { max-width: 18ch; }
.lp-hero p.lead { max-width: 56ch; }

.lp-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

/* ── Stat strip réutilisable (volumes Scalon par vertical) ── */
.statstrip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 48px 0 0;
}
.statstrip .stat {
  padding: 28px 24px;
  border-right: 1px solid var(--border);
}
.statstrip .stat:last-child { border-right: 0; }
.statstrip .stat .n {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--fg1);
  display: block;
  margin-bottom: 8px;
}
.statstrip .stat .l {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--fg3);
}
.statstrip .stat .vert {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  display: block;
}
@media (max-width: 720px) {
  .statstrip { grid-template-columns: repeat(2, 1fr); }
  .statstrip .stat:nth-child(2) { border-right: 0; }
  .statstrip .stat:nth-child(1), .statstrip .stat:nth-child(2) { border-bottom: 1px solid var(--border); }
}

/* ── Pipeline 3-pass (ligne avec 3 cartes + flèches) ─────── */
.pipeline {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  margin-top: 48px;
}
.pipeline .step {
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pipeline .step .num {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.pipeline .step h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  margin: 0;
  letter-spacing: -0.015em;
}
.pipeline .step p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--fg2);
  margin: 0;
}
.pipeline .step .ex {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg3);
  padding-top: 10px;
  border-top: 1px dashed var(--border-strong);
  line-height: 1.5;
}
.pipeline .step .ex b { color: var(--fg1); font-weight: 500; }
.pipeline .arr {
  display: flex; align-items: center; justify-content: center;
  width: 36px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 18px;
}
@media (max-width: 860px) {
  .pipeline { grid-template-columns: 1fr; }
  .pipeline .arr { width: auto; height: 24px; transform: rotate(90deg); }
}

.pipeline-foot {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg3);
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}

/* ── Bloc exemple anonymisé (carte large) ────────────────── */
.example-card {
  border: 1px solid var(--border);
  background: var(--bg1);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  overflow: hidden;
}
@media (max-width: 860px) { .example-card { grid-template-columns: 1fr; } }

.example-card .ex-meta {
  background: var(--bg2);
  padding: 32px;
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 18px;
}
@media (max-width: 860px) {
  .example-card .ex-meta { border-right: 0; border-bottom: 1px solid var(--border); }
}
.ex-meta .anon-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg3);
}
.ex-meta .anon-tag .dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}
.ex-meta h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.15;
}
.ex-meta .ex-facts {
  display: flex; flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}
.ex-facts .row {
  display: flex; justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border);
  font-family: var(--font-mono);
  font-size: 12px;
}
.ex-facts .row span:first-child { color: var(--fg3); text-transform: uppercase; letter-spacing: 0.06em; }
.ex-facts .row span:last-child  { color: var(--fg1); font-weight: 500; }

.example-card .ex-body {
  padding: 32px;
  display: flex; flex-direction: column; gap: 18px;
}
.ex-body .takeaway {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--fg1);
}
.ex-body .takeaway em {
  color: var(--accent);
  font-style: normal;
  font-weight: 500;
}

/* ── Verbatim cards (extraits clients anonymisés) ────────── */
.verbatims {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
@media (max-width: 860px) { .verbatims { grid-template-columns: 1fr; } }
.verbatim {
  background: var(--bg2);
  border-left: 3px solid var(--accent);
  padding: 18px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg1);
}
.verbatim .meta {
  display: flex; gap: 10px; align-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg3);
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--border-strong);
}
.verbatim .meta .star { color: var(--accent); letter-spacing: -1px; }

/* ── Theme-tag list (familles de problèmes) ──────────────── */
.themes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  background: var(--bg1);
}
@media (max-width: 720px) { .themes { grid-template-columns: 1fr; } }
.theme {
  padding: 18px 22px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 14px;
}
.theme:nth-child(2n) { border-right: 0; }
.theme:nth-last-child(-n+2) { border-bottom: 0; }
@media (max-width: 720px) {
  .theme { border-right: 0; }
  .theme:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .theme:last-child { border-bottom: 0; }
}
.theme .num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg3);
  letter-spacing: 0.05em;
}
.theme .name {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--fg1);
  letter-spacing: -0.01em;
}
.theme .name small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  color: var(--fg2);
  margin-top: 2px;
}
.theme .count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  text-align: right;
}

/* ── Two-col split (lead + content) ──────────────────────── */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* ── FAQ / fold ──────────────────────────────────────────── */
.faq { border-top: 1px solid var(--border); margin-top: 32px; }
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 17px;
  color: var(--fg1);
  display: flex; justify-content: space-between; align-items: center;
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--accent);
  margin-left: 16px;
  transition: transform 200ms;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--fg2);
  line-height: 1.6;
  margin: 12px 0 0;
  max-width: 70ch;
}

/* ── Final CTA card ──────────────────────────────────────── */
.final-cta {
  background: var(--ink);
  color: #fafaf9;
  padding: 72px 0;
}
.final-cta .container { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 860px) { .final-cta .container { grid-template-columns: 1fr; gap: 32px; } }
.final-cta .eyebrow { color: var(--accent); }
.final-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #fafaf9;
  margin: 0 0 16px;
}
.final-cta h2 em {
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
  color: #d6d3d1;
}
.final-cta p { color: #d6d3d1; font-size: 16px; max-width: 50ch; }

.final-cta-form {
  background: #292524;
  border: 1px solid #44403c;
  border-radius: 8px;
  padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
}
.final-cta-form label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a8a29e;
}
.final-cta-form input,
.final-cta-form select,
.final-cta-form textarea {
  background: #1c1917;
  border: 1px solid #44403c;
  color: #fafaf9;
  padding: 12px 14px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
}
.final-cta-form input:focus,
.final-cta-form select:focus,
.final-cta-form textarea:focus { border-color: var(--accent); }
.final-cta-form input::placeholder { color: #78716c; }
.final-cta-form .btn { margin-top: 8px; justify-content: center; }
.final-cta-form .small {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #78716c;
  text-align: center;
}
.final-cta-form .success {
  text-align: center;
  padding: 12px 0;
}
.final-cta-form .success b { color: var(--accent); font-weight: 700; font-family: var(--font-heading); font-size: 22px; }

/* ── Section header reusable ─────────────────────────────── */
.sec-head { max-width: 70ch; margin-bottom: 40px; }

/* ── Tweaks panel hook ───────────────────────────────────── */
[data-vertical] { transition: opacity 200ms; }

/* ── Animations subtiles ─────────────────────────────────── */
@keyframes slidein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.fade-in { animation: slidein 600ms ease-out both; }
