/* =========================================================
   ESTHETICAPLUS — STYLES SCOPÉS
   Tout est limité à #ep-prothese pour éviter les conflits WP.
========================================================== */
#ep-prothese{
  --ep-ink:#102a2a;
  --ep-deep:#0b2324;
  --ep-deep-2:#12383a;
  --ep-gold:#c8a56b;
  --ep-gold-soft:#ead9ba;
  --ep-ivory:#f7f4ee;
  --ep-white:#ffffff;
  --ep-muted:#607071;
  --ep-line:rgba(16,42,42,.12);
  --ep-shadow:0 18px 55px rgba(11,35,36,.10);
  --ep-radius:28px;
  color:var(--ep-ink);
  background:var(--ep-white);
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height:1.68;
  overflow:hidden;
}
#ep-prothese *{box-sizing:border-box}
#ep-prothese a{color:inherit}
#ep-prothese img{max-width:100%;height:auto;display:block}
#ep-prothese .ep-wrap{width:min(1180px,calc(100% - 40px));margin-inline:auto}
#ep-prothese .ep-narrow{width:min(860px,calc(100% - 40px));margin-inline:auto}
#ep-prothese h1,
#ep-prothese h2,
#ep-prothese h3{margin:0;color:var(--ep-ink);line-height:1.08;letter-spacing:-.035em}
#ep-prothese h1{font-size:clamp(2.7rem,6vw,5.4rem);font-weight:720;max-width:980px}
#ep-prothese h2{font-size:clamp(2rem,4.4vw,3.7rem);font-weight:700}
#ep-prothese h3{font-size:clamp(1.2rem,2vw,1.55rem);font-weight:700;letter-spacing:-.02em}
#ep-prothese p{margin:0}
#ep-prothese .ep-kicker{
  display:inline-flex;align-items:center;gap:.55rem;
  margin-bottom:18px;color:var(--ep-gold);font-weight:750;
  text-transform:uppercase;letter-spacing:.14em;font-size:.77rem
}
#ep-prothese .ep-kicker:before{content:"";width:28px;height:1px;background:currentColor}
#ep-prothese .ep-lead{font-size:clamp(1.05rem,1.55vw,1.28rem);color:#dbe5e4;max-width:770px}
#ep-prothese .ep-intro{font-size:1.12rem;color:var(--ep-muted);max-width:800px}
#ep-prothese .ep-section{padding:clamp(72px,9vw,118px) 0}
#ep-prothese main > .ep-section:first-child{padding-top:clamp(48px,7vw,84px)}
#ep-prothese .ep-section--ivory{background:var(--ep-ivory)}
#ep-prothese .ep-section--dark{background:var(--ep-deep);color:#eaf2f1}
#ep-prothese .ep-section--dark h2,
#ep-prothese .ep-section--dark h3{color:#fff}
#ep-prothese .ep-section-head{display:grid;grid-template-columns:.9fr 1.1fr;gap:54px;align-items:end;margin-bottom:52px}
#ep-prothese .ep-section-head p{color:var(--ep-muted);font-size:1.05rem}
#ep-prothese .ep-section--dark .ep-section-head p{color:#b9cccc}

/* CARDS */
#ep-prothese .ep-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
#ep-prothese .ep-card{
  position:relative;background:#fff;border:1px solid var(--ep-line);
  border-radius:var(--ep-radius);padding:30px;box-shadow:0 1px 0 rgba(16,42,42,.02)
}
#ep-prothese .ep-card:hover{box-shadow:var(--ep-shadow);transform:translateY(-3px);transition:.25s ease}
#ep-prothese .ep-icon{
  width:52px;height:52px;border-radius:16px;display:grid;place-items:center;
  background:#eef4f2;color:var(--ep-deep-2);font-weight:800;margin-bottom:22px
}
#ep-prothese .ep-card p{color:var(--ep-muted);margin-top:12px}
#ep-prothese .ep-card a.ep-more{
  display:inline-flex;gap:.45rem;align-items:center;margin-top:18px;
  color:var(--ep-deep-2);font-weight:750;text-decoration:none
}
#ep-prothese .ep-card a.ep-more:hover{text-decoration:underline}

