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

.ep-clean-hero,
.ep-clean-hero *{
  box-sizing:border-box;
}

.ep-clean-hero{
  --navy:#07111f;
  --navy2:#10263d;

  --gold:#b99561;
  --gold-light:#efd7aa;

  --ivory:#fffdf8;

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

  position:relative;

  min-height:94svh;

  display:flex;
  align-items:flex-end;

  isolation:isolate;
  overflow:hidden;

  background:var(--navy);
  color:#fff;

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

  direction:rtl;
  text-align:right;
}



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

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

  z-index:-4;
}

.ep-clean-hero__media picture{
  width:100%;
  height:100%;

  display:block;
}

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

  display:block;

  object-fit:cover;

  /*
    IMPORTANT :
    on garde l'image bien visible.
  */
  object-position:center center;
}



/* =========================================================
   OVERLAY
   PLUS LÉGER POUR BIEN VOIR LE VISAGE / SOURIRE
========================================================= */

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

  z-index:-3;

  pointer-events:none;

  background:

    radial-gradient(
      circle at 82% 15%,
      rgba(185,149,97,.10),
      transparent 29%
    ),

    /*
      Zone sombre principalement derrière le texte.
      Le reste de l'image reste visible.
    */
    linear-gradient(
      90deg,
      rgba(4,10,18,.88) 0%,
      rgba(4,10,18,.75) 24%,
      rgba(4,10,18,.53) 40%,
      rgba(4,10,18,.28) 55%,
      rgba(4,10,18,.10) 68%,
      rgba(4,10,18,.02) 79%,
      rgba(4,10,18,0) 100%
    ),

    /*
      Très léger dégradé vertical.
    */
    linear-gradient(
      180deg,
      rgba(4,10,18,.02) 0%,
      rgba(4,10,18,0) 48%,
      rgba(4,10,18,.40) 100%
    );
}



/* =========================================================
   HERO INNER
========================================================= */

.ep-clean-hero__inner{
  width:min(1380px,calc(100% - 96px));

  margin:0 auto;

  padding:145px 0 58px;

  /*
    Physiquement, le contenu reste du côté
    opposé à la partie importante de la photo.
  */
  direction:ltr;
}



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

.ep-clean-hero__content{
  width:min(720px,52vw);

  max-width:720px;

  /*
    bloc placé à gauche sur desktop
  */
  margin-right:auto;
  margin-left:0;

  /*
    contenu arabe
  */
  direction:rtl;
  text-align:right;
}



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

.ep-clean-breadcrumb{
  display:flex;
  align-items:center;
  flex-wrap:wrap;

  gap:9px;

  margin:0 0 25px;

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

  font-size:12px;
  font-weight:600;

  line-height:1.6;
}

.ep-clean-breadcrumb a{
  color:rgba(255,255,255,.76)!important;

  text-decoration:none!important;

  transition:.2s ease;
}

.ep-clean-breadcrumb a:hover{
  color:var(--gold-light)!important;
}

.ep-clean-breadcrumb span{
  color:var(--gold);
}

.ep-clean-breadcrumb strong{
  color:#fff;

  font-weight:600;
}



/* =========================================================
   EYEBROW
========================================================= */

.ep-clean-hero__eyebrow{
  display:flex;
  align-items:center;

  gap:13px;

  margin:0 0 18px;

  color:#e3c38b;

  font-size:11px;
  font-weight:700;

  line-height:1.7;
}

.ep-clean-hero__eyebrow::before{
  content:"";

  width:36px;
  height:1px;

  flex:0 0 36px;

  background:currentColor;
}



/* =========================================================
   H1
========================================================= */

.ep-clean-hero h1{
  max-width:720px;

  margin:0 0 25px!important;

  color:#fff!important;

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

  font-size:clamp(48px,5.4vw,78px)!important;

  font-weight:500!important;

  line-height:1.24!important;

  letter-spacing:0!important;
}

.ep-clean-hero h1 em{
  display:block;

  margin-top:6px;

  color:var(--gold-light);

  font-style:normal;

  font-weight:400;

  font-size:.70em;

  line-height:1.55;
}



/* =========================================================
   INTRO
========================================================= */

.ep-clean-hero__intro{
  max-width:650px;

  margin:0 0 28px;

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

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

  font-weight:400;

  line-height:1.95;
}

.ep-clean-hero__intro strong{
  color:#f0dab2;

  font-weight:600;
}



/* =========================================================
   CTA
========================================================= */

.ep-clean-hero__actions{
  display:flex;
  flex-wrap:wrap;

  gap:12px;

  margin-bottom:43px;
}

