.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);
}

.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, .fa-comment:before{
  padding-right: 0.5rem;
}
.btn-lg{
  max-width: 570px;
  width: 100%;
  padding: 1rem 2rem;
  font-size: 1.05rem;
}
/* .fa-hand-point-right{
  margin-right: 0.5rem;
} */
/* ================= 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;
  color: var(--color-primary);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
}
.hero-rating{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.5rem;
  gap: 0.5rem;
  font-weight: 600;
}
.google-score{
  max-width: 40px;
  width: 100%;
}
.rating-score{
  color: var(--color-gray);
}
.stars{
  font-size: x-large;
  color: #ffc107;
}
.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-crema);
}
.energy-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.energy-benefits{
  margin-top: 1.5rem;
}
.energy-benefits li{
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 0.5rem;
}
.energy-benefits__icon-wrapper{
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(31, 168, 154, 0.12);
  flex-shrink: 0;
}
.energy-benefits__icon{
  width: 20px;
  height: 20px;
}
/* .energy-benefits li{
  margin-bottom: 0.6rem;
  font-weight: 500;
} */
.energy-image img{
  border-radius: var(--radius);
}
/* ================= SOLUTIONS ================= */
.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;
}
/* ================= 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-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.mission-image img{
  border-radius: var(--radius);
}
/* ================= REVIEWS ================= */
.reviews{
  position: relative;
  background-image: url('../images/consumer/confiance.webp');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
#reviews-blur{
  position: absolute;
  bottom: 0;
  max-width: 100vw;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(3px);
}
#container-reviews{
  position: relative;
}
#title-reviews{
  color: var(--color-primary);
}
.reviews-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.review{
  padding: 2rem;
  background:#ffffffab;
  border-radius: var(--radius);
}
.review p{
  color: var(--color-dark);
  height: 80%;
}
.review-author{
  color: var(--color-primary);
}
/* ================= PROJECTS ================= */
/* .projects-grid{
  display: grid;
  grid-template-columns: repeat(3, 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 ================= */
/* .process{
  background-color: var(--color-crema);;
}
#process-txt{
  max-width: 1000px;
  margin: 3rem auto;
  text-align: justify;
}
.process-steps{
  display: flex;
  max-width: 1000px;
  width: 100%;
  margin: 5rem auto 1rem auto!important;
  position: relative;
}
#process-details{
  max-width: 1000px;
  margin: auto;
  font-size: 0.8rem;
}
.step{
  max-width: 200px;
  width: 100%;
  border-top: 1px solid var(--color-gray);
  text-align: center;
  font-weight: 500;
}
.point-step{
  position: absolute;
  top: -1rem;
  max-width: 200px;
  margin: 0px 83px;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  background-color: var(--color-primary);
  color: var(--color-light);
}
.txt-step{
  margin: 1.5rem 0 0.75rem 0;
  color: var(--color-dark);
  font-size: 0.9rem;
  font-weight: bold;
}
.time-step{
  font-size: 0.9rem;
}
.process-cta{
  margin-top: 2rem;
  text-align: center;
} */

/* ==========================================================
   PROCESS
   ========================================================== */

.process {
    background-color: var(--color-crema);
    padding: 5rem 0;
}

/* ----------------------------------------------------------
   INTRODUCTION
   ---------------------------------------------------------- */

.process .section-header {
    max-width: 1100px;
    margin: 0 auto;
}

.process .section-header h2 {
    margin-bottom: 2.5rem;
}

#process-txt {
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
    line-height: 1.7;
    font-size: 1rem;
}

/* ----------------------------------------------------------
   TIMELINE DES ÉTAPES
   ---------------------------------------------------------- */

.process-steps {
    position: relative;

    display: grid;
    grid-template-columns: repeat(5, 1fr);

    max-width: 1000px;
    width: calc(100% - 2rem);

    margin: 5rem auto 2rem;

    /*
     * Le padding permet aux points de ne jamais
     * toucher les bords de la timeline.
     */
    padding: 0 0.5rem;
}

/*
 * Ligne horizontale principale
 */

