/* =========================================================
   RESILINER - PAGE CHEMISAGE ELASTOFLAKE
   Scope : classes resi-*
   Sans impact sur header_no_bg
   ========================================================= */
/* Général */ .resi-chemisage-page, .resi-diag-care-top  {
  position: relative;
}

.resi-chemisage-page h2, .resi-chemisage-page h3, .resi-chemisage-page h4, .resi-diag-care-top h2, .resi-diag-care-top h3, .section-title  {
  color: #04292b;
  font-weight: 800;
  line-height: 1.2;
}

.resi-chemisage-page p, .resi-chemisage-page li, .section-lead  {
  color: #195a5e;
  line-height: 1.7;
}

.section-lead  {
  font-size: 1.08rem;
}

.row-spaced  {
  row-gap: 30px;
}

.flex-gap-3  {
  gap: 1rem;
}
/* Fonds de section */ .bg_lightgray.resi-chemisage-page  {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f7fbfc 0%, #ffffff 100%) !important;
}

.bg_lightgray.resi-chemisage-page::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;
}

.bg_lightgray.resi-chemisage-page::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-chemisage-page > .container  {
  position: relative;
  z-index: 1;
}
/* Badge */ .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;
}
/* =========================================================
   BLOC C.A.R.E.
   ========================================================= */ .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;
}

.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);
}
/* Navigation C.A.R.E. */ .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;
}
/* Cartes C.A.R.E. */ .resi-diag-care-grid  {
  position: relative;
  z-index: 1;
  padding: 0 20px 20px;
}

.resi-diag-care-card  {
  display: block;
  width: 100%;
  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;
  color: inherit;
  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;
  background: #d9e7e9;
}

.resi-diag-care-media img  {
  width: 100%;
  height: 100%;
  max-width: none;
  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;
}
/* =========================================================
   CARTES / PANELS / BLOCS CONTENU
   ========================================================= */ .resi-diag-kpi, .resi-diag-arrow-card, .resi-diag-band, .resi-diag-panel, .resi-diag-note, .resi-chemisage-content-card, .resi-chemisage-pass-card, .resi-chemisage-soft-box  {
  position: relative;
  overflow: hidden;
  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);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.resi-diag-kpi, .resi-diag-arrow-card, .resi-diag-band, .resi-diag-note, .resi-chemisage-content-card, .resi-chemisage-pass-card, .resi-chemisage-soft-box  {
  padding: 28px;
}

.resi-diag-kpi, .resi-diag-arrow-card, .resi-chemisage-pass-card  {
  height: 100%;
}

.resi-diag-kpi:hover, .resi-diag-arrow-card:hover, .resi-diag-band:hover, .resi-diag-panel:hover, .resi-chemisage-content-card:hover, .resi-chemisage-pass-card:hover, .resi-chemisage-soft-box:hover  {
  transform: translateY(-4px);
  border-color: rgba(7, 108, 160, 0.22);
  box-shadow: 0 18px 46px rgba(4, 41, 43, 0.1);
}
/* Icones */ .resi-diag-kpi-icon, .resi-chemisage-pass-badge  {
  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;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(7, 108, 160, 0.22);
}
/* Titres cards */ .resi-diag-kpi h3, .resi-diag-kpi h4, .resi-diag-arrow-card h3, .resi-diag-band h3, .resi-diag-panel-head h3, .resi-chemisage-content-card h2, .resi-chemisage-content-card h3, .resi-chemisage-pass-card h3, .resi-chemisage-soft-box h3  {
  color: #04292b;
  font-weight: 800;
  line-height: 1.3;
}

.resi-diag-kpi p, .resi-diag-arrow-card p, .resi-diag-arrow-card li, .resi-diag-band li, .resi-diag-note p, .resi-chemisage-content-card p, .resi-chemisage-pass-card li, .resi-chemisage-soft-box p  {
  color: #195a5e;
}
/* Mini label */ .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;
}
/* Checklist */ .resi-diag-checklist li  {
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
  color: #195a5e;
}

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

