/* =========================================================
   BASE
========================================================= */

.ep-prothese-hero{
  --ep-pr-navy:#061426;
  --ep-pr-gold:#e0bd77;
  --ep-pr-gold-light:#f2d99e;

  --title-font:"Noto Kufi Arabic","Noto Sans Arabic",Arial,sans-serif;
  --body-font:"Noto Sans Arabic",Arial,sans-serif;

  position:relative;

  width:100%;
  max-width:100%;

  min-height:860px;

  margin:0;

  display:flex;
  align-items:center;

  overflow:hidden;
  isolation:isolate;

  background:#061426;

  color:#fff;

  font-family:var(--body-font);

  direction:rtl;
  text-align:right;
}


.ep-prothese-hero *,
.ep-prothese-hero *::before,
.ep-prothese-hero *::after{
  box-sizing:border-box;
  max-width:100%;
}



/* =========================================================
   IMAGE
========================================================= */

.ep-prothese-hero__media{
  position:absolute;
  inset:0;

  z-index:-6;
}


.ep-prothese-hero__media img{
  width:100%;
  height:100%;

  display:block;

  object-fit:cover;

  /*
    IMAGE BIEN VISIBLE
  */
  object-position:center center;
}



/* =========================================================
   OVERLAY
   VOLONTAIREMENT LÉGER
========================================================= */

.ep-prothese-hero__overlay{
  position:absolute;
  inset:0;

  z-index:-5;

  /*
    Le voile sombre reste surtout
    derrière le texte.

    La droite de la photo reste
    presque complètement visible.
  */

  background:
    linear-gradient(
      90deg,
      rgba(3,11,23,.76) 0%,
      rgba(3,11,23,.63) 22%,
      rgba(3,11,23,.43) 39%,
      rgba(3,11,23,.25) 52%,
      rgba(3,11,23,.10) 64%,
      rgba(3,11,23,.03) 73%,
      rgba(3,11,23,0) 82%,
      rgba(3,11,23,0) 100%
    );
}


.ep-prothese-hero__overlay::after{
  content:"";

  position:absolute;
  inset:0;

  background:
    linear-gradient(
      180deg,
      rgba(6,20,38,0) 0%,
      rgba(6,20,38,0) 58%,
      rgba(6,20,38,.16) 80%,
      rgba(6,20,38,.32) 100%
    );
}



/* =========================================================
   GRID
========================================================= */

.ep-prothese-hero__grid{
  position:absolute;
  inset:0;

  z-index:-4;

  pointer-events:none;

  /*
    Presque invisible pour ne pas
    cacher la photo.
  */
  opacity:.025;

  background-image:
    linear-gradient(
      rgba(224,189,119,.35) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(224,189,119,.35) 1px,
      transparent 1px
    );

  background-size:64px 64px;
}



/* =========================================================
   GLOW
========================================================= */

.ep-prothese-hero__glow{
  position:absolute;

  z-index:-3;

  border-radius:50%;

  pointer-events:none;

  filter:blur(90px);
}


.ep-prothese-hero__glow--one{
  left:-230px;
  bottom:-275px;

  width:600px;
  height:600px;

  background:rgba(224,189,119,.10);
}



/* =========================================================
   CONTAINER
========================================================= */

.ep-prothese-hero__container{
  width:min(1200px,calc(100% - 56px));

  margin:0 auto;

  padding:140px 0 96px;

  /*
    On utilise LTR uniquement pour
    placer physiquement le bloc à gauche.
  */
  direction:ltr;
}



/* =========================================================
   CONTENT
========================================================= */

.ep-prothese-hero__content{
  /*
    Bloc volontairement étroit pour
    ne pas recouvrir le visage.
  */

  width:min(660px,49%);

  max-width:660px;

  margin-right:auto;
  margin-left:0;

  direction:rtl;
  text-align:right;
}



/* =========================================================
   BREADCRUMB
========================================================= */

.ep-prothese-hero__breadcrumb{
  display:flex;

  align-items:center;
  flex-wrap:wrap;

  gap:8px;

  margin-bottom:34px;

  color:rgba(255,255,255,.66);

  font-size:12px;

  line-height:1.6;
}


.ep-prothese-hero__breadcrumb a{
  color:inherit;

  text-decoration:none;
}


.ep-prothese-hero__breadcrumb a:hover{
  color:#f2d99e;
}


.ep-prothese-hero__breadcrumb strong{
  color:#fff;

  font-weight:600;
}



/* =========================================================
   KICKER
========================================================= */

.ep-prothese-hero__kicker{
  margin:0 0 16px;

  color:#f2d99e;

  font-size:11px;

  font-weight:700;

  line-height:1.7;
}



/* =========================================================
   TITLE
========================================================= */