.process-steps::before {
    content: "";
    position: absolute;

    top: 0;
    left: 0.5rem;
    right: 0.5rem;

    height: 1px;

    background-color: var(--color-gray);

    z-index: 0;
}

/* ----------------------------------------------------------
   ÉTAPE
   ---------------------------------------------------------- */

.step {
    position: relative;

    width: 100%;
    max-width: none;

    border: 0;

    text-align: center;

    font-weight: 500;

    z-index: 1;
}

/*
 * Cercle numéroté
 */

.point-step {
    position: relative;

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

    width: 2.15rem;
    height: 2.15rem;

    margin: -1.075rem auto 0;
    padding: 0;

    border-radius: 50%;

    background-color: var(--color-primary);
    color: var(--color-light);

    font-size: 0.95rem;
    font-weight: 700;

    line-height: 1;

    z-index: 2;
}

/*
 * Intitulé de l'étape
 */

.txt-step {
    margin: 1.25rem 0 0.75rem;

    color: var(--color-dark);

    font-size: 0.9rem;
    line-height: 1.4;
    font-weight: 700;

    padding: 0 0.5rem;
}

/*
 * Durée
 */

.time-step {
    margin: 0;

    font-size: 0.9rem;
    line-height: 1.4;
}

/* ----------------------------------------------------------
   TEXTE SOUS LA TIMELINE
   ---------------------------------------------------------- */

#process-details {
    max-width: 1000px;

    margin: 2.5rem auto 0;

    padding: 0 1rem;

    font-size: 0.8rem;
    line-height: 1.5;

    color: var(--color-dark);
}

/* ----------------------------------------------------------
   CTA
   ---------------------------------------------------------- */

.process-cta {
    margin-top: 2.5rem;

    text-align: center;
}

.process-cta .btn-green {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 0.5rem;
}


/* ==========================================================
   TABLETTE
   ========================================================== */

/*
 * On conserve exactement la timeline horizontale.
 *
 * On réduit simplement légèrement les espacements et
 * les tailles de texte pour les tablettes.
 */

@media (max-width: 1024px) {

    .process {
        padding: 4rem 1.5rem;
    }

    #process-txt {
        font-size: 0.95rem;
    }

    .process-steps {
        margin-top: 4rem;
    }

    .txt-step {
        font-size: 0.82rem;
    }

    .time-step {
        font-size: 0.82rem;
    }
}


/* ==========================================================
   SMARTPHONE
   ========================================================== */

@media (max-width: 767px) {

    .process {
        padding: 3.5rem 1rem;
    }

    /*
     * Titre
     */

    .process .section-header h2 {
        margin-bottom: 1.5rem;

        font-size: clamp(1.6rem, 7vw, 2rem);
        line-height: 1.2;
    }

    /*
     * Texte introductif
     */

    #process-txt {
        margin: 0;

        font-size: 0.95rem;
        line-height: 1.65;

        text-align: left;
    }

    /*
     * ------------------------------------------------------
     * TIMELINE MOBILE
     * ------------------------------------------------------
     *
     * On passe d'une timeline horizontale à une timeline
     * verticale.
     */

    .process-steps {

        display: flex;
        flex-direction: column;

        width: 100%;

        margin: 3.5rem 0 2rem;

        padding: 0 0 0 3.5rem;
    }

    /*
     * Ligne verticale
     */

    .process-steps::before {

        top: 0;
        bottom: 0;

        left: 1.075rem;
        right: auto;

        width: 1px;
        height: auto;
    }

    /*
     * Chaque étape
     */

    .step {

        position: relative;

        display: grid;

        grid-template-columns: 1fr;

        min-height: 6.5rem;

        padding: 0 0 1.75rem;

        text-align: left;
    }

    /*
     * Numéro
     *
     * Il vient se placer sur la ligne verticale.
     */

    .point-step {

        position: absolute;

        top: 0;
        left: -3.5rem;

        width: 2.15rem;
        height: 2.15rem;

        margin: 0;
    }

    /*
     * Titre de l'étape
     */

    .txt-step {

        margin: 0 0 0.4rem;

        padding: 0;

        font-size: 0.95rem;
        line-height: 1.4;
    }

    /*
     * Durée
     */

    .time-step {

        font-size: 0.85rem;

        color: var(--color-dark);
        opacity: 0.8;
    }

    /*
     * Dernière étape :
     * pas besoin d'espace supplémentaire.
     */

    .step:last-child {
        min-height: auto;
        padding-bottom: 0;
    }

    /*
     * Détails
     */

    #process-details {

        margin-top: 2rem;

        padding: 0;

        font-size: 0.78rem;
    }

    /*
     * CTA
     */

    .process-cta {
        margin-top: 2rem;
        padding: 0 1rem;
    }

    .process-cta .btn-green {
        width: 100%;
        max-width: 320px;
    }
}