.ep-clean-btn{
  min-height:57px;

  display:inline-flex;

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

  gap:8px;

  padding:15px 26px;

  border:1px solid transparent;

  border-radius:999px;

  font-size:12px;

  font-weight:700;

  line-height:1.5;

  text-decoration:none!important;

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

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

.ep-clean-btn--primary{
  color:var(--navy)!important;

  background:var(--ivory);

  border-color:var(--ivory);
}

.ep-clean-btn--primary:hover{
  background:var(--gold-light);

  border-color:var(--gold-light);
}

.ep-clean-btn--secondary{
  color:#fff!important;

  background:rgba(7,17,31,.26);

  border-color:rgba(255,255,255,.40);

  backdrop-filter:blur(10px);
}



/* =========================================================
   TRUST LINE
========================================================= */

.ep-clean-trust{
  max-width:900px;

  display:grid;

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

  border-top:1px solid rgba(255,255,255,.22);
}

.ep-clean-trust__item{
  padding:20px 20px 0;
}

.ep-clean-trust__item:first-child{
  padding-right:0;
}

.ep-clean-trust__item + .ep-clean-trust__item{
  border-right:1px solid rgba(255,255,255,.14);
}

.ep-clean-trust__item strong{
  display:block;

  margin-bottom:5px;

  color:#efd5a5;

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

  font-size:18px;

  font-weight:500;

  line-height:1.5;
}

.ep-clean-trust__item span{
  display:block;

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

  font-size:12px;

  line-height:1.7;
}



/* =========================================================
   SEO / RESOURCE LINKS
========================================================= */

.ep-clean-resources{
  position:relative;

  z-index:2;

  background:#fffdf8;

  direction:rtl;

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

  color:#17293a;

  border-bottom:1px solid rgba(7,17,31,.10);
}

.ep-clean-resources__inner{
  width:min(1180px,calc(100% - 80px));

  margin:0 auto;

  padding:26px 0;
}

.ep-clean-resources__label{
  margin:0 0 13px;

  color:#927044;

  font-size:11px;

  font-weight:700;
}

.ep-clean-resources__links{
  display:flex;

  flex-wrap:wrap;

  gap:9px;
}

.ep-clean-resources__links a{
  display:inline-flex;

  align-items:center;

  min-height:38px;

  padding:8px 14px;

  border:1px solid rgba(7,17,31,.12);

  border-radius:999px;

  background:#fff;

  color:#17293a!important;

  font-size:12px;

  font-weight:600;

  line-height:1.6;

  text-decoration:none!important;

  transition:.2s ease;
}

.ep-clean-resources__links a:hover{
  color:#927044!important;

  border-color:#b99561;

  transform:translateY(-1px);
}

.ep-clean-resources__links a[target="_blank"]::after{
  content:"↗";

  margin-right:7px;

  color:#927044;
}



/* =========================================================
   GENERAL TYPOGRAPHY OF EXISTING PAGE
========================================================= */

.section-intro{
  font-size:17px!important;

  line-height:1.9!important;
}

.body-text p{
  font-size:16px!important;

  line-height:1.95!important;
}

.bf-text{
  font-size:15px!important;

  line-height:1.9!important;
}

.proc-text{
  font-size:15.5px!important;

  line-height:1.9!important;
}

.freq-text{
  font-size:15.5px!important;

  line-height:1.9!important;
}

.fp-desc{
  font-size:13.5px!important;

  line-height:1.8!important;
}

.seo-body p{
  font-size:15.5px!important;

  line-height:1.95!important;
}

.tip-text{
  font-size:14.5px!important;

  line-height:1.85!important;
}

.rel-desc{
  font-size:14.5px!important;

  line-height:1.85!important;
}

.faq-a{
  font-size:15.5px!important;

  line-height:1.95!important;
}



/* =========================================================
   EXISTING TITLES
========================================================= */

.section-title{
  font-family:var(--title-font)!important;

  font-size:clamp(41px,4.5vw,64px)!important;

  line-height:1.4!important;

  letter-spacing:0!important;
}

.bf-name{
  font-family:var(--title-font)!important;

  font-size:25px!important;
}

.proc-title{
  font-family:var(--title-font)!important;

  font-size:24px!important;
}

.freq-title{
  font-family:var(--title-font)!important;

  font-size:clamp(39px,4.2vw,59px)!important;

  line-height:1.4!important;
}

.seo-body h3{
  font-family:var(--title-font)!important;

  font-size:clamp(35px,3.5vw,49px)!important;

  line-height:1.45!important;
}

.tip-title{
  font-family:var(--title-font)!important;

  font-size:21px!important;
}

.rel-name{
  font-family:var(--title-font)!important;

  font-size:25px!important;
}

.faq-q-text{
  font-family:var(--title-font)!important;

  font-size:21px!important;
}



/* =========================================================
   LABELS
========================================================= */

.label-tag,
.proc-badge,
.fp-freq,
.strip-label{
  font-size:11px!important;
}



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

@media(max-width:1000px){

  .ep-clean-hero__inner{
    width:calc(100% - 56px);
  }

  .ep-clean-hero__content{
    width:min(610px,56vw);

    max-width:610px;
  }

  .ep-clean-hero h1{
    font-size:clamp(43px,5vw,65px)!important;
  }

  .ep-clean-trust{
    grid-template-columns:repeat(2,minmax(0,1fr));

    gap:0;
  }

  .ep-clean-trust__item:nth-child(3){
    border-right:0;
  }

  .ep-clean-trust__item:nth-child(n+3){
    margin-top:15px;

    padding-top:15px;

    border-top:1px solid rgba(255,255,255,.14);
  }

}



/* =========================================================
   MOBILE
   IMAGE D'ABORD, TEXTE ENSUITE
========================================================= */

@media(max-width:767px){

  .ep-clean-hero{
    min-height:100svh;

    align-items:flex-start;
  }


  /*
    Photo bien visible.
    Le haut du visage reste dégagé.
  */
  .ep-clean-hero__media img{
    object-position:center top;
  }


  /*
    Aucun voile foncé important
    sur le haut de l'image.
  */
  .ep-clean-hero__overlay{
    background:

      linear-gradient(
        180deg,
        rgba(4,10,18,0) 0%,
        rgba(4,10,18,0) 25%,
        rgba(4,10,18,.02) 34%,
        rgba(4,10,18,.11) 42%,
        rgba(4,10,18,.34) 51%,
        rgba(4,10,18,.68) 61%,
        rgba(4,10,18,.91) 71%,
        rgba(4,10,18,.98) 82%,
        var(--navy) 100%
      );
  }


  /*
    Laisse une grande zone pour voir
    l'image avant le texte.
  */
  .ep-clean-hero__inner{
    width:calc(100% - 36px);

    padding:
      clamp(350px,52svh,480px)
      0
      30px;

    direction:rtl;
  }


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

    max-width:100%;

    margin:0;

    direction:rtl;
  }


  .ep-clean-breadcrumb{
    display:none;
  }


  .ep-clean-hero__eyebrow{
    margin-bottom:13px;

    font-size:9.5px;
  }


  .ep-clean-hero__eyebrow::before{
    width:27px;

    flex-basis:27px;
  }


  .ep-clean-hero h1{
    margin-bottom:18px!important;

    font-size:clamp(38px,10.3vw,52px)!important;

    line-height:1.3!important;
  }


  .ep-clean-hero h1 em{
    font-size:.71em;

    line-height:1.6;
  }


  .ep-clean-hero__intro{
    margin-bottom:22px;

    font-size:15.5px;

    line-height:1.9;
  }


  .ep-clean-hero__actions{
    display:grid;

    grid-template-columns:1fr;

    margin-bottom:27px;
  }


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


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


  .ep-clean-trust__item{
    display:grid;

    grid-template-columns:120px 1fr;

    gap:10px;

    padding:11px 0;
  }


  .ep-clean-trust__item + .ep-clean-trust__item{
    border-right:0;

    border-top:1px solid rgba(255,255,255,.14);
  }


  .ep-clean-trust__item:nth-child(n+3){
    margin-top:0;

    padding-top:11px;
  }


  .ep-clean-trust__item strong{
    margin:0;

    font-size:16px;
  }


  .ep-clean-trust__item span{
    font-size:12px;
  }


  .ep-clean-resources__inner{
    width:calc(100% - 36px);

    padding:23px 0;
  }


  .ep-clean-resources__links{
    display:grid;

    grid-template-columns:1fr;
  }


  .ep-clean-resources__links a{
    width:100%;

    justify-content:space-between;

    border-radius:10px;

    padding:11px 14px;
  }


  .section-title{
    font-size:clamp(35px,9.5vw,49px)!important;
  }


  .section-intro,
  .body-text p{
    font-size:16px!important;
  }


  .bf-text,
  .proc-text,
  .freq-text,
  .seo-body p,
  .faq-a{
    font-size:15.5px!important;
  }

}