.user-is-tabbing a:focus,
.user-is-tabbing button:focus{
  outline: 3px solid var(--color-primary);
}
/* ================= RESET ================= */
*, *::before, *::after{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
img{
  max-width: 100%;
  display: block;
}
ul{
  list-style: none;
  padding: 0!important;
}
a{
  text-decoration: none;
  color: inherit;
}
::selection{
  color: white;
  background-color: var(--color-primary);
}
/* ================= VARIABLES ================= */
:root{
  --color-primary: #079992;
  --color-primary-dark: #16897E;
  --color-secondary: #ff7300;
  --color-dark: #1E1E1E;
  --color-gray: #6B7280;
  --color-light: #F8F9FA;
  --color-white: #FFFFFF;
  --color-crema: #f4f1ec;

  --font-title: 'Lora', sans-serif;
  --font-text: 'Nunito', sans-serif;

  --container-width: 1280px;
  --radius: 12px;
  --radius-sm: 8px;

  --transition-fast: 0.25s ease;
  --transition: 0.4s ease;
}
/* ================= BASE ================= */
body{
  font-family: var(--font-text)!important;
  color: var(--color-dark);
  line-height: 1.6;
  background-color: var(--color-white);
}
h1, h2, h3{
  font-family: var(--font-title);
  font-weight: 600;
  line-height: 1.2;
}
h1{
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}
h2{
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}
h3{
  font-size: 1.3rem;
}
p{
  color: var(--color-dark);
}
.bold{
  font-weight: bold;
}
.container{
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}
section{
  padding: 4.5rem 0;
}
.section-header{
  margin-bottom: 3rem;
  text-align: center;
}
/* ================= BUTTONS ================= */
.btn{
  display: inline-block;
  border-radius: var(--radius);
  font-weight: 600;
  transition: var(--transition);
}
.btn-green{
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.8rem;
  background: var(--color-primary);
  color: #fff;
  border: 1px solid #079992;
  border-radius: 12px;
  font-weight: 600;
  transition: color .45s ease;
  z-index: 1;
}
.btn-green::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--color-crema);
  transition: width .5s ease;
  z-index: -1;
}
.btn-green:hover::before{
  width: 100%;
}
.btn-green:hover{
  color: var(--color-primary);
}
.btn-crema{
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.8rem;
  background: var(--color-crema);
  color: var(--color-primary);
  border: 1px solid #079992;
  border-radius: 12px;
  font-weight: 600;
  transition: color .45s ease;
  z-index: 1;
}
.btn-crema::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--color-primary);
  transition: width .5s ease;
  z-index: -1;
}
.btn-crema:hover::before{
  width: 100%;
}
.btn-crema:hover{
  color: var(--color-crema);
}
.fa-hand-point-right:before{
  padding-right: 0.5rem;
}
.btn-lg{
  max-width: 570px;
  width: 100%;
  padding: 1rem 2rem;
  font-size: 1.05rem;
}
/* ================= HERO ================= */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
}
.hero-title{
  color: var(--color-primary);
}
.hero-text {
  margin: 1.5rem 0 2rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
}
.hero-visual img{
  border-radius: var(--radius);
}
.hero-trust{
  max-width: var(--container-width);
  margin: auto;
}
.ul-hero-trust{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8rem;
  margin-top: 1.5rem;
}
.hero-trust li{
  max-width: 85px;
  width: 100%;
}
/* ================= ENERGY ================= */
.energy{
  background-color: var(--color-light);
}
.energy-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.energy-benefits{
  margin-top: 1.5rem;
}
.energy-benefits li{
  margin-bottom: 0.6rem;
  font-weight: 500;
}
.energy-image img{
  border-radius: var(--radius);
}
/* ================= SOLUTIONS ================= */
.solutions{
  background-color: var(--color-crema);;
}
.solution{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}
.solution.reverse{
  direction: rtl;
}
.solution.reverse > *{
  direction: ltr;
}
.solution-content p{
  margin: 1rem 0 1.5rem;
  text-align: justify;
}
.solution-image{
  max-width: 525px;
  margin: auto;
}
#solution-image-rge img{
  max-width: 75%;
}
/* ================= COMMITMENTS ================= */
.commitments{
  background-color: var(--color-crema);
}
.commitments-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.commitment{
  /* background: var(--color-white); */
  padding: 2rem;
  /* border-radius: var(--radius); */
  /* box-shadow: 0 10px 40px rgba(0,0,0,0.04); */
}
.commitment p{
  text-align: justify;
}
/* ================= MISSION ================= */
.mission{
  background-color: var(--color-crema);
}
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.mission-image img{
  border-radius: var(--radius);
}
/* ================= PROJECTS ================= */
/* .projects-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10rem;
}
.project{
  max-width: 300px;
}
.project img{
  width: 100%;
  border-radius: var(--radius);
}
.project figcaption{
  margin-top: 0.6rem;
  text-align: center;
  font-weight: 500;
} */
/* ==================================================
   PROJECTS CAROUSEL
   ================================================== */

