/* ============================================================================
 * LP CONSEIL B2B — Circuits Paris Ouest × Traffic Monkeys
 * DA cohérente avec la LP B2B (bleu marque / or). Style "note de cabinet conseil".
 * Framework narratif : Pyramide de Minto + Situation/Complication/Résolution.
 * ========================================================================= */

:root {
  --ink: #111316;
  --ink-2: #3a3f45;
  --ink-3: #6b7178;
  --paper: #ffffff;
  --paper-2: #f4f4f1;
  --paper-3: #eef1f5; /* bleuté très léger pour encadrés */
  --line: #e1e2de;
  --line-strong: #111316;
  --accent: #0b5cab; /* bleu vif — CTA, chiffres */
  --accent-deep: #003d78; /* bleu marine — fonds sombres */
  --accent-gold: #c3ac01; /* or — micro-détail */
  --accent-ink: #ffffff;
  --ok: #1b7a4b; /* vert "donnée vérifiée" */
  --warn: #b4690e; /* ambre "estimation / attention" */

  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --t-label: 0.75rem;
  --t-body: 1.05rem;
  --t-lead: 1.25rem;
  --t-h3: 1.5rem;
  --t-h2: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem);
  --t-h1: clamp(2rem, 1.4rem + 2.6vw, 3.4rem);

  --maxw: 1080px;
  --gut: 24px;
  --radius: 4px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: var(--t-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gut);
}

section {
  padding-block: clamp(48px, 7vw, 96px);
}

.section--alt {
  background: var(--paper-2);
}

/* — Labels mono — */
.label {
  font-family: var(--font-mono);
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 16px;
}

/* — Titres — */
h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
}
h2 {
  font-size: var(--t-h2);
  margin-bottom: 20px;
  max-width: 22ch;
}
h3 {
  font-size: var(--t-h3);
  margin-bottom: 12px;
}
p {
  margin-bottom: 16px;
  max-width: 68ch;
}
.lead {
  font-size: var(--t-lead);
  color: var(--ink-2);
  max-width: 60ch;
}
strong {
  font-weight: 700;
  color: var(--ink);
}

/* ===================== HERO ===================== */
.hero {
  background: linear-gradient(160deg, var(--accent-deep) 0%, #06294f 100%);
  color: var(--accent-ink);
  padding-block: clamp(64px, 10vw, 128px);
}
.hero .label {
  color: var(--accent-gold);
}
.hero h1 {
  font-size: var(--t-h1);
  max-width: 20ch;
  margin-bottom: 24px;
}
.hero__sub {
  font-size: var(--t-lead);
  color: rgba(255, 255, 255, 0.85);
  max-width: 56ch;
  margin-bottom: 32px;
}
.hero__meta {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 16px;
  margin-top: 8px;
}

/* — Boutons — */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    background 0.15s ease;
}
.btn:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  transform: translateY(-2px);
}
.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ===================== EYEBROW / TLDR ===================== */
.tldr {
  background: var(--paper-3);
  border-left: 4px solid var(--accent);
  padding: 28px 32px;
  border-radius: var(--radius);
  margin-top: 32px;
}
.tldr h3 {
  color: var(--accent-deep);
}
.tldr ul {
  list-style: none;
  margin-top: 12px;
}
.tldr li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 10px;
}
.tldr li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ===================== BADGES données vs estimation ===================== */
.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 3px;
  vertical-align: middle;
}
.tag--data {
  background: #e3f1e9;
  color: var(--ok);
}
.tag--est {
  background: #fbeede;
  color: var(--warn);
}

/* ===================== STEPS (vulgarisation) ===================== */
.steps {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}
@media (min-width: 760px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}
.step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--paper);
}
.step__n {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 700;
}
.step__t {
  font-weight: 700;
  margin: 6px 0;
}
.step__d {
  font-size: 0.92rem;
  color: var(--ink-2);
  margin: 0;
}

/* ===================== DÉFINITIONS (jargon) ===================== */
.defs {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}
@media (min-width: 760px) {
  .defs {
    grid-template-columns: repeat(3, 1fr);
  }
}
.def {
  border-top: 3px solid var(--accent);
  padding-top: 14px;
}
.def__k {
  font-weight: 700;
  font-size: 1.1rem;
}
.def__abbr {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
}
.def__d {
  font-size: 0.95rem;
  color: var(--ink-2);
  margin: 6px 0 0;
}

