/* ============================================
   BLAFA — clients.css
   Page /clients — études de cas détaillées
   ============================================ */

/* ========== HERO ========== */
.cl-hero {
  padding-top: calc(var(--space-10) + 48px);
  padding-bottom: var(--space-8);
}

.cl-hero__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--stone-light);
}

.cl-hero__meta-right {
  font-size: var(--fs-micro);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
}

.cl-hero__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 10vw, 140px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.05;
  margin-bottom: var(--space-6);
}

.cl-hero__title em {
  font-style: italic;
  color: var(--seal);
}

.cl-hero__sub {
  max-width: 56ch;
  font-size: var(--fs-body-l);
  line-height: 1.6;
}

/* ========== CASE STUDY BLOCK ========== */
.cl-cases {
  padding-block: var(--space-9);
}

.cl-case {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
  padding-block: var(--space-9);
  border-top: 1px solid var(--stone-light);
  align-items: start;
}

.cl-case:last-child {
  border-bottom: 1px solid var(--stone-light);
}

/* Alternate layout */
.cl-case:nth-child(even) {
  direction: rtl;
}

.cl-case:nth-child(even) > * {
  direction: ltr;
}

.cl-case__header {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.cl-case__sector {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--seal);
  font-weight: 500;
}

.cl-case__name {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 56px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--ink);
}

.cl-case__location {
  font-size: 13px;
  color: var(--stone);
  letter-spacing: 0.05em;
}

.cl-case__problem {
  margin-bottom: var(--space-5);
}

.cl-case__label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: var(--space-2);
  display: block;
}

.cl-case__text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  max-width: 48ch;
}

.cl-case__solution {
  margin-bottom: var(--space-5);
}

/* Metrics panel */
.cl-case__metrics {
  background: var(--ink);
  color: var(--paper);
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  position: sticky;
  top: 100px;
  box-shadow: var(--shadow-lg);
}

.cl-case__metrics-title {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone-light);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.cl-case__metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cl-case__metric-value {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 64px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}

.cl-case__metric-label {
  font-size: 13px;
  line-height: 1.5;
  color: var(--stone-light);
}

.cl-case__quote {
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 15px;
  line-height: 1.65;
  color: var(--paper);
  font-style: italic;
}

.cl-case__quote-author {
  display: block;
  margin-top: var(--space-3);
  font-size: 13px;
  font-style: normal;
  color: var(--stone-light);
}

.cl-case__quote-author strong {
  color: var(--paper);
  font-weight: 500;
}

/* Timeline within case */
.cl-case__timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: var(--space-5);
}

.cl-case__timeline-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-top: 1px solid var(--stone-light);
}

.cl-case__timeline-day {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--seal);
  font-variant-numeric: tabular-nums;
}

.cl-case__timeline-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--stone);
}

/* CTA at bottom */
.cl-cta {
  background: var(--paper-soft);
  padding-block: var(--space-9);
  text-align: center;
}

.cl-cta__inner {
  max-width: 640px;
  margin: 0 auto;
  padding: var(--space-7);
  border: 1px solid var(--stone-light);
  border-radius: var(--radius-2xl);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.cl-cta__title {
  font-family: var(--font-display);
  font-size: var(--fs-display-m);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: var(--space-4);
}

.cl-cta__text {
  font-size: var(--fs-body-l);
  line-height: 1.6;
  color: var(--stone);
  margin-bottom: var(--space-6);
}

@media (max-width: 1024px) {
  .cl-hero {
    padding-top: calc(var(--nav-h) + var(--space-7));
    padding-bottom: var(--space-6);
  }

  .cl-cases {
    padding-block: var(--space-6);
  }

  .cl-case {
    grid-template-columns: 1fr;
    gap: var(--space-5);
    padding-block: var(--space-6);
  }

  .cl-case:nth-child(even) {
    direction: ltr;
  }

  .cl-case__metrics {
    position: static;
  }
}
