.resi-diag-modern-intro  {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f7fbfc 0%, #ffffff 100%);
}

.resi-diag-modern-intro::before  {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(83, 143, 187, 0.16) 0%, rgba(83, 143, 187, 0) 70%);
  pointer-events: none;
}

.resi-diag-modern-intro::after  {
  content: "";
  position: absolute;
  bottom: -140px;
  left: -120px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27, 133, 143, 0.14) 0%, rgba(27, 133, 143, 0) 72%);
  pointer-events: none;
}

.resi-diag-modern-shell  {
  position: relative;
  z-index: 1;
  padding: 40px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(83, 143, 187, 0.12);
  box-shadow: 0 20px 60px rgba(4, 41, 43, 0.08);
}

.resi-diag-modern-section  {
  position: relative;
}

.resi-diag-hero-badge  {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(7, 108, 160, 0.08);
  color: #076ca0;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.resi-diag-hero-badge i  {
  color: #1b858f;
}

.resi-diag-modern-intro .section-title, .resi-diag-modern-section h2  {
  color: #04292b;
  font-weight: 800;
  line-height: 1.2;
}

.resi-diag-modern-intro .section-lead, .resi-diag-modern-section .section-lead  {
  color: #195a5e;
}

.resi-diag-kpi, .resi-diag-arrow-card, .resi-diag-band, .resi-diag-panel, .resi-diag-note  {
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(83, 143, 187, 0.12);
  box-shadow: 0 14px 40px rgba(4, 41, 43, 0.07);
}

.resi-diag-kpi, .resi-diag-arrow-card, .resi-diag-band, .resi-diag-note  {
  padding: 28px;
}