/* ==========================================================
   TRÈS PETITS SMARTPHONES
   ========================================================== */

@media (max-width: 400px) {

    .process {
        padding: 3rem 0.9rem;
    }

    .process-steps {
        padding-left: 3rem;
    }

    .process-steps::before {
        left: 0.95rem;
    }

    .point-step {
        left: -3rem;

        width: 1.9rem;
        height: 1.9rem;

        font-size: 0.8rem;
    }

    .txt-step {
        font-size: 0.9rem;
    }

    .time-step {
        font-size: 0.82rem;
    }
}

/* ================= 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
   ========================================================= */

.latest-articles {
    position: relative;
    background-color: var(--color-crema);
}
  /* ---------------------------------------------------------
   HEADER
   --------------------------------------------------------- */

.latest-articles__header {
    max-width: 780px;
    margin: 0 auto 3rem;
    text-align: center;
}
  /* Petit label au-dessus du titre */
.latest-articles__eyebrow {
    display: inline-block;

    margin-bottom: 0.75rem;

    color: var(--color-primary);

    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
  /* Titre */
.latest-articles__header h2 {
    margin-bottom: 1rem;
}
  /* Texte d'introduction */
.latest-articles__intro {
    max-width: 680px;
    margin: 0 auto;

    color: var(--color-gray);

    font-size: 1rem;
    line-height: 1.7;
}
  /* =========================================================
   GRILLE
   ========================================================= */
.latest-articles__grid {
    display: grid;

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

    gap: 2rem;

    align-items: stretch;
}
  /* =========================================================
   CARTE ARTICLE
   ========================================================= */

.article-card {
    min-width: 0;
    height: 100%;

    background-color: var(--color-white);

    border: 1px solid rgba(0, 0, 0, 0.07);

    border-radius: 20px;

    overflow: hidden;

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}
  /* Effet hover */
.article-card:hover {
    transform: translateY(-7px);

    border-color: rgba(7, 153, 146, 0.25);

    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.10);
}
  /* =========================================================
   LIEN GLOBAL
   ========================================================= */
.article-card__link {
    height: 100%;

    display: flex;
    flex-direction: column;

    color: inherit;
}
  /* =========================================================
   IMAGE
   ========================================================= */
.article-card__image-wrapper {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background-color: var(--color-light);
}
.article-card__image {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.6s ease;
}
  /* Zoom léger au survol */
.article-card:hover .article-card__image {
    transform: scale(1.05);
}
  /* =========================================================
   CATÉGORIE
   ========================================================= */