/* TABLE / COMPARISON */
#ep-prothese .ep-compare{
  margin-top:34px;border:1px solid var(--ep-line);border-radius:24px;overflow:hidden;background:#fff
}
#ep-prothese .ep-row{display:grid;grid-template-columns:1.05fr 1.15fr 1.15fr 1.2fr;border-bottom:1px solid var(--ep-line)}
#ep-prothese .ep-row:last-child{border-bottom:0}
#ep-prothese .ep-row > div{padding:18px 20px}
#ep-prothese .ep-row--head{background:var(--ep-deep);color:#fff;font-weight:750}
#ep-prothese .ep-row:not(.ep-row--head) > div:first-child{font-weight:750}
#ep-prothese .ep-row:not(.ep-row--head) > div{color:#4e6262}

/* SPLIT */
#ep-prothese .ep-split{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:start}
#ep-prothese .ep-checks{display:grid;gap:14px;margin-top:28px}
#ep-prothese .ep-check{
  display:grid;grid-template-columns:34px 1fr;gap:14px;align-items:start;
  padding:17px 0;border-bottom:1px solid var(--ep-line)
}
#ep-prothese .ep-check:last-child{border-bottom:0}
#ep-prothese .ep-check i{
  width:32px;height:32px;border-radius:50%;display:grid;place-items:center;
  background:#eaf2ef;color:var(--ep-deep-2);font-style:normal;font-weight:800
}
#ep-prothese .ep-check strong{display:block;margin-bottom:3px}
#ep-prothese .ep-check span{color:var(--ep-muted)}
#ep-prothese .ep-note{
  margin-top:28px;padding:22px 24px;border-radius:20px;
  background:#fff;border-left:3px solid var(--ep-gold);box-shadow:var(--ep-shadow)
}
#ep-prothese .ep-note strong{display:block;margin-bottom:6px}

/* STEPS */
#ep-prothese .ep-steps{counter-reset:steps;display:grid;gap:14px;margin-top:38px}
#ep-prothese .ep-step{
  counter-increment:steps;display:grid;grid-template-columns:72px 1fr;gap:22px;
  padding:27px;border:1px solid var(--ep-line);border-radius:24px;background:#fff
}
#ep-prothese .ep-step:before{
  content:"0" counter(steps);width:60px;height:60px;border-radius:18px;
  display:grid;place-items:center;background:var(--ep-deep);color:var(--ep-gold-soft);font-weight:800
}
#ep-prothese .ep-step p{color:var(--ep-muted);margin-top:8px}

/* DARK FEATURE */
#ep-prothese .ep-dark-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:65px;align-items:center}
#ep-prothese .ep-materials{display:grid;gap:12px}
#ep-prothese .ep-material{
  padding:22px;border-radius:20px;border:1px solid rgba(255,255,255,.13);
  background:rgba(255,255,255,.045)
}
#ep-prothese .ep-material strong{color:#fff;display:block}
#ep-prothese .ep-material span{display:block;color:#b9cccc;margin-top:5px}

/* PRICE CTA */
#ep-prothese .ep-price-box{
  display:grid;grid-template-columns:1.15fr .85fr;gap:46px;align-items:center;
  padding:42px;border-radius:32px;background:#fff;border:1px solid var(--ep-line);box-shadow:var(--ep-shadow)
}
#ep-prothese .ep-price-box ul{margin:20px 0 0;padding-left:20px;color:var(--ep-muted)}
#ep-prothese .ep-price-box li{margin:7px 0}
#ep-prothese .ep-price-side{
  padding:28px;border-radius:24px;background:var(--ep-ivory)
}
#ep-prothese .ep-price-side .ep-small{font-size:.86rem;color:var(--ep-muted)}
#ep-prothese .ep-price-side strong{display:block;font-size:1.65rem;line-height:1.15;margin:8px 0 16px}