.ep-prothese-hero h1#ep-prothese-title,
.ep-prothese-hero .ep-prothese-hero__title{
  display:block!important;

  width:100%!important;

  max-width:660px!important;

  margin:0 0 26px!important;

  padding:0!important;

  color:#fff!important;

  font-family:var(--title-font)!important;

  font-size:clamp(43px,4.4vw,68px)!important;

  font-weight:600!important;

  font-style:normal!important;

  line-height:1.32!important;

  letter-spacing:0!important;

  text-transform:none!important;

  text-shadow:
    0 12px 38px rgba(0,0,0,.35);
}


.ep-prothese-hero h1#ep-prothese-title
.ep-prothese-hero__title-main{
  display:block!important;

  margin:0!important;

  padding:0!important;

  color:#fff!important;

  font-family:var(--title-font)!important;

  font-size:1em!important;

  font-weight:600!important;

  line-height:1.35!important;

  letter-spacing:0!important;

  white-space:normal!important;
}


.ep-prothese-hero h1#ep-prothese-title
.ep-prothese-hero__title-accent{
  display:block!important;

  margin:8px 0 0!important;

  padding:0!important;

  color:#f2d99e!important;

  font-family:var(--title-font)!important;

  font-size:.70em!important;

  font-weight:400!important;

  font-style:normal!important;

  line-height:1.5!important;

  letter-spacing:0!important;

  white-space:normal!important;
}



/* =========================================================
   DESCRIPTION
========================================================= */

.ep-prothese-hero__description{
  max-width:620px;

  margin:0 0 25px;

  color:rgba(255,255,255,.91);

  font-size:clamp(17px,1.25vw,20px);

  line-height:1.95;

  text-shadow:
    0 5px 20px rgba(0,0,0,.25);
}



/* =========================================================
   TAGS
========================================================= */

.ep-prothese-hero__tags{
  display:flex;

  flex-wrap:wrap;

  gap:8px;

  margin-bottom:29px;
}


.ep-prothese-hero__tags span{
  min-height:36px;

  display:inline-flex;

  align-items:center;

  padding:7px 13px;

  border:1px solid rgba(242,217,158,.27);

  border-radius:999px;

  background:rgba(6,20,38,.28);

  color:rgba(255,255,255,.94);

  font-size:11px;

  font-weight:700;

  line-height:1.5;

  backdrop-filter:blur(5px);
}



/* =========================================================
   BUTTONS
========================================================= */

.ep-prothese-hero__actions{
  display:flex;

  flex-wrap:wrap;

  gap:12px;

  margin-bottom:31px;
}


.ep-prothese-hero__btn{
  min-height:55px;

  display:inline-flex;

  align-items:center;
  justify-content:center;

  gap:9px;

  padding:14px 23px;

  border:1px solid transparent;

  border-radius:999px;

  font-size:12px;

  font-weight:700;

  line-height:1.5;

  text-align:center;

  text-decoration:none;

  transition:
    transform .2s ease,
    background .2s ease,
    border-color .2s ease;
}


.ep-prothese-hero__btn:hover{
  transform:translateY(-2px);
}


.ep-prothese-hero__btn--primary{
  background:#f2d99e;

  color:#061426;

  box-shadow:
    0 17px 40px rgba(0,0,0,.18);
}


.ep-prothese-hero__btn--primary:hover{
  background:#ffe9b2;
}


.ep-prothese-hero__btn--secondary{
  border-color:rgba(255,255,255,.37);

  background:rgba(255,255,255,.05);

  color:#fff;

  backdrop-filter:blur(6px);
}


.ep-prothese-hero__btn--secondary:hover{
  border-color:rgba(255,255,255,.72);

  background:rgba(255,255,255,.10);
}



/* =========================================================
   PROOFS
========================================================= */

.ep-prothese-hero__proofs{
  width:min(660px,100%);

  display:grid;

  grid-template-columns:repeat(3,minmax(0,1fr));

  gap:1px;

  overflow:hidden;

  border:1px solid rgba(255,255,255,.13);

  border-radius:17px;

  background:rgba(255,255,255,.08);
}


.ep-prothese-hero__proofs article{
  min-height:86px;

  display:flex;

  align-items:center;

  gap:11px;

  padding:15px;

  background:rgba(6,20,38,.48);

  backdrop-filter:blur(6px);
}


.ep-prothese-hero__proofs strong{
  color:#f2d99e;

  font-family:var(--title-font);

  font-size:23px;

  font-weight:500;

  line-height:1;
}


.ep-prothese-hero__proofs span{
  display:block;

  margin-bottom:4px;

  color:#fff;

  font-size:12px;

  font-weight:700;

  line-height:1.5;
}


.ep-prothese-hero__proofs small{
  display:block;

  color:rgba(255,255,255,.61);

  font-size:10px;

  line-height:1.55;
}



/* =========================================================
   NOTE
========================================================= */

.ep-prothese-hero__note{
  max-width:650px;

  margin:18px 0 0;

  color:rgba(255,255,255,.65);

  font-size:12px;

  line-height:1.8;
}



/* =========================================================
   SCROLL
========================================================= */