.projects-carousel{
  padding: 6rem 0;
  background: #f8f9fa;
}
.projects-slider{
  position: relative;
}
.projects-slider__viewport{
  overflow: hidden;
}
.projects-slider__track{
  display: flex;
  gap: 2rem;
  transition: transform .7s cubic-bezier(.77,0,.18,1);
}
.project-slide{
  flex: 0 0 85%;
  display: grid;
  grid-template-columns: minmax(280px, 50%) 1fr;
  gap: 1.5rem;
  max-height: 300px;
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,.06);
}
.project-slide__image{
  height: 300px;
}
/* .project-slide__image{
  height: 100%;
} */
.project-slide__image img{
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform .6s ease;
}
.project-slide:hover img{
  transform: scale(1.04);
}
.project-slide__content{
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.project-slide__tag{
  display: inline-flex;
  width: fit-content;
  margin-bottom: 1rem;
  padding: .4rem .8rem;
  border-radius: 999px;
  background: rgba(31,168,154,.12);
  color: var(--color-primary);
  font-size: .85rem;
  font-weight: 600;
}
.project-slide__content h3{
  margin-bottom: 1rem;
}
.project-slide__content p{
  margin-bottom: 1.5rem;
}
.project-slide__content ul{
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.projects-slider__nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  background: white;
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
  z-index: 10;
}
.projects-slider__prev{
  left: -20px;
}
.projects-slider__next{
  right: -20px;
}
/* Tablet */
@media (max-width: 992px){
  .project-slide{
    grid-template-columns: 1fr;
    flex: 0 0 100%;
  }
  .project-slide__image{
    height: 350px;
  }
}
/* Mobile */
@media (max-width: 768px){
  .projects-slider__nav{
    display: none;
  }
  .project-slide__content{
    padding: 1.5rem;
  }

}
/* =========================================================
   PROCESS — ÉTAPES DU PROJET
   ========================================================= */

.process {
    width: 100%;
}

.process-steps {
    position: relative;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    max-width: 1000px;
    width: 100%;

    margin: 5rem auto 1rem !important;

    column-gap: 2.5rem;
}


/* ---------------------------------------------------------
   LIGNE HORIZONTALE
   --------------------------------------------------------- */

.process-steps::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 1px;

    background-color: var(--color-gray);

    z-index: 0;
}


/* ---------------------------------------------------------
   ÉTAPE
   --------------------------------------------------------- */

.step {
    position: relative;

    width: 100%;
    max-width: none;

    padding: 0.5rem 0;

    border-top: 0;

    font-weight: 500;

    min-width: 0;
}


/* ---------------------------------------------------------
   NUMÉRO
   --------------------------------------------------------- */

.point-step {
    position: absolute;

    top: -1rem;
    left: 50%;

    transform: translateX(-50%);

    display: flex;
    align-items: center;
    justify-content: center;

    width: 2.2rem;
    height: 2.2rem;

    margin: 0;
    padding: 0;

    border-radius: 50%;

    background-color: var(--color-primary);
    color: var(--color-light);

    font-weight: 800;
    line-height: 1;

    z-index: 2;
}


/* ---------------------------------------------------------
   TITRE DE L'ÉTAPE
   --------------------------------------------------------- */

.txt-step {
    margin: 1.75rem 0 0.75rem;

    color: var(--color-dark);

    text-align: center;

    font-size: 1.3rem;
    font-weight: bold;

    line-height: 1.3;
}