/* INTERNAL LINKS */
#ep-prothese .ep-links{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:36px}
#ep-prothese .ep-link-card{
  display:flex;flex-direction:column;justify-content:space-between;min-height:180px;
  padding:23px;border:1px solid var(--ep-line);border-radius:22px;text-decoration:none;background:#fff
}
#ep-prothese .ep-link-card small{color:var(--ep-gold);font-weight:800;text-transform:uppercase;letter-spacing:.1em}
#ep-prothese .ep-link-card strong{font-size:1.16rem;line-height:1.2;margin:12px 0}
#ep-prothese .ep-link-card span{color:var(--ep-muted);font-size:.9rem}
#ep-prothese .ep-link-card:hover{border-color:rgba(200,165,107,.65);box-shadow:var(--ep-shadow);transform:translateY(-2px);transition:.25s ease}

/* FAQ */
#ep-prothese .ep-faq{display:grid;gap:10px;margin-top:34px}
#ep-prothese details{
  background:#fff;border:1px solid var(--ep-line);border-radius:18px;padding:0 22px
}
#ep-prothese summary{
  cursor:pointer;list-style:none;padding:20px 38px 20px 0;font-weight:750;position:relative
}
#ep-prothese summary::-webkit-details-marker{display:none}
#ep-prothese summary:after{
  content:"+";position:absolute;right:0;top:15px;width:34px;height:34px;border-radius:50%;
  display:grid;place-items:center;background:var(--ep-ivory);font-size:1.25rem
}
#ep-prothese details[open] summary:after{content:"–"}
#ep-prothese details p{color:var(--ep-muted);padding:0 0 20px}

/* AUTHOR / SOURCES */
#ep-prothese .ep-author{
  display:grid;grid-template-columns:auto 1fr;gap:18px;align-items:center;
  margin-top:38px;padding:24px;border-radius:22px;background:var(--ep-ivory);border:1px solid var(--ep-line)
}
#ep-prothese .ep-avatar{
  width:58px;height:58px;border-radius:50%;display:grid;place-items:center;
  background:var(--ep-deep);color:#fff;font-weight:800
}
#ep-prothese .ep-author small{display:block;color:var(--ep-muted);margin-top:4px}
#ep-prothese .ep-sources{margin-top:26px;color:var(--ep-muted);font-size:.93rem}
#ep-prothese .ep-sources a{color:var(--ep-deep-2);font-weight:700}

/* FINAL CTA */
#ep-prothese .ep-final{
  position:relative;padding:72px 0;background:
  radial-gradient(circle at 85% 20%,rgba(200,165,107,.22),transparent 27%),
  linear-gradient(135deg,#0b2324,#12393a);color:#fff
}
#ep-prothese .ep-final-grid{display:grid;grid-template-columns:1fr auto;gap:42px;align-items:center}
#ep-prothese .ep-final h2{color:#fff}
#ep-prothese .ep-final p{color:#bfd0cf;margin-top:16px;max-width:700px}

/* ACCESSIBILITY / RESPONSIVE */
#ep-prothese :focus-visible{outline:3px solid var(--ep-gold);outline-offset:3px}
@media (max-width:980px){
  #ep-prothese .ep-section-head,
  #ep-prothese .ep-split,
  #ep-prothese .ep-dark-grid,
  #ep-prothese .ep-price-box{grid-template-columns:1fr}
  #ep-prothese .ep-grid-3{grid-template-columns:1fr}
  #ep-prothese .ep-links{grid-template-columns:repeat(2,1fr)}
  #ep-prothese .ep-row{grid-template-columns:1fr 1fr}
  #ep-prothese .ep-row--head{display:none}
  #ep-prothese .ep-row > div{border-bottom:1px solid var(--ep-line)}
  #ep-prothese .ep-final-grid{grid-template-columns:1fr}
}
@media (max-width:640px){
  #ep-prothese .ep-wrap,#ep-prothese .ep-narrow{width:min(100% - 26px,1180px)}
  #ep-prothese .ep-links{grid-template-columns:1fr}
  #ep-prothese .ep-row{grid-template-columns:1fr}
  #ep-prothese .ep-row > div{padding:14px 18px}
  #ep-prothese .ep-step{grid-template-columns:52px 1fr;padding:20px}
  #ep-prothese .ep-step:before{width:48px;height:48px;border-radius:14px}
  #ep-prothese .ep-price-box{padding:26px}
}