.ep-inv-page,
.ep-inv-page *{
  box-sizing:border-box;
}

.ep-inv-page{
  --green:#071915;
  --gold:#d8b66a;
  --gold2:#e7c878;
  --cream:#fbf7ef;
  --white:#fff;
  --text:#344054;
  --muted:#667085;
  --line:rgba(7,25,21,.10);

  font-family:Arial,Helvetica,sans-serif;
  background:var(--cream);
  color:var(--text);
  overflow:hidden;
}

.ep-inv-page a{
  text-decoration:none;
}

.ep-inv-page img{
  display:block;
}

.ep-inv-wrap{
  width:min(1200px,calc(100% - 40px));
  margin:auto;
}

.ep-inv-section{
  padding:90px 0;
}

.ep-inv-h2{
  margin:0 0 25px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(32px,4vw,50px);
  font-weight:500;
  line-height:1.2;
  color:var(--green);
}

.ep-inv-p{
  margin:0 0 20px;
  font-size:18px;
  line-height:1.9;
  color:#344054;
}


/* =====================================================
HERO CORRIGÉ — VISAGE VISIBLE
===================================================== */

.ep-inv-hero{
  min-height:850px;
  display:flex;
  align-items:center;
  position:relative;
  overflow:hidden;
  color:white;
  background:#071915;
}

.ep-inv-hero picture{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}

.ep-inv-hero img{
  width:100%;
  height:100%;
  object-fit:cover;

  /* CORRECTION DU CADRAGE */
  object-position:72% 28%;
}

.ep-inv-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(
      90deg,
      rgba(7,25,21,.96) 0%,
      rgba(7,25,21,.84) 36%,
      rgba(7,25,21,.52) 60%,
      rgba(7,25,21,.12) 100%
    );
}

.ep-inv-content{
  position:relative;
  z-index:2;
  max-width:780px;
}

.ep-inv-kicker{
  font-size:13px;
  letter-spacing:2px;
  font-weight:800;
  color:#e5c77b;
  margin-bottom:25px;
  text-transform:uppercase;
}

.ep-inv-hero h1{
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(45px,6vw,82px);
  font-weight:500;
  line-height:1.05;
  margin:0 0 30px;
}

.ep-inv-hero h1 span{
  color:#e7c878;
  display:block;
  margin-top:10px;
}

.ep-inv-lead{
  font-size:21px;
  line-height:1.7;
  color:rgba(255,255,255,.92);
  max-width:700px;
}

.ep-inv-buttons{
  display:flex;
  gap:15px;
  flex-wrap:wrap;
  margin-top:40px;
}

.ep-inv-btn{
  padding:17px 32px;
  border-radius:50px;
  font-weight:800;
  letter-spacing:.05em;
  font-size:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition:.25s ease;
}

.ep-inv-btn:hover{
  transform:translateY(-2px);
}

.ep-inv-primary{
  background:#d8b66a;
  color:#071915!important;
}

.ep-inv-secondary{
  border:1px solid rgba(255,255,255,.5);
  color:white!important;
  background:rgba(255,255,255,.08);
}

.ep-inv-proof{
  display:flex;
  margin-top:45px;
  background:rgba(255,255,255,.12);
  border-radius:20px;
  overflow:hidden;
  max-width:750px;
  backdrop-filter:blur(10px);
}

.ep-inv-proof div{
  padding:20px 28px;
  flex:1;
  border-right:1px solid rgba(255,255,255,.2);
}

.ep-inv-proof div:last-child{
  border:none;
}

.ep-inv-proof strong{
  display:block;
  font-family:Georgia,serif;
  font-size:22px;
  color:#e7c878;
}

.ep-inv-proof span{
  font-size:13px;
  color:white;
  opacity:.9;
}


/* =====================================================
CONTENU DEUX COLONNES
===================================================== */

.ep-inv-intro-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:center;
}

.ep-inv-intro-grid img{
  width:100%;
  border-radius:25px;
  box-shadow:0 20px 50px rgba(0,0,0,.12);
}


/* =====================================================
CARTES — AJOUT MANQUANT DANS LE CODE SOURCE
===================================================== */

.ep-patient-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
  margin-top:38px;
}

.ep-patient-card{
  height:100%;
  padding:30px;
  border-radius:22px;
  background:#fff;
  border:1px solid rgba(7,25,21,.08);
  box-shadow:0 12px 35px rgba(7,25,21,.06);
}

.ep-patient-card h3{
  margin:0 0 15px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:25px;
  line-height:1.25;
  font-weight:500;
  color:#071915;
}

.ep-patient-card p{
  margin:0;
  color:#56606c;
  font-size:16px;
  line-height:1.8;
}


/* TABLEAU */

.ep-inv-table-wrap{
  overflow:auto;
  margin-top:40px;
}

.ep-inv-table{
  width:100%;
  border-collapse:collapse;
  min-width:650px;
  background:#fff;
}

.ep-inv-table th{
  padding:18px;
  text-align:left;
  background:#071915;
  color:white;
}

.ep-inv-table td{
  padding:18px;
  border-bottom:1px solid #ddd;
}


/* FAQ */

.ep-faq details{
  background:#fbf7ef;
  border-radius:18px;
  padding:25px;
  margin-bottom:15px;
  box-shadow:0 10px 30px rgba(0,0,0,.06);
}

.ep-faq summary{
  cursor:pointer;
  font-size:19px;
  font-weight:800;
  color:#071915;
  list-style:none;
}

.ep-faq summary::-webkit-details-marker{
  display:none;
}

.ep-faq p{
  margin:18px 0 0;
  font-size:16px;
  line-height:1.8;
  color:#555;
}


/* LIENS */

.ep-related{
  margin:30px 0 0;
  padding:0;
  list-style:none;
  font-size:18px;
  line-height:2;
}

.ep-related a{
  color:#b9933c;
  font-weight:700;
}


/* RESPONSIVE */

@media(min-width:1200px){

  .ep-inv-hero img{
    object-position:70% 28%;
  }

}

@media(min-width:768px) and (max-width:1199px){

  .ep-inv-hero img{
    object-position:76% 28%;
  }

}

@media(max-width:900px){

  .ep-patient-grid{
    grid-template-columns:1fr 1fr;
  }

}

@media(max-width:768px){

  .ep-inv-section{
    padding:65px 0;
  }

  .ep-inv-hero{
    min-height:800px;
    align-items:flex-end;
  }

  .ep-inv-hero img{
    object-position:center top;
  }

  .ep-inv-overlay{
    background:
      linear-gradient(
        180deg,
        rgba(7,25,21,.05) 0%,
        rgba(7,25,21,.22) 28%,
        rgba(7,25,21,.90) 59%,
        rgba(7,25,21,.99) 100%
      );
  }

  .ep-inv-content{
    padding:330px 0 50px;
  }

  .ep-inv-hero h1{
    font-size:42px;
  }

  .ep-inv-lead{
    font-size:17px;
  }

  .ep-inv-proof{
    display:block;
  }

  .ep-inv-proof div{
    border-right:none;
    border-bottom:1px solid rgba(255,255,255,.2);
  }

  .ep-inv-intro-grid{
    grid-template-columns:1fr;
  }

  .ep-patient-grid{
    grid-template-columns:1fr;
  }

  .ep-inv-buttons{
    display:grid;
  }

  .ep-inv-btn{
    width:100%;
  }

}