.resi-diag-checklist i  {
  position: absolute;
  top: 4px;
  left: 0;
  color: #1b858f;
}
/* Band */ .resi-diag-band  {
  background: linear-gradient(135deg, #f8fbfc 0%, #ffffff 100%);
}

.resi-diag-band i  {
  color: #076ca0;
}
/* Note */ .resi-diag-note  {
  background: linear-gradient(135deg, rgba(83, 143, 187, 0.08) 0%, rgba(27, 133, 143, 0.08) 100%);
}
/* Panel */ .resi-diag-panel  {
  padding: 0;
}

.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;
}
/* Soft box */ .resi-chemisage-soft-box  {
  background: linear-gradient(135deg, rgba(83, 143, 187, 0.08) 0%, rgba(27, 133, 143, 0.08) 100%);
}
/* Link card */ .resi-chemisage-link-card  {
  position: relative;
  overflow: hidden;
  padding: 34px;
  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-chemisage-link-card::before  {
  content: "";
  position: absolute;
  top: -110px;
  right: -110px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 72%);
  pointer-events: none;
}

.resi-chemisage-link-card h3, .resi-chemisage-link-card p  {
  position: relative;
  z-index: 1;
  color: #ffffff;
}

.resi-chemisage-link-card .btn  {
  position: relative;
  z-index: 1;
  font-weight: 700;
}
/* CTA final */ .resi-diag-cta-box  {
  position: relative;
  overflow: hidden;
  padding: 42px;
  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-cta-box::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-cta-box::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-cta-box > *  {
  position: relative;
  z-index: 1;
}

.resi-diag-cta-box h2  {
  color: #ffffff;
  font-weight: 800;
}

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

.resi-diag-cta-box .btn  {
  padding: 12px 24px;
  font-weight: 700;
}
/* Boutons */ .resi-chemisage-page .btn-primary, .resi-diag-cta-box .btn-primary  {
  border: 0;
  background: linear-gradient(135deg, #076ca0 0%, #1b858f 100%);
  box-shadow: 0 12px 24px rgba(7, 108, 160, 0.22);
}

.resi-chemisage-page .btn-primary:hover, .resi-diag-cta-box .btn-primary:hover  {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(7, 108, 160, 0.28);
}

.resi-diag-cta-box .btn-outline-primary  {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.8);
}

.resi-diag-cta-box .btn-outline-primary:hover  {
  color: #04292b;
  background: #ffffff;
  border-color: #ffffff;
}
/* =========================================================
   RESPONSIVE
   ========================================================= */ @media (max-width: 991.98px)  {
  .resi-diag-care-head  {
    padding: 28px 28px 18px;
  }
  .resi-diag-care-nav  {
    padding: 0 28px 18px;
  }
  .resi-diag-care-grid  {
    padding: 0 14px 14px;
  }
  .resi-chemisage-link-card  {
    padding: 28px;
  }
}

@media (max-width: 767.98px)  {
  .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, .resi-diag-kpi, .resi-diag-arrow-card, .resi-diag-band, .resi-diag-panel-body, .resi-diag-note, .resi-chemisage-content-card, .resi-chemisage-pass-card, .resi-chemisage-soft-box  {
    padding: 22px;
  }
  .resi-diag-panel-head  {
    padding: 18px 22px;
  }
  .resi-diag-care-media  {
    height: 170px;
  }
  .resi-diag-care-body  {
    padding: 20px;
  }
  .resi-chemisage-link-card, .resi-diag-cta-box  {
    padding: 28px 22px;
  }
}

@media (max-width: 575.98px)  {
  .resi-diag-care-head h2, .resi-chemisage-page h2, .section-title, .resi-diag-cta-box h2  {
    font-size: 1.55rem;
  }
  .resi-diag-care-card h3, .resi-diag-kpi h3, .resi-diag-kpi h4, .resi-diag-arrow-card h3, .resi-diag-band h3, .resi-diag-panel-head h3, .resi-chemisage-content-card h3, .resi-chemisage-pass-card h3  {
    font-size: 1.05rem;
    line-height: 1.35;
  }
  .resi-diag-checklist li  {
    padding-left: 28px;
    margin-bottom: 12px;
  }
}