.resi-diag-kpi  {
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.resi-diag-kpi:hover, .resi-diag-arrow-card:hover, .resi-diag-band:hover, .resi-diag-panel:hover  {
  transform: translateY(-4px);
  box-shadow: 0 18px 46px rgba(4, 41, 43, 0.1);
}

.resi-diag-kpi-icon  {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #076ca0 0%, #1b858f 100%);
  color: #ffffff;
  font-size: 1.35rem;
  box-shadow: 0 12px 24px rgba(7, 108, 160, 0.22);
}

.resi-diag-kpi h4, .resi-diag-step h4, .resi-diag-arrow-card h3, .resi-diag-band h3, .resi-diag-timeline-item h4, .resi-diag-panel-head h3  {
  color: #04292b;
  font-weight: 700;
}

.resi-diag-kpi p, .resi-diag-step p, .resi-diag-arrow-card li, .resi-diag-band li, .resi-diag-timeline-item p, .resi-diag-note p  {
  color: #195a5e;
}

.resi-diag-panel  {
  overflow: hidden;
}

.resi-diag-panel-head  {
  padding: 22px 28px;
  background: linear-gradient(135deg, #04292b 0%, #195a5e 100%);
}

.resi-diag-panel-head h3  {
  margin-bottom: 0;
  color: #ffffff;
}

.resi-diag-panel-body  {
  padding: 28px;
}

.resi-diag-step  {
  position: relative;
  padding: 18px 18px 18px 78px;
  border-radius: 16px;
  background: #f8fbfc;
}

.resi-diag-step + .resi-diag-step  {
  margin-top: 14px;
}

.resi-diag-step-num  {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #538fbb 0%, #1b858f 100%);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(83, 143, 187, 0.22);
}

.resi-diag-mini-label  {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(27, 133, 143, 0.1);
  color: #1b858f;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.resi-diag-checklist li  {
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
}

.resi-diag-checklist li:last-child  {
  margin-bottom: 0;
}

.resi-diag-checklist i  {
  position: absolute;
  top: 4px;
  left: 0;
  color: #1b858f;
}

.resi-diag-note  {
  background: linear-gradient(135deg, rgba(83, 143, 187, 0.08) 0%, rgba(27, 133, 143, 0.08) 100%);
}

.resi-diag-band  {
  background: linear-gradient(135deg, #f8fbfc 0%, #ffffff 100%);
}

.resi-diag-band i  {
  color: #076ca0;
}

.resi-diag-timeline  {
  position: relative;
}

.resi-diag-timeline::before  {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 11px;
  width: 2px;
  background: linear-gradient(180deg, #538fbb 0%, #1b858f 100%);
}

.resi-diag-timeline-item  {
  position: relative;
  padding-left: 42px;
}

.resi-diag-timeline-item + .resi-diag-timeline-item  {
  margin-top: 24px;
}

.resi-diag-timeline-dot  {
  position: absolute;
  top: 6px;
  left: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  border: 6px solid #1b858f;
  box-shadow: 0 0 0 4px rgba(27, 133, 143, 0.12);
}

@media (max-width: 991.98px)  {
  .resi-diag-modern-shell  {
    padding: 28px;
  }
}

@media (max-width: 767.98px)  {
  .resi-diag-modern-shell, .resi-diag-kpi, .resi-diag-arrow-card, .resi-diag-band, .resi-diag-panel-body, .resi-diag-note  {
    padding: 22px;
  }
  .resi-diag-panel-head  {
    padding: 18px 22px;
  }
  .resi-diag-step  {
    padding: 16px 16px 16px 68px;
  }
  .resi-diag-step-num  {
    left: 16px;
    width: 38px;
    height: 38px;
  }
}
/* Ajouts / modifications IA */ .resi-diag-modern-intro  {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f7fbfc 0%, #ffffff 100%);
}

.resi-diag-modern-intro::before  {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(83, 143, 187, 0.16) 0%, rgba(83, 143, 187, 0) 70%);
  pointer-events: none;
}

.resi-diag-modern-intro::after  {
  content: "";
  position: absolute;
  bottom: -140px;
  left: -120px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27, 133, 143, 0.14) 0%, rgba(27, 133, 143, 0) 72%);
  pointer-events: none;
}

.resi-diag-modern-shell  {
  position: relative;
  z-index: 1;
  padding: 40px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(83, 143, 187, 0.12);
  box-shadow: 0 20px 60px rgba(4, 41, 43, 0.08);
}

.resi-diag-modern-section  {
  position: relative;
}

.resi-diag-hero-badge  {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(7, 108, 160, 0.08);
  color: #076ca0;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.resi-diag-hero-badge i  {
  color: #1b858f;
}

.resi-diag-modern-intro .section-title, .resi-diag-modern-section h2  {
  color: #04292b;
  font-weight: 800;
  line-height: 1.2;
}

.resi-diag-modern-intro .section-lead, .resi-diag-modern-section .section-lead  {
  color: #195a5e;
}

.resi-diag-kpi, .resi-diag-arrow-card, .resi-diag-band, .resi-diag-panel, .resi-diag-note  {
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(83, 143, 187, 0.12);
  box-shadow: 0 14px 40px rgba(4, 41, 43, 0.07);
}

.resi-diag-kpi, .resi-diag-arrow-card, .resi-diag-band, .resi-diag-note  {
  padding: 28px;
}

.resi-diag-kpi  {
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.resi-diag-kpi:hover, .resi-diag-arrow-card:hover, .resi-diag-band:hover, .resi-diag-panel:hover  {
  transform: translateY(-4px);
  box-shadow: 0 18px 46px rgba(4, 41, 43, 0.1);
}

.resi-diag-kpi-icon  {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #076ca0 0%, #1b858f 100%);
  color: #ffffff;
  font-size: 1.35rem;
  box-shadow: 0 12px 24px rgba(7, 108, 160, 0.22);
}

.resi-diag-kpi h4, .resi-diag-step h4, .resi-diag-arrow-card h3, .resi-diag-band h3, .resi-diag-timeline-item h4, .resi-diag-panel-head h3  {
  color: #04292b;
  font-weight: 700;
}

.resi-diag-kpi p, .resi-diag-step p, .resi-diag-arrow-card li, .resi-diag-band li, .resi-diag-timeline-item p, .resi-diag-note p  {
  color: #195a5e;
}

.resi-diag-panel  {
  overflow: hidden;
}

.resi-diag-panel-head  {
  padding: 22px 28px;
  background: linear-gradient(135deg, #04292b 0%, #195a5e 100%);
}

.resi-diag-panel-head h3  {
  margin-bottom: 0;
  color: #ffffff;
}

.resi-diag-panel-body  {
  padding: 28px;
}

.resi-diag-step  {
  position: relative;
  padding: 18px 18px 18px 78px;
  border-radius: 16px;
  background: #f8fbfc;
}

.resi-diag-step + .resi-diag-step  {
  margin-top: 14px;
}

.resi-diag-step-num  {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #538fbb 0%, #1b858f 100%);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(83, 143, 187, 0.22);
}

.resi-diag-mini-label  {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(27, 133, 143, 0.1);
  color: #1b858f;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.resi-diag-checklist li  {
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
}

.resi-diag-checklist li:last-child  {
  margin-bottom: 0;
}

.resi-diag-checklist i  {
  position: absolute;
  top: 4px;
  left: 0;
  color: #1b858f;
}

.resi-diag-note  {
  background: linear-gradient(135deg, rgba(83, 143, 187, 0.08) 0%, rgba(27, 133, 143, 0.08) 100%);
}

.resi-diag-band  {
  background: linear-gradient(135deg, #f8fbfc 0%, #ffffff 100%);
}

.resi-diag-band i  {
  color: #076ca0;
}

.resi-diag-timeline  {
  position: relative;
}

.resi-diag-timeline::before  {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 11px;
  width: 2px;
  background: linear-gradient(180deg, #538fbb 0%, #1b858f 100%);
}

.resi-diag-timeline-item  {
  position: relative;
  padding-left: 42px;
}

.resi-diag-timeline-item + .resi-diag-timeline-item  {
  margin-top: 24px;
}

.resi-diag-timeline-dot  {
  position: absolute;
  top: 6px;
  left: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  border: 6px solid #1b858f;
  box-shadow: 0 0 0 4px rgba(27, 133, 143, 0.12);
}

.resi-diag-care-top  {
  position: relative;
}

.resi-diag-care-wrap  {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(135deg, #04292b 0%, #195a5e 52%, #076ca0 100%);
  box-shadow: 0 20px 60px rgba(4, 41, 43, 0.14);
}

.resi-diag-care-wrap::before  {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 72%);
  pointer-events: none;
}

.resi-diag-care-wrap::after  {
  content: "";
  position: absolute;
  bottom: -140px;
  left: -120px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108, 179, 175, 0.22) 0%, rgba(108, 179, 175, 0) 72%);
  pointer-events: none;
}

.resi-diag-care-head  {
  position: relative;
  z-index: 1;
  padding: 34px 34px 22px;
}

.resi-diag-care-head h2  {
  color: #ffffff;
  font-weight: 800;
  line-height: 1.2;
}

.resi-diag-care-head p  {
  color: rgba(255, 255, 255, 0.88);
}

.resi-diag-care-focus  {
  padding: 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
}

.resi-diag-care-focus-label  {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.resi-diag-care-focus-title  {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 800;
}

.resi-diag-care-focus-letter  {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #538fbb 0%, #6cb3af 100%);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.resi-diag-care-focus p  {
  color: rgba(255, 255, 255, 0.9);
}

.resi-diag-care-grid  {
  position: relative;
  z-index: 1;
  padding: 0 20px 20px;
}

.resi-diag-care-card  {
  overflow: hidden;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(83, 143, 187, 0.14);
  box-shadow: 0 16px 40px rgba(4, 41, 43, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.resi-diag-care-card:hover  {
  transform: translateY(-5px);
  box-shadow: 0 20px 46px rgba(4, 41, 43, 0.16);
}

.resi-diag-care-card-active  {
  border-color: rgba(7, 108, 160, 0.28);
  box-shadow: 0 20px 46px rgba(7, 108, 160, 0.18);
}

.resi-diag-care-media  {
  position: relative;
  height: 190px;
  overflow: hidden;
}

.resi-diag-care-media img  {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.resi-diag-care-media::after  {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 41, 43, 0.04) 0%, rgba(4, 41, 43, 0.34) 100%);
}

.resi-diag-care-index  {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
  min-width: 48px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #04292b;
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
}

.resi-diag-care-body  {
  padding: 24px;
}

.resi-diag-care-letter  {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #076ca0 0%, #1b858f 100%);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(7, 108, 160, 0.2);
}

.resi-diag-care-card h3  {
  margin-bottom: 12px;
  color: #04292b;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.3;
}

.resi-diag-care-card p  {
  margin-bottom: 0;
  color: #195a5e;
}

.resi-diag-side-visual  {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(83, 143, 187, 0.12);
  box-shadow: 0 18px 46px rgba(4, 41, 43, 0.1);
  background: #ffffff;
}

.resi-diag-side-visual img  {
  width: 100%;
  display: block;
}

.resi-diag-side-visual-badge  {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(4, 41, 43, 0.72);
  color: #ffffff;
  font-weight: 700;
  backdrop-filter: blur(6px);
}

.resi-diag-side-visual-badge i  {
  color: #6cb3af;
}

@media (max-width: 991.98px)  {
  .resi-diag-modern-shell  {
    padding: 28px;
  }
  .resi-diag-care-head  {
    padding: 28px 28px 18px;
  }
  .resi-diag-care-grid  {
    padding: 0 14px 14px;
  }
}

@media (max-width: 767.98px)  {
  .resi-diag-modern-shell, .resi-diag-kpi, .resi-diag-arrow-card, .resi-diag-band, .resi-diag-panel-body, .resi-diag-note  {
    padding: 22px;
  }
  .resi-diag-panel-head  {
    padding: 18px 22px;
  }
  .resi-diag-step  {
    padding: 16px 16px 16px 68px;
  }
  .resi-diag-step-num  {
    left: 16px;
    width: 38px;
    height: 38px;
  }
  .resi-diag-care-wrap  {
    border-radius: 20px;
  }
  .resi-diag-care-head  {
    padding: 22px 20px 14px;
  }
  .resi-diag-care-grid  {
    padding: 0 10px 10px;
  }
  .resi-diag-care-focus  {
    padding: 18px;
  }
  .resi-diag-care-focus-title  {
    align-items: flex-start;
    font-size: 1.05rem;
    line-height: 1.3;
  }
  .resi-diag-care-media  {
    height: 170px;
  }
  .resi-diag-care-body  {
    padding: 20px;
  }
  .resi-diag-care-card h3  {
    font-size: 1.05rem;
  }
  .resi-diag-side-visual-badge  {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 10px 12px;
    font-size: 0.92rem;
  }
}

@media (max-width: 575.98px)  {
  .resi-diag-care-head h2  {
    font-size: 1.6rem;
  }
  .resi-diag-modern-intro .section-title, .resi-diag-modern-section h2  {
    font-size: 1.55rem;
  }
  .resi-diag-kpi h4, .resi-diag-arrow-card h3, .resi-diag-band h3, .resi-diag-timeline-item h4, .resi-diag-panel-head h3  {
    font-size: 1.05rem;
    line-height: 1.35;
  }
  .resi-diag-checklist li  {
    padding-left: 28px;
    margin-bottom: 12px;
  }
  .resi-diag-timeline-item  {
    padding-left: 36px;
  }
  .resi-diag-timeline::before  {
    left: 9px;
  }
  .resi-diag-timeline-dot  {
    width: 20px;
    height: 20px;
    border-width: 5px;
  }
}
/* Ajouts / modifications IA */ .resi-diag-modern-intro  {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f7fbfc 0%, #ffffff 100%);
}

.resi-diag-modern-intro::before  {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(83, 143, 187, 0.16) 0%, rgba(83, 143, 187, 0) 70%);
  pointer-events: none;
}

.resi-diag-modern-intro::after  {
  content: "";
  position: absolute;
  bottom: -140px;
  left: -120px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27, 133, 143, 0.14) 0%, rgba(27, 133, 143, 0) 72%);
  pointer-events: none;
}

.resi-diag-modern-shell  {
  position: relative;
  z-index: 1;
  padding: 40px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(83, 143, 187, 0.12);
  box-shadow: 0 20px 60px rgba(4, 41, 43, 0.08);
}

.resi-diag-modern-section  {
  position: relative;
}

.resi-diag-hero-badge  {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(7, 108, 160, 0.08);
  color: #076ca0;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.resi-diag-hero-badge i  {
  color: #1b858f;
}

.resi-diag-modern-intro .section-title, .resi-diag-modern-section h2  {
  color: #04292b;
  font-weight: 800;
  line-height: 1.2;
}

.resi-diag-modern-intro .section-lead, .resi-diag-modern-section .section-lead  {
  color: #195a5e;
}

.resi-diag-kpi, .resi-diag-arrow-card, .resi-diag-band, .resi-diag-panel, .resi-diag-note  {
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(83, 143, 187, 0.12);
  box-shadow: 0 14px 40px rgba(4, 41, 43, 0.07);
}

.resi-diag-kpi, .resi-diag-arrow-card, .resi-diag-band, .resi-diag-note  {
  padding: 28px;
}

.resi-diag-kpi  {
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.resi-diag-kpi:hover, .resi-diag-arrow-card:hover, .resi-diag-band:hover, .resi-diag-panel:hover  {
  transform: translateY(-4px);
  box-shadow: 0 18px 46px rgba(4, 41, 43, 0.1);
}

.resi-diag-kpi-icon  {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #076ca0 0%, #1b858f 100%);
  color: #ffffff;
  font-size: 1.35rem;
  box-shadow: 0 12px 24px rgba(7, 108, 160, 0.22);
}

.resi-diag-kpi h4, .resi-diag-step h4, .resi-diag-arrow-card h3, .resi-diag-band h3, .resi-diag-timeline-item h4, .resi-diag-panel-head h3  {
  color: #04292b;
  font-weight: 700;
}

.resi-diag-kpi p, .resi-diag-step p, .resi-diag-arrow-card li, .resi-diag-band li, .resi-diag-timeline-item p, .resi-diag-note p  {
  color: #195a5e;
}

.resi-diag-panel  {
  overflow: hidden;
}

.resi-diag-panel-head  {
  padding: 22px 28px;
  background: linear-gradient(135deg, #04292b 0%, #195a5e 100%);
}

.resi-diag-panel-head h3  {
  margin-bottom: 0;
  color: #ffffff;
}

.resi-diag-panel-body  {
  padding: 28px;
}

.resi-diag-step  {
  position: relative;
  padding: 18px 18px 18px 78px;
  border-radius: 16px;
  background: #f8fbfc;
}

.resi-diag-step + .resi-diag-step  {
  margin-top: 14px;
}

.resi-diag-step-num  {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #538fbb 0%, #1b858f 100%);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(83, 143, 187, 0.22);
}

.resi-diag-mini-label  {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(27, 133, 143, 0.1);
  color: #1b858f;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.resi-diag-checklist li  {
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
}

.resi-diag-checklist li:last-child  {
  margin-bottom: 0;
}

.resi-diag-checklist i  {
  position: absolute;
  top: 4px;
  left: 0;
  color: #1b858f;
}

.resi-diag-note  {
  background: linear-gradient(135deg, rgba(83, 143, 187, 0.08) 0%, rgba(27, 133, 143, 0.08) 100%);
}

.resi-diag-band  {
  background: linear-gradient(135deg, #f8fbfc 0%, #ffffff 100%);
}

.resi-diag-band i  {
  color: #076ca0;
}

.resi-diag-timeline  {
  position: relative;
}

.resi-diag-timeline::before  {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 11px;
  width: 2px;
  background: linear-gradient(180deg, #538fbb 0%, #1b858f 100%);
}

.resi-diag-timeline-item  {
  position: relative;
  padding-left: 42px;
}

.resi-diag-timeline-item + .resi-diag-timeline-item  {
  margin-top: 24px;
}

.resi-diag-timeline-dot  {
  position: absolute;
  top: 6px;
  left: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  border: 6px solid #1b858f;
  box-shadow: 0 0 0 4px rgba(27, 133, 143, 0.12);
}

@media (max-width: 991.98px)  {
  .resi-diag-modern-shell  {
    padding: 28px;
  }
}

@media (max-width: 767.98px)  {
  .resi-diag-modern-shell, .resi-diag-kpi, .resi-diag-arrow-card, .resi-diag-band, .resi-diag-panel-body, .resi-diag-note  {
    padding: 22px;
  }
  .resi-diag-panel-head  {
    padding: 18px 22px;
  }
  .resi-diag-step  {
    padding: 16px 16px 16px 68px;
  }
  .resi-diag-step-num  {
    left: 16px;
    width: 38px;
    height: 38px;
  }
}
/* Ajouts / modifications IA */ .resi-diag-modern-intro  {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f7fbfc 0%, #ffffff 100%);
}

.resi-diag-modern-intro::before  {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(83, 143, 187, 0.16) 0%, rgba(83, 143, 187, 0) 70%);
  pointer-events: none;
}

.resi-diag-modern-intro::after  {
  content: "";
  position: absolute;
  bottom: -140px;
  left: -120px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27, 133, 143, 0.14) 0%, rgba(27, 133, 143, 0) 72%);
  pointer-events: none;
}

.resi-diag-modern-shell  {
  position: relative;
  z-index: 1;
  padding: 40px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(83, 143, 187, 0.12);
  box-shadow: 0 20px 60px rgba(4, 41, 43, 0.08);
}

.resi-diag-modern-section  {
  position: relative;
}

.resi-diag-hero-badge  {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(7, 108, 160, 0.08);
  color: #076ca0;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.resi-diag-hero-badge i  {
  color: #1b858f;
}

.resi-diag-modern-intro .section-title, .resi-diag-modern-section h2  {
  color: #04292b;
  font-weight: 800;
  line-height: 1.2;
}

.resi-diag-modern-intro .section-lead, .resi-diag-modern-section .section-lead  {
  color: #195a5e;
}

.resi-diag-kpi, .resi-diag-arrow-card, .resi-diag-band, .resi-diag-panel, .resi-diag-note  {
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(83, 143, 187, 0.12);
  box-shadow: 0 14px 40px rgba(4, 41, 43, 0.07);
}

.resi-diag-kpi, .resi-diag-arrow-card, .resi-diag-band, .resi-diag-note  {
  padding: 28px;
}

.resi-diag-kpi  {
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.resi-diag-kpi:hover, .resi-diag-arrow-card:hover, .resi-diag-band:hover, .resi-diag-panel:hover  {
  transform: translateY(-4px);
  box-shadow: 0 18px 46px rgba(4, 41, 43, 0.1);
}

.resi-diag-kpi-icon  {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #076ca0 0%, #1b858f 100%);
  color: #ffffff;
  font-size: 1.35rem;
  box-shadow: 0 12px 24px rgba(7, 108, 160, 0.22);
}

.resi-diag-kpi h4, .resi-diag-step h4, .resi-diag-arrow-card h3, .resi-diag-band h3, .resi-diag-timeline-item h4, .resi-diag-panel-head h3  {
  color: #04292b;
  font-weight: 700;
}

.resi-diag-kpi p, .resi-diag-step p, .resi-diag-arrow-card li, .resi-diag-band li, .resi-diag-timeline-item p, .resi-diag-note p  {
  color: #195a5e;
}

.resi-diag-panel  {
  overflow: hidden;
}

.resi-diag-panel-head  {
  padding: 22px 28px;
  background: linear-gradient(135deg, #04292b 0%, #195a5e 100%);
}

.resi-diag-panel-head h3  {
  margin-bottom: 0;
  color: #ffffff;
}

.resi-diag-panel-body  {
  padding: 28px;
}

.resi-diag-step  {
  position: relative;
  padding: 18px 18px 18px 78px;
  border-radius: 16px;
  background: #f8fbfc;
}

.resi-diag-step + .resi-diag-step  {
  margin-top: 14px;
}

.resi-diag-step-num  {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #538fbb 0%, #1b858f 100%);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(83, 143, 187, 0.22);
}

.resi-diag-mini-label  {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(27, 133, 143, 0.1);
  color: #1b858f;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.resi-diag-checklist li  {
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
}

.resi-diag-checklist li:last-child  {
  margin-bottom: 0;
}

.resi-diag-checklist i  {
  position: absolute;
  top: 4px;
  left: 0;
  color: #1b858f;
}

.resi-diag-note  {
  background: linear-gradient(135deg, rgba(83, 143, 187, 0.08) 0%, rgba(27, 133, 143, 0.08) 100%);
}

.resi-diag-band  {
  background: linear-gradient(135deg, #f8fbfc 0%, #ffffff 100%);
}

.resi-diag-band i  {
  color: #076ca0;
}

.resi-diag-timeline  {
  position: relative;
}

.resi-diag-timeline::before  {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 11px;
  width: 2px;
  background: linear-gradient(180deg, #538fbb 0%, #1b858f 100%);
}

.resi-diag-timeline-item  {
  position: relative;
  padding-left: 42px;
}

.resi-diag-timeline-item + .resi-diag-timeline-item  {
  margin-top: 24px;
}

.resi-diag-timeline-dot  {
  position: absolute;
  top: 6px;
  left: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  border: 6px solid #1b858f;
  box-shadow: 0 0 0 4px rgba(27, 133, 143, 0.12);
}

.resi-diag-care-top  {
  position: relative;
}

.resi-diag-care-wrap  {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(135deg, #04292b 0%, #195a5e 52%, #076ca0 100%);
  box-shadow: 0 20px 60px rgba(4, 41, 43, 0.14);
}

.resi-diag-care-wrap::before  {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 72%);
  pointer-events: none;
}

.resi-diag-care-wrap::after  {
  content: "";
  position: absolute;
  bottom: -140px;
  left: -120px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108, 179, 175, 0.22) 0%, rgba(108, 179, 175, 0) 72%);
  pointer-events: none;
}

.resi-diag-care-head  {
  position: relative;
  z-index: 1;
  padding: 34px 34px 22px;
}

.resi-diag-care-head h2  {
  color: #ffffff;
  font-weight: 800;
  line-height: 1.2;
}

.resi-diag-care-head p  {
  color: rgba(255, 255, 255, 0.88);
}

.resi-diag-care-focus  {
  padding: 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
}

.resi-diag-care-focus-label  {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.resi-diag-care-focus-title  {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 800;
}

.resi-diag-care-focus-letter  {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #538fbb 0%, #6cb3af 100%);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.resi-diag-care-focus p  {
  color: rgba(255, 255, 255, 0.9);
}

.resi-diag-care-nav  {
  position: relative;
  z-index: 1;
  padding: 0 34px 18px;
}

.resi-diag-care-nav-list  {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.resi-diag-care-nav-item  {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.resi-diag-care-nav-item.active  {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.resi-diag-care-nav-item:not(.active)  {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.78);
}

.resi-diag-care-nav-item:not(.active):hover, .resi-diag-care-nav-item:not(.active):focus  {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
  text-decoration: none;
}

.resi-diag-care-nav-letter  {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.9rem;
}

.resi-diag-care-nav-item.active .resi-diag-care-nav-letter  {
  background: linear-gradient(135deg, #538fbb 0%, #6cb3af 100%);
  color: #ffffff;
}

.resi-diag-care-nav-item:not(.active) .resi-diag-care-nav-letter  {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.resi-diag-care-nav-text  {
  font-weight: 700;
  font-size: 0.92rem;
}

.resi-diag-care-grid  {
  position: relative;
  z-index: 1;
  padding: 0 20px 20px;
}

.resi-diag-care-card  {
  overflow: hidden;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(83, 143, 187, 0.14);
  box-shadow: 0 16px 40px rgba(4, 41, 43, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease, border-color 0.25s ease;
}

.resi-diag-care-card:hover  {
  transform: translateY(-5px);
  box-shadow: 0 20px 46px rgba(4, 41, 43, 0.16);
}

.resi-diag-care-card-active  {
  border-color: rgba(7, 108, 160, 0.28);
  box-shadow: 0 20px 46px rgba(7, 108, 160, 0.18);
}

.resi-diag-care-card-muted  {
  filter: grayscale(1);
  opacity: 0.78;
}

.resi-diag-care-link  {
  display: block;
  text-decoration: none;
}

.resi-diag-care-link:hover, .resi-diag-care-link:focus  {
  filter: grayscale(0.35);
  opacity: 1;
  border-color: rgba(83, 143, 187, 0.22);
  text-decoration: none;
}

.resi-diag-care-media  {
  position: relative;
  height: 190px;
  overflow: hidden;
}

.resi-diag-care-media img  {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.resi-diag-care-media::after  {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 41, 43, 0.04) 0%, rgba(4, 41, 43, 0.34) 100%);
}

.resi-diag-care-index  {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
  min-width: 48px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #04292b;
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
}

.resi-diag-care-body  {
  padding: 24px;
}

.resi-diag-care-letter  {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #076ca0 0%, #1b858f 100%);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(7, 108, 160, 0.2);
}

.resi-diag-care-card h3  {
  margin-bottom: 12px;
  color: #04292b;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.3;
}

.resi-diag-care-card p  {
  margin-bottom: 0;
  color: #195a5e;
}

.resi-diag-care-status  {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(4, 41, 43, 0.06);
  color: #195a5e;
  font-size: 0.84rem;
  font-weight: 700;
}

.resi-diag-care-status i  {
  color: #076ca0;
}

.resi-diag-care-status-active  {
  background: rgba(7, 108, 160, 0.1);
  color: #076ca0;
}

.resi-diag-side-visual  {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(83, 143, 187, 0.12);
  box-shadow: 0 18px 46px rgba(4, 41, 43, 0.1);
  background: #ffffff;
}

.resi-diag-side-visual img  {
  width: 100%;
  display: block;
}

.resi-diag-side-visual-badge  {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(4, 41, 43, 0.72);
  color: #ffffff;
  font-weight: 700;
  backdrop-filter: blur(6px);
}

.resi-diag-side-visual-badge i  {
  color: #6cb3af;
}

@media (max-width: 991.98px)  {
  .resi-diag-modern-shell  {
    padding: 28px;
  }
  .resi-diag-care-head  {
    padding: 28px 28px 18px;
  }
  .resi-diag-care-nav  {
    padding: 0 28px 18px;
  }
  .resi-diag-care-grid  {
    padding: 0 14px 14px;
  }
}

@media (max-width: 767.98px)  {
  .resi-diag-modern-shell, .resi-diag-kpi, .resi-diag-arrow-card, .resi-diag-band, .resi-diag-panel-body, .resi-diag-note  {
    padding: 22px;
  }
  .resi-diag-panel-head  {
    padding: 18px 22px;
  }
  .resi-diag-step  {
    padding: 16px 16px 16px 68px;
  }
  .resi-diag-step-num  {
    left: 16px;
    width: 38px;
    height: 38px;
  }
  .resi-diag-care-wrap  {
    border-radius: 20px;
  }
  .resi-diag-care-head  {
    padding: 22px 20px 14px;
  }
  .resi-diag-care-nav  {
    padding: 0 20px 14px;
  }
  .resi-diag-care-nav-list  {
    gap: 10px;
  }
  .resi-diag-care-nav-item  {
    width: 100%;
    justify-content: flex-start;
  }
  .resi-diag-care-grid  {
    padding: 0 10px 10px;
  }
  .resi-diag-care-focus  {
    padding: 18px;
  }
  .resi-diag-care-focus-title  {
    align-items: flex-start;
    font-size: 1.05rem;
    line-height: 1.3;
  }
  .resi-diag-care-media  {
    height: 170px;
  }
  .resi-diag-care-body  {
    padding: 20px;
  }
  .resi-diag-care-card h3  {
    font-size: 1.05rem;
  }
  .resi-diag-side-visual-badge  {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 10px 12px;
    font-size: 0.92rem;
  }
}

@media (max-width: 575.98px)  {
  .resi-diag-care-head h2  {
    font-size: 1.6rem;
  }
  .resi-diag-modern-intro .section-title, .resi-diag-modern-section h2  {
    font-size: 1.55rem;
  }
  .resi-diag-kpi h4, .resi-diag-arrow-card h3, .resi-diag-band h3, .resi-diag-timeline-item h4, .resi-diag-panel-head h3  {
    font-size: 1.05rem;
    line-height: 1.35;
  }
  .resi-diag-checklist li  {
    padding-left: 28px;
    margin-bottom: 12px;
  }
  .resi-diag-timeline-item  {
    padding-left: 36px;
  }
  .resi-diag-timeline::before  {
    left: 9px;
  }
  .resi-diag-timeline-dot  {
    width: 20px;
    height: 20px;
    border-width: 5px;
  }
}