.article-card__category {
    position: absolute;

    left: 1rem;
    bottom: 1rem;

    display: inline-flex;
    align-items: center;

    min-height: 32px;

    padding: 0.4rem 0.75rem;

    color: var(--color-white);

    background-color: var(--color-primary);

    border-radius: 999px;

    font-size: 0.75rem;
    font-weight: 800;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
  /* =========================================================
   CONTENU
   ========================================================= */
.article-card__content {
    flex: 1;

    display: flex;
    flex-direction: column;

    padding: 1.5rem;
}
  /* =========================================================
   DATE
   ========================================================= */
.article-card__meta {
    margin-bottom: 0.6rem;

    color: var(--color-gray);

    font-size: 0.8rem;
    line-height: 1.4;
}
  /* =========================================================
   TITRE
   ========================================================= */
.article-card__title {
    margin: 0 0 0.75rem;

    color: var(--color-dark);

    font-family: var(--font-title);
    font-size: clamp(1.2rem, 1.6vw, 1.45rem);
    font-weight: 600;

    line-height: 1.3;
}
  /* =========================================================
   EXTRAIT
   ========================================================= */
.article-card__excerpt {
    margin: 0;

    color: var(--color-gray);

    font-size: 0.95rem;
    line-height: 1.6;
}
  /* =========================================================
   LIEN "LIRE L'ARTICLE"
   ========================================================= */
.article-card__read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;

    margin-top: auto;
    padding-top: 1.25rem;

    color: var(--color-primary);

    font-size: 0.9rem;
    font-weight: 800;

    transition:
        color var(--transition-fast),
        gap var(--transition-fast);
}
.article-card__read-more span {
    font-size: 1.15rem;

    transition: transform var(--transition-fast);
}
.article-card:hover .article-card__read-more {
    color: var(--color-primary-dark);

    gap: 0.75rem;
}
.article-card:hover .article-card__read-more span {
    transform: translateX(3px);
}
  /* =========================================================
   CTA GLOBAL
   ========================================================= */
.latest-articles__footer {
    display: flex;
    justify-content: center;

    margin-top: 3rem;
}
.latest-articles__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 0.65rem;
}
.latest-articles__button i {
    transition: transform var(--transition-fast);
}
.latest-articles__button:hover i {
    transform: translateX(4px);
}
  /* =========================================================
   TABLETTE LARGE
   ========================================================= */
@media (max-width: 1100px) {
    .latest-articles__grid {
        gap: 1.5rem;
    }

    .article-card__content {
        padding: 1.35rem;
    }

    .article-card__title {
        font-size: 1.25rem;
    }

    .article-card__excerpt {
        font-size: 0.9rem;
    }
}
  /* =========================================================
   TABLETTE
   ========================================================= */
@media (max-width: 900px) {

    .latest-articles__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /*
     * Le troisième article occupe la largeur disponible
     * pour éviter une dernière ligne visuellement déséquilibrée.
     */

    .article-card:last-child {
        grid-column: 1 / -1;
        max-width: calc(50% - 0.75rem);
        width: 100%;
        justify-self: center;
    }
}
  /* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 650px) {
    .latest-articles__header {
        margin-bottom: 2rem;
    }

    .latest-articles__eyebrow {
        font-size: 0.75rem;
    }

    .latest-articles__intro {
        font-size: 0.95rem;
    }

    .latest-articles__grid {
        grid-template-columns: 1fr;

        gap: 1.5rem;
    }


    /* Réinitialisation du comportement tablette */

    .article-card:last-child {
        grid-column: auto;

        max-width: none;
        width: 100%;

        justify-self: stretch;
    }


    .article-card__content {
        padding: 1.25rem;
    }

    .article-card__title {
        font-size: 1.25rem;
    }

    .article-card__excerpt {
        font-size: 0.9rem;
    }

    .latest-articles__footer {
        margin-top: 2rem;
    }
}


  /* =========================================================
   PETITS MOBILES
   ========================================================= */
@media (max-width: 400px) {
    .article-card {
        border-radius: 16px;
    }

    .article-card__category {
        left: 0.75rem;
        bottom: 0.75rem;

        padding: 0.35rem 0.65rem;

        font-size: 0.7rem;
    }

    .article-card__content {
        padding: 1.1rem;
    }

    .article-card__title {
        font-size: 1.15rem;
    }

    .article-card__excerpt {
        font-size: 0.88rem;
    }

    .latest-articles__button {
        width: 100%;
    }
}
  /* =========================================================
   RÉDUCTION DES ANIMATIONS
   ========================================================= */
@media (prefers-reduced-motion: reduce) {

    .article-card,
    .article-card__image,
    .article-card__read-more,
    .article-card__read-more span,
    .latest-articles__button i {
        transition: none;
    }

    .article-card:hover {
        transform: none;
    }

    .article-card:hover .article-card__image {
        transform: none;
    }
}

/* ================= 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;
  }
}