
/* HBCHM 5.5.9 — refonte visuelle des fiches équipe, sans changement des données */
body:has(.team-detail-mode){background:#eaf2f8}
.team-detail-mode .team-profile-premium{
  max-width:1120px;margin:0 auto 30px;border-radius:22px!important;overflow:hidden;
  background:#fff!important;box-shadow:0 20px 55px rgba(5,36,60,.14);
  border:1px solid #d7e7ef;
}
.team-detail-mode .team-profile-hero{
  height:clamp(320px,40vw,490px)!important;
  border-radius:0!important;background:#062338!important;
}
.team-detail-mode .team-profile-image{
  width:100%;height:100%;object-fit:cover;object-position:center 43%;
  filter:saturate(1.08) contrast(1.08)!important;
}
.team-detail-mode .team-profile-hero-shade{
  background:linear-gradient(90deg,rgba(2,23,41,.9) 0%,rgba(3,27,45,.58) 47%,rgba(3,27,45,.08) 100%),
  linear-gradient(0deg,rgba(3,24,42,.7),transparent 62%)!important;
}
.team-detail-mode .team-profile-hero-content{
  left:clamp(25px,5vw,62px)!important;bottom:clamp(28px,5vw,56px)!important;
  max-width:70%;text-shadow:0 3px 14px #001b3180;
}
.team-detail-mode .team-profile-hero-content h2{
  font-size:clamp(68px,10vw,126px)!important;line-height:.95!important;
  letter-spacing:-.045em!important;font-weight:950!important;margin:14px 0 12px!important;
}
.team-detail-mode .team-profile-hero-content p{
  font-size:clamp(16px,2.1vw,23px)!important;line-height:1.35!important;font-weight:650!important;
  color:#e8faff!important;
}
.team-detail-mode .team-profile-photo-note{display:none!important}
.team-detail-mode .team-profile-info{
  background:#fff!important;color:#092d45!important;padding:clamp(24px,4vw,50px)!important;
}
.team-detail-mode .team-profile-section-heading{margin-bottom:25px!important}
.team-detail-mode .team-profile-section-heading small{
  color:#008fa8!important;font-weight:850!important;letter-spacing:.15em!important
}
.team-detail-mode .team-profile-section-heading h3{
  color:#092d45!important;font-size:clamp(25px,3.2vw,35px)!important;margin-top:5px!important
}
.team-detail-mode .team-profile-stats{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px!important}
.team-detail-mode .team-profile-stat{
  position:relative;background:linear-gradient(145deg,#eff9fc,#f8fbff)!important;
  color:#0b3550!important;border:1px solid #d6e9f2!important;
  border-radius:16px!important;padding:26px 28px!important;min-height:148px!important;
  box-shadow:none!important;
}
.team-detail-mode .team-profile-stat::before{
  content:"";position:absolute;left:0;top:20px;bottom:20px;width:4px;border-radius:0 5px 5px 0;background:#00bfd3;
}
.team-detail-mode .team-profile-stat span:not(.team-profile-stat-icon){
  color:#167b95!important;font-size:11px!important;font-weight:900!important;letter-spacing:.1em!important;
}
.team-detail-mode .team-profile-stat strong{
  color:#082d47!important;font-size:clamp(19px,2.2vw,26px)!important;line-height:1.25!important;
}
.team-detail-mode .team-profile-stat-icon{
  color:#00a9c4!important;font-size:20px!important
}
.team-detail-mode .team-profile-back{
  display:inline-flex!important;margin-top:30px!important;padding:12px 18px!important;
  border:1px solid #b8d9e6!important;border-radius:10px!important;background:#f4fbfd!important;
  color:#006783!important;font-weight:800!important;text-decoration:none!important;
}
.team-detail-mode .team-profile-back:hover{background:#e2f8fc!important}
@media(max-width:680px){
  .team-detail-mode .team-profile-hero{height:340px!important}
  .team-detail-mode .team-profile-hero-content{max-width:88%}
  .team-detail-mode .team-profile-stats{grid-template-columns:1fr!important}
  .team-detail-mode .team-profile-stat{min-height:118px!important;padding:20px!important}
  .team-detail-mode .team-profile-info{padding:24px 20px!important}
}
