/* ==========================================================================
   Pages dédiées /solutions-fissures/<slug>/ — feuille de style additionnelle.
   Chargée uniquement par ces pages (après bundle.css), volontairement séparée
   pour ne pas avoir à re-synchroniser le hash de cache sur les 178 pages du
   site à chaque nouvelle solution ajoutée.
   ========================================================================== */

.solution-detail-backlink {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--graphite-soft);
  transition: color var(--tr-fast);
}
.solution-detail-backlink svg { width: 14px; height: 14px; transform: rotate(180deg); }
.solution-detail-backlink:hover { color: var(--ocre-deep); }

/* Étapes numérotées du processus d'intervention */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: var(--s-5) 0 0;
  padding: 0;
  list-style: none;
}
.process-steps li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: var(--s-4);
  padding: var(--s-5) 0;
}
.process-steps li:first-child { padding-top: 0; }
.process-steps li:last-child { padding-bottom: 0; }
.process-steps li + li { border-top: var(--bd); }
.process-steps__num {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  box-sizing: border-box;
  border-radius: 50%;
  background: var(--ocre);
  color: var(--paper);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.125rem;
  font-weight: 600;
}
.process-steps h3 {
  margin: 0 0 var(--s-2);
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  color: var(--ink);
}
.process-steps p {
  margin: 0;
  font-size: var(--fs-small);
  line-height: var(--lh-prose);
  color: var(--graphite);
}

/* Liste à puces "avantages" avec icône check */
.check-list {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  margin: var(--s-5) 0 0;
  padding: 0;
  list-style: none;
}
.check-list li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: var(--s-3);
  align-items: start;
}
.check-list__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 32px;
  height: 32px;
  box-sizing: border-box;
  border-radius: 50%;
  background: rgba(184, 85, 46, 0.12);
  color: var(--ocre-deep);
}
.check-list__icon svg { width: 16px; height: 16px; }
.check-list strong {
  display: block;
  font-size: var(--fs-small);
  color: var(--ink);
  margin-bottom: 2px;
}
.check-list p {
  margin: 0;
  font-size: var(--fs-small);
  line-height: var(--lh-prose);
  color: var(--graphite);
}

/* Galerie avant / après */
.before-after-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
  margin-top: var(--s-5);
}
@media (min-width: 640px) {
  .before-after-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.before-after-gallery__item {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  border: var(--bd);
  background: var(--paper);
}
.before-after-gallery__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.before-after-gallery__tag {
  position: absolute;
  top: var(--s-3);
  left: var(--s-3);
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--ocre-deep);
  color: #ffffff;
  font-size: var(--fs-micro);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-cap);
}
.before-after-gallery__tag--after { background: var(--safe); }
.before-after-gallery__caption {
  margin: 0;
  padding: var(--s-3) var(--s-4);
  font-size: var(--fs-micro);
  line-height: var(--lh-prose);
  color: var(--graphite-soft);
}

/* Encart CTA intermédiaire, glassmorphisme clair (jamais de fond noir) */
.inline-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  padding: var(--s-6);
  border-radius: var(--r-md);
  background: rgba(255, 253, 250, 0.6);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 24px 48px -30px rgba(17, 17, 17, 0.18), 0 2px 10px rgba(17, 17, 17, 0.05);
}
.inline-cta::before,
.inline-cta::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(46px);
  pointer-events: none;
}
.inline-cta::before {
  top: -50px;
  right: -50px;
  width: 160px;
  height: 160px;
  background: rgb(184 85 46 / 13%);
}
.inline-cta::after {
  bottom: -60px;
  left: -40px;
  width: 150px;
  height: 150px;
  background: rgba(217, 122, 79, 0.2);
}
.inline-cta__body { width: 100%; }
.inline-cta__title {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin: 0 0 var(--s-2);
  font-family: var(--font-serif);
  font-size: 1.1875rem;
  color: var(--ink);
}
.inline-cta__title svg { flex: none; width: 20px; height: 20px; color: var(--ocre); }
.inline-cta p {
  margin: 0;
  font-size: var(--fs-small);
  line-height: var(--lh-prose);
  color: var(--graphite);
}
.inline-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  width: 100%;
}
.inline-cta__actions .btn {
  flex: 1 1 200px;
  justify-content: center;
  white-space: nowrap;
}
.inline-cta__actions .btn--phone {
  background: #ffffff;
  color: var(--ink);
  border-color: var(--mist-line);
}
.inline-cta__actions .btn--phone svg { color: var(--ocre); }
.inline-cta__actions .btn--phone:hover { border-color: var(--ocre); color: var(--ocre-deep); }