/* ---------------------------------------------------------
   DESCRIPTION
   --------------------------------------------------------- */

.time-step {
    margin: 0;

    color: var(--color-gray);

    font-size: 0.9rem;
    line-height: 1.7;
}


/* ---------------------------------------------------------
   CTA
   --------------------------------------------------------- */

.process-cta {
    margin-top: 2rem;

    text-align: center;
}


/* =========================================================
   TABLETTE — 769 à 1100 px
   ========================================================= */

@media (max-width: 1100px) {

    .process-steps {
        max-width: 900px;

        column-gap: 1.5rem;

        padding: 0 1rem;
    }

    .txt-step {
        font-size: 1.2rem;
    }

    .time-step {
        font-size: 0.88rem;
    }
}


/* =========================================================
   PETITE TABLETTE — PASSAGE EN TIMELINE VERTICALE
   ========================================================= */

@media (max-width: 768px) {

    .process-steps {
        display: flex;

        flex-direction: column;

        max-width: 650px;

        margin: 4rem auto 1rem !important;

        padding: 0 1rem;
    }


    /* Ligne verticale */

    .process-steps::before {
        top: 0;
        bottom: 0;

        left: 1.1rem;
        right: auto;

        width: 1px;
        height: auto;
    }


    /* -----------------------------------------------------
       ÉTAPE
       ----------------------------------------------------- */

    .step {
        position: relative;

        width: 100%;

        padding: 0 0 2.5rem 3.5rem;
    }


    .step:last-child {
        padding-bottom: 0;
    }


    /* -----------------------------------------------------
       NUMÉRO
       ----------------------------------------------------- */

    .point-step {
        top: 0;
        left: 0;

        transform: none;

        width: 2.2rem;
        height: 2.2rem;
    }


    /* -----------------------------------------------------
       TITRE
       ----------------------------------------------------- */

    .txt-step {
        margin: 0 0 0.75rem;

        text-align: left;

        font-size: 1.25rem;
    }


    /* -----------------------------------------------------
       TEXTE
       ----------------------------------------------------- */

    .time-step {
        font-size: 0.9rem;

        line-height: 1.7;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .process-steps {
        margin-top: 3.5rem !important;

        padding: 0 0.5rem;
    }


    .step {
        padding-left: 3.25rem;
        padding-bottom: 2.25rem;
    }


    .process-steps::before {
        left: 1rem;
    }


    .point-step {
        width: 2rem;
        height: 2rem;

        font-size: 0.9rem;
    }


    .txt-step {
        font-size: 1.15rem;
    }


    .time-step {
        font-size: 0.88rem;
        line-height: 1.65;
    }
}
/* ================= FAQ ================= */
.accordion{
  max-width: var(--container-width);
  margin: auto;
}
.accordion-button:not(.collapsed) {
  color: #079992!important;
  background-color: #dfe4ea!important;
  box-shadow: none!important;
}
.accordion-button:focus{
  box-shadow: none!important;
}
/* ================= ARTICLES ================= */
.articles-grid{
  display: flex;
}
.article{
  max-width: 325px;
  height: 375px;
  margin: 1rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  -webkit-box-shadow: 0px 0px 15px -3px #0000001c; 
  box-shadow: 0px 0px 15px -3px #0000001c;
}
.article-img{
  height: 150px;
  margin-top: 0.5rem;
  overflow: hidden;
}
.article-txt{
  position: relative;
  margin-top: 1.5rem;
}
.article-txt a{
  display: flex;
  align-items: center;
  position: absolute;
  right: 0;
  top: 125px;
  color: var(--color-primary);
}
.fa-long-arrow-alt-right{
  margin-left: 0.5rem;
}
/* ================= ANIMATIONS ================= */
.js-animate{
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition);
}
.js-animate.is-visible{
  opacity: 1;
  transform: none;
}
.fade-left{
  transform: translateX(-30px);
}
.fade-right{
  transform: translateX(30px);
}
.scale-in{
  transform: scale(0.95);
}
/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .hero-grid,
  .energy-grid,
  .solution,
  .mission-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  section {
    padding: 3rem 0;
  }

  .commitments-grid,
  .reviews-grid,
  .projects-grid,
  .articles-grid {
    grid-template-columns: 1fr;
  }
}
