/* KromaDev — styles des études de cas (realisations/*.html)
   Complète ../styles.css (tokens, header, footer, .legal*, .card…) sans le modifier. */

.case-hero { padding-top: 72px; padding-bottom: 40px; }
.case-hero .heading-lg { margin: 20px 0 16px; max-width: 900px; }
.case-hero__lead { font-size: 18px; max-width: 760px; margin: 0; color: var(--text-muted); }
.case-hero__author { margin: 20px 0 0; font-size: var(--text-body-sm); color: var(--text-muted); }
.case-hero__author strong { color: var(--text); font-weight: 600; }
.case-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* Visuel principal : capture desktop dans un cadre « navigateur » */
.case-shot {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-cards);
  overflow: hidden;
  background: var(--surface);
}
.case-shot__bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--soft-fill);
}
.case-shot__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--accent-40); }
.case-shot__bar span { margin-left: 10px; font-size: var(--text-caption); color: var(--text-muted); letter-spacing: 0.02em; }
.case-shot img { display: block; width: 100%; height: auto; }
.case-cover { padding-bottom: 8px; }

.case-figcaption { margin-top: 10px; font-size: var(--text-body-sm); color: var(--text-muted); }

/* Captures mobiles côte à côte */
.case-phones { display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); gap: 20px; justify-content: start; margin: 20px 0 8px; }
.case-phone { margin: 0; }
.case-phone img {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
}

.case-figure { margin: 20px 0 8px; }

/* Fiche projet */
.case-facts { margin-bottom: 16px; }
.case-facts dd a { color: var(--link); }

/* Liste « choix expliqués » */
.legal-body .case-choices { list-style: none; padding: 0 !important; margin: 0 0 12px; display: grid; gap: 14px !important; }
.case-choices li {
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-small);
}
.case-choices strong { display: block; margin-bottom: 4px; }

.legal-body .case-stack { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0 !important; margin: 8px 0 12px; }
.case-stack li {
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--soft-fill);
  color: var(--accent-text);
  font-size: var(--text-body-sm);
  font-weight: 540;
}

.case-note { font-size: var(--text-body-sm); }

/* Avis client (masqué tant qu'il n'est pas rempli : attribut hidden) */
.case-quote { margin: 0; padding: 20px 22px; border-left: 3px solid var(--color-accent); background: var(--secondary-fill); border-radius: var(--radius-small); }
.case-quote p { color: var(--text); font-size: 18px; margin: 0 0 10px; }
.case-quote cite { font-style: normal; font-size: var(--text-body-sm); color: var(--text-muted); }

/* Appel à l'action final */
.case-cta { margin-top: 40px; padding: 32px; text-align: left; }
.case-cta h2 { margin: 0 0 8px; }
.case-cta p { margin: 0 0 20px; }

@media (max-width: 560px) {
  .case-hero { padding-top: 48px; padding-bottom: 24px; }
  .case-phones { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .case-phone img { border-radius: 16px; }
  .case-cta { padding: 24px 18px; }
}

/* Texte réservé aux lecteurs d'écran */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