/* ===================== TABLEAUX ===================== */
.tbl {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
  font-size: 0.95rem;
}
.tbl th,
.tbl td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.tbl th {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.tbl td:not(:first-child),
.tbl th:not(:first-child) {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.tbl tr.is-zero td {
  color: var(--ink-3);
}
.tbl .num {
  font-weight: 700;
}

/* ===================== SCÉNARIOS ===================== */
.scenarios {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}
@media (min-width: 760px) {
  .scenarios {
    grid-template-columns: repeat(3, 1fr);
  }
}
.scn {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--paper);
}
.scn--real {
  border-color: var(--accent);
  border-width: 2px;
  box-shadow: 0 8px 30px -12px rgba(11, 92, 171, 0.3);
}
.scn__h {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 4px;
}
.scn--pess .scn__h {
  color: #a23b2e;
}
.scn--real .scn__h {
  color: var(--accent);
}
.scn--opt .scn__h {
  color: var(--ok);
}
.scn__big {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 8px 0;
}
.scn__big small {
  font-size: 0.9rem;
  color: var(--ink-3);
  font-weight: 500;
}
.scn ul {
  list-style: none;
  margin-top: 14px;
  border-top: 1px solid var(--line);
}
.scn li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.scn li span:first-child {
  color: var(--ink-2);
}
.scn li span:last-child {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* ===================== ENCADRÉS ===================== */
.callout {
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-top: 28px;
}
.callout--warn {
  background: #fbf2e4;
  border-left: 4px solid var(--warn);
}
.callout--ok {
  background: #e9f4ee;
  border-left: 4px solid var(--ok);
}
.callout p:last-child {
  margin-bottom: 0;
}

/* ===================== TIMELINE saisonnalité ===================== */
.timeline {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}
@media (min-width: 760px) {
  .timeline {
    grid-template-columns: repeat(4, 1fr);
  }
}
.tl {
  border-radius: var(--radius);
  padding: 18px;
  border: 1px solid var(--line);
}
.tl--go {
  background: var(--accent-deep);
  color: #fff;
  border-color: var(--accent-deep);
}
.tl--soft {
  background: var(--paper-2);
}
.tl__m {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
}
.tl__t {
  font-weight: 700;
  margin-top: 4px;
}

/* ===================== LEVIERS (2 colonnes) ===================== */
.levers {
  display: grid;
  gap: 24px;
  margin-top: 28px;
}
@media (min-width: 860px) {
  .levers {
    grid-template-columns: 1fr 1fr;
  }
}
.lever {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.lever__tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
}
.lever__when {
  font-size: 0.85rem;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.lever ul {
  margin: 14px 0 0 20px;
}
.lever li {
  margin-bottom: 8px;
}

/* ===================== ENGAGEMENT ===================== */
.commit {
  display: grid;
  gap: 24px;
  margin-top: 28px;
}
@media (min-width: 760px) {
  .commit {
    grid-template-columns: 1fr 1fr;
  }
}
.commit__col h3 {
  display: flex;
  align-items: center;
  gap: 8px;
}
.commit__col ul {
  list-style: none;
}
.commit__col li {
  padding: 10px 0 10px 28px;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.commit__col--yes li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--ok);
  font-weight: 700;
}
.commit__col--no li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: var(--ink-3);
  font-weight: 700;
}

/* ===================== CTA FINAL ===================== */
.final {
  background: var(--accent-deep);
  color: #fff;
  text-align: center;
}
.final h2 {
  max-width: 24ch;
  margin-inline: auto;
}
.final p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 50ch;
  margin-inline: auto;
}
.final .btn {
  margin-top: 12px;
}

/* ===================== FOOTER ===================== */
footer {
  background: #0a0c0e;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  padding-block: 40px;
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.src {
  font-size: 0.8rem;
  color: var(--ink-3);
  margin-top: 20px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.src strong {
  color: var(--ink-2);
}