.ep-prothese-hero__scroll{
  position:absolute;

  left:50%;
  bottom:27px;

  width:30px;
  height:48px;

  display:flex;

  justify-content:center;

  padding-top:8px;

  border:1px solid rgba(255,255,255,.25);

  border-radius:999px;

  transform:translateX(-50%);
}


.ep-prothese-hero__scroll span{
  width:4px;
  height:8px;

  border-radius:999px;

  background:#f2d99e;

  animation:epProtheseScroll 1.8s infinite;
}


@keyframes epProtheseScroll{

  0%{
    transform:translateY(0);
    opacity:1;
  }

  70%{
    transform:translateY(19px);
    opacity:0;
  }

  100%{
    transform:translateY(0);
    opacity:0;
  }

}



/* =========================================================
   TABLET
========================================================= */

@media(max-width:1050px){

  .ep-prothese-hero__content{
    width:min(600px,55%);
  }

  .ep-prothese-hero__proofs{
    grid-template-columns:1fr;

    max-width:440px;
  }

  .ep-prothese-hero__proofs article{
    min-height:64px;
  }

}



/* =========================================================
   MOBILE
   IMAGE D'ABORD — TEXTE SOUS LE VISAGE
========================================================= */

@media(max-width:767px){

  .ep-prothese-hero{
    min-height:940px;

    align-items:flex-start;
  }


  /*
    IMAGE BIEN VISIBLE
  */
  .ep-prothese-hero__media img{
    object-position:center top;
  }


  /*
    Aucun vrai voile sombre
    sur la partie haute du visage.
  */
  .ep-prothese-hero__overlay{
    background:
      linear-gradient(
        180deg,
        rgba(3,11,23,0) 0%,
        rgba(3,11,23,0) 28%,
        rgba(3,11,23,.02) 36%,
        rgba(3,11,23,.10) 44%,
        rgba(3,11,23,.29) 53%,
        rgba(3,11,23,.59) 62%,
        rgba(3,11,23,.86) 72%,
        rgba(3,11,23,.97) 82%,
        #061426 100%
      );
  }


  .ep-prothese-hero__overlay::after{
    background:none;
  }


  .ep-prothese-hero__grid{
    display:none;
  }


  /*
    Grande zone réservée à la photo
    avant le début du texte.
  */
  .ep-prothese-hero__container{
    width:100%;

    max-width:100%;

    padding:
      clamp(370px,53svh,500px)
      18px
      48px;

    direction:rtl;
  }


  .ep-prothese-hero__content{
    width:100%;

    max-width:100%;

    margin:0;
  }


  .ep-prothese-hero__breadcrumb{
    display:none;
  }


  .ep-prothese-hero__kicker{
    margin-bottom:12px;

    font-size:9.5px;
  }


  .ep-prothese-hero h1#ep-prothese-title,
  .ep-prothese-hero .ep-prothese-hero__title{
    max-width:none!important;

    margin-bottom:20px!important;

    font-size:clamp(35px,9.8vw,48px)!important;

    line-height:1.35!important;
  }


  .ep-prothese-hero h1#ep-prothese-title
  .ep-prothese-hero__title-main{
    font-size:1em!important;

    line-height:1.4!important;
  }


  .ep-prothese-hero h1#ep-prothese-title
  .ep-prothese-hero__title-accent{
    margin-top:6px!important;

    font-size:.73em!important;

    line-height:1.55!important;
  }


  .ep-prothese-hero__description{
    margin-bottom:20px;

    font-size:16px;

    line-height:1.9;
  }


  .ep-prothese-hero__tags{
    gap:7px;

    margin-bottom:23px;
  }


  .ep-prothese-hero__tags span{
    min-height:33px;

    padding:6px 10px;

    font-size:10.5px;
  }


  .ep-prothese-hero__actions{
    display:grid;

    grid-template-columns:1fr;

    margin-bottom:23px;
  }


  .ep-prothese-hero__btn{
    width:100%;

    min-height:52px;

    font-size:11.5px;
  }


  .ep-prothese-hero__proofs{
    grid-template-columns:repeat(3,minmax(0,1fr));

    max-width:none;
  }


  .ep-prothese-hero__proofs article{
    min-height:82px;

    display:block;

    padding:11px 6px;

    text-align:center;
  }


  .ep-prothese-hero__proofs strong{
    display:block;

    margin-bottom:6px;

    font-size:20px;
  }


  .ep-prothese-hero__proofs span{
    font-size:9.5px;
  }


  .ep-prothese-hero__proofs small{
    display:none;
  }


  .ep-prothese-hero__note{
    margin-top:15px;

    font-size:10.5px;
  }


  .ep-prothese-hero__scroll{
    display:none;
  }

}



/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media(max-width:390px){

  .ep-prothese-hero__container{
    padding-left:14px;
    padding-right:14px;
  }


  .ep-prothese-hero h1#ep-prothese-title,
  .ep-prothese-hero .ep-prothese-hero__title{
    font-size:34px!important;
  }


  .ep-prothese-hero__description{
    font-size:15.5px;
  }

}