/* ===== Layout générique ===== */
.container{ width: min(1100px, 92%); margin-inline: auto; }


/* 
##################################################################################
##################################################################################
                            ===== SECTION Vidéo de présentation ===== 
##################################################################################
##################################################################################
*/
/* ===== SECTION Vidéo de présentation ===== */
.promo-video{
  position: relative;
  padding: 72px 0;
  background: #fff;
}

/* (Optionnel) Fond motif arcs très léger */
.promo-video::before{
  content:"";
  position:absolute; inset:0;
  background: url("assets/img/arcs-bg.svg") center/cover no-repeat;
  opacity:.12; pointer-events:none;
}

/* Grille 2 colonnes */
.video-grid{
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

/* Carte vidéo inline */
.video-card.inline{
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 50px rgba(0,0,0,.25);
  transform: translateZ(0);
  aspect-ratio: 16/9;         /* garde un joli ratio */
  background: #000;
}
.inline-video{
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* Bouton Play */
.play-overlay{
  position: absolute; inset: 0; margin: auto;
  width: 96px; height: 96px; border-radius: 50%;
  background: rgba(255,255,255,.9);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  border: 0; cursor: pointer;
}
.play-overlay::before{
  content:""; position:absolute; inset:0; margin:auto;
  width: 0; height: 0;
  border-left: 26px solid #8F1737;  /* bordeaux */
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  transform: translateX(6px);
}

/* Quand la vidéo joue, on masque l’overlay */
.video-card.inline.playing .play-overlay{
  opacity: 0; pointer-events: none; transition: opacity .2s ease;
}

/* Colonne texte */
.video-copy h2{
  font-size: 36px;
  font-family: Georgia, serif;
  color: #8F1737;    /* bordeaux titre */
  font-weight: normal;
  margin-bottom: 14px;
}
.video-copy p{
  color: #444;
  line-height: 1.6;
  margin-bottom: 24px;
  font-size: 18px;
  font-family: Avenir Light;
  max-width: 540px;
}

/* ===== Responsive ===== */
@media (max-width: 992px){
  .video-grid{ grid-template-columns: 1fr; gap: 28px; }
  .video-copy{ text-align: center; }
  .video-copy p{ margin-inline: auto; }
}
@media (max-width: 480px){
  .play-overlay{ width: 74px; height: 74px; }
  .play-overlay::before{
    border-left-width: 20px; border-top-width: 12px; border-bottom-width: 12px;
  }
  .video-copy h2{ font-size: 28px; }
}


/* 
##################################################################################
##################################################################################
                            ===== Projets phares ===== 
##################################################################################
##################################################################################
*/
.featured-projects {
  padding: 80px 0;
  background: #fff;
  position: relative;
}

.featured-projects .section-title {
  text-align: center;
  font-size: 42px;
  color: #8F1737;          /* bordeaux */
  font-weight: bold;
  margin-bottom: 36px;
  line-height: 1.1;
}

/* Grille des 2 cartes */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 100px;
  align-items: stretch;
}

/* Carte */
.project-card {
  background: #e9e9e9;      /* gris doux proche de la maquette */
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0,0,0,.12);
  padding: 24px 24px 0;     /* pas de padding bas : géré par .card-bottom */
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-align: center;
}

.project-title {
  font-size: 26px;
  line-height: 1.25;
  text-align: center;
  margin-bottom: 14px;

  /* important pour l'alignement horizontal des images */
  min-height: calc(1.25 * 26px * 2);  /* ≈ 65px, espace pour 2 lignes */
  display: flex;
  align-items: flex-end;   /* colle le texte en bas de la zone réservée */
  justify-content: center;
}

/* Image */
.project-cover {
  width: 100%;
  height: clamp(220px, 24vw, 260px); /* même hauteur partout, responsive */
  object-fit: cover;                 /* recadre proprement sans déformer */
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(0,0,0,.18);
  margin: 10px auto 18px;
}

/* Texte */
.project-lead {
  text-align: center;
  color: #333;
  margin: 0 10px 18px;
  line-height: 1.6;
}

.project-scope {
  text-align: center;
  color: #2b2b2b;
  margin: 0 10px 6px 10px;
}
.project-scope strong { color: #000; }

/* Bas de carte (fond légèrement plus sombre) */

.card-bottom {
  background: #dcdcdc;
  margin: 20px -24px 0;               /* étire sur toute la largeur */
  padding: 18px 24px 24px;
  border-radius: 0 0 14px 14px;
  height: auto; 
}

.facts-title {
  font-size: 20px;
  margin-bottom: 14px;
  color: #2b2b2b;
}

/* 3 chiffres clés pour la 1ère carte */
.facts-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
  text-align: center;
  margin-bottom: 16px;
}
.fact .value {
  text-decoration: none !important;
  font-size: 26px;
  font-weight: 700;
  color: #8F1737;
}
.fact .label {
  font-size: 14px;
  color: #555;
}

/* Paragraphe de chiffres (carte NKITA) */
.facts-paragraph {
  color: #333;
  line-height: 1.6;
  margin-bottom: 14px;
}

/* Bouton dans la carte */
.project-card .btn {
  display: inline-block;
  margin: 4px auto 0;
  min-width: 200px;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .projects-grid { grid-template-columns: 1fr; gap: 28px; }
  .project-title { font-size: 24px; }
  .project-card .btn { min-width: 180px; }
  .card-bottom{ height: auto !important; }
}

@media (max-width: 560px) {
  .featured-projects .section-title { font-size: 32px; }
  .facts-grid { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 992px){
  .project-title{ min-height: auto; }
}


/* 
##################################################################################
##################################################################################
                            ===== A PROPOS ===== 
##################################################################################
##################################################################################
*/
/* ===== À propos (image + texte) ===== */
.about { padding: 80px 0; background:  #eef4f9; }

.about-grid{
  display: grid;
  grid-template-columns: 1.2fr 1fr;   /* image un peu plus large */
  gap: 48px;
  align-items: center;
}

.about-figure{ margin: 0; }
.about-img{
  width: 100%;
  /*width: 700px;         /* limite la très grande largeur */
  height: auto;
  display: block;
  margin-inline: auto;
  filter: drop-shadow(0 18px 35px rgba(0,0,0,.18)); /* joli relief */
}
.about-figure h2{
    color: #8F1737;           /* rouge du titre (ajuste si besoin) */
  font-size: 40px;
  margin-bottom: -50px;
}
.secteurs h2{
  color: #1a2233;           /* rouge du titre (ajuste si besoin) */
  font-weight: 700p;
}

.about-copy{ 
  text-align: left;   
}
.about-copy h2{
  font-size: 42px;
  line-height: 1.1;
  margin: 0 0 18px;
  color: #1a2233;           /* rouge du titre (ajuste si besoin) */
  font-weight: 700;
  margin-left: 0;
  margin-right: auto;
  margin-bottom: 50px;
}
.about-copy p{
  color: #1a2233;
  line-height: 1.6;
  margin-bottom: 24px;
  font-size: 18px;
  font-family: Avenir Light;
  max-width: 540px; 
  margin-left: 0; 
  margin-right: auto;        /* largeur de colonne confortable */
  text-align: justify;
}


.about .btn{
  /*display: flex;*/ 
  gap: 30px; 
  flex-wrap: wrap;
  background: #8F1737;
  justify-content: flex-start; 
  color: #fff;  /* au lieu de center */
  width: 100%;
  text-align: center;
}

.class-parent {
  width: 100%;
}

.about .btn-group{
  justify-content: flex-start;   /* au lieu de center */
}
/* Responsive */
@media (max-width: 992px){
  .about-grid{ grid-template-columns: 1fr; gap: 28px; }
  .about-copy h2{ font-size: 34px; }
  .about-img{ max-width: 520px; }
  .about-copy { text-align: center; }
  .about .btn-group { justify-content: center; }
  .about-copy h2, .about-copy p { margin-left: auto; margin-right: auto; }
  .class-parent{ display: flex; justify-content: center; }
  .about-figure h2{margin-left: auto; margin-right: auto;}
}

@media (max-width: 560px){
  .about-copy h2{ font-size: 28px; }
  .about-img{ max-width: 420px; }
  .class-parent{ 
    display: flex;
    justify-content: center; 
    width: 100%;
  }
  .about-figure h2{font-size: 24px; text-align: center; margin-bottom: 10px; margin-top: 10px; }
   .mobile-hidden{display: none;}
}

@media (max-width: 480px) {
  .about {
    padding: 48px 0;
  }
  .about .btn-group {
    width: 100%;
    max-width: 320px;
    justify-content: center; /* Ajoutez cette ligne */
  }
  .class-parent{ display: flex; justify-content: center; }

}



/* =========================
   ===== Séparateur ===== 
   ========================= */

.separator-banner {
    padding: 0; /* Réduit l'espace vertical */
}

.separator-logo {
    max-width: 100%; /* S'assure que le logo ne dépasse pas les bords */
    max-height: 170px; /* Limite la hauteur de l'image */
    height: auto; /* Maintient le ratio d'aspect */
    display: block; /* Évite les espaces indésirables */
    
}

/* Vous pouvez aussi ajouter un style pour le conteneur si nécessaire */
.container-separateur {
    width: 100%;
    margin: auto;
    text-align: center;
}




/* ==========================================================
STYLES DU CARROUSEL
==========================================================
*/
.carousel-container {
    position: relative;
    width: 100%;
    height: 48vh;
    overflow: hidden;
}

/* Bannière de titre */
.carousel-title-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 20;
    background: rgba(143, 23, 55, 0.9);
    color: white;
    padding: 15px 20px;
    text-align: center;
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Slides */
.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

/* Overlay sombre pour lisibilité */
.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

/* Contenu textuel */
.carousel-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centre verticalement */
    align-items: center; /* Centre horizontalement */
    text-align: center;
    padding: 0 5%;
}

.carousel-text {
    max-width: 800px;
    color: white;
}

.carousel-title {
    font-size: 200%;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out 0.3s;
}

.carousel-slide.active .carousel-title {
    opacity: 1;
    transform: translateY(0);
}

.carousel-description {
    font-size: 80%;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out 0.5s;
}

.carousel-slide.active .carousel-description {
    opacity: 1;
    transform: translateY(0);
}

/* Flèches de navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background-color: rgba(143, 23, 55, 0.8);
    border: none;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.carousel-nav:hover {
    background-color: #8F1737;
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
    left: 30px;
}

.carousel-nav.next {
    right: 30px;
}

/* Indicateurs de position (Points sous le carrousel) */
.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 12px;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background-color: #8F1737;
    transform: scale(1.2);
}

.carousel-indicator:hover:not(.active) {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

/* Indicateur de pause (texte "Automatique en pause") */
.pause-indicator {
    position: absolute;
    top: 70px;
    right: 20px;
    z-index: 3;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pause-indicator.show {
    opacity: 1;
}

/* Responsive Design*/

@media (max-width: 1024px) {
    .carousel-container {
        height: 20vh;
    }

     .carousel-nav {
        background-color: rgba(0, 0, 0, 0);
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }

    .carousel-nav.prev {
        background-color: rgba(0, 0, 0, 0);
        left: 3px;
    }

    .carousel-nav.next {
        background-color: rgba(0, 0, 0, 0);
        right: 3px;
    }

    .carousel-indicators {
        bottom: 20px;
    }
   .carousel-title {
      font-size: 26px;
    }
    .carousel-description {
    font-size: 15px;
  }
}




@media(max-width: 768px){
    .carousel-nav {
        background-color: rgba(0, 0, 0, 0);
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }

    .carousel-nav.prev {
        background-color: rgba(0, 0, 0, 0);
        left: 3px;
    }

    .carousel-nav.next {
        background-color: rgba(0, 0, 0, 0);
        right: 3px;
    }

    .carousel-indicators {
        bottom: 20px;
    }
   .carousel-title {
      font-size: 26px;
    }
    .carousel-description {
    font-size: 15px;
  }
  .carousel-container {
        height: 20vh; /* Augmente la hauteur pour une meilleure visibilité */
    }

}
/* ==========================================================
SECTION :  Seoarateur
==========================================================
*/


/* ==========================================================
SECTION :  Autorités
==========================================================
*/

.authorities {
  background: #eef4f9;
  padding: 60px 0 40px 0;
}

.authorities .section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #800020;
  letter-spacing: 1px;
}

.authorities-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.authority-card {
  background:transparent;
  border-radius: 18px;
  /* box-shadow: 0 4px 24px #80002090; */
  padding: 32px 24px 24px 24px;
  max-width: 380px;
  min-width: 480px;
  text-align: center;
  /* transition: transform 0.18s, box-shadow 0.18s; */
  display: flex;
  flex-direction: column;
  align-items: center;
}

/*.authority-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 32px rgba(30, 41, 59, 0.13);
}*/

.authority-photo {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #e0e7ef;
  margin-bottom: 18px;
  box-shadow: 0 2px 8px rgba(30, 41, 59, 0.07);
}

.authority-name {
  font-size: 1.25rem;
  font-weight: 700;
  color:#800020;
  margin-bottom: 6px;
}
.authority-role {
  font-size: 1rem;
  color: #4b5563;
  margin-bottom: 16px;
  font-style: italic;
}

.authority-quote {
  font-size: 1.0rem;
  color: #1a2233;
  background: #f1f5fb;
  border-left: 4px solid #800020;
  padding: 14px 18px;
  border-radius: 8px;
  margin: 0;
  font-style: italic;
  text-align: justify;
}

@media (max-width: 800px) {
  .authorities-grid {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .authority-card {
    max-width: 95vw;
  }
}



/* ==========================================================
SECTION : Impact et engagement ESG
==========================================================
*/

.esg-impact-section {
  background: linear-gradient(120deg, #8F1737 80%, #a83250 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 70px 0 40px 0;
}

.esg-background-image {
  background: url('assets/img/esg.jpeg') center/cover no-repeat;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.12;
  pointer-events: none;
}

.esg-bg-deco {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  z-index: 1;
  pointer-events: none;
}

.esg-content {
  position: relative;
  z-index: 2;
}

.esg-title {
  text-align: center;
  font-family: Georgia, serif;
  font-weight: bold;
  margin-bottom: 18px;
  letter-spacing: 1px;
  font-size: 42px;
  line-height: 1.1;
}

.esg-lead {
  text-align: center;
  font-size: 1.18rem;
  max-width: 700px;
  margin: 0 auto 38px auto;
  line-height: 1.7;
  color: #fff;
  opacity: 0.96;
}

.esg-grid {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-bottom: 38px;
  flex-wrap: wrap;
}

.esg-card {
  background: rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(30, 41, 59, 0.10);
  padding: 28px 22px 22px 22px;
  width: 320px;
  /* min-width: 220px; */
  flex: 1 1 220px;
  text-align: left;
  border-left: 5px solid #fff3;
  transition: transform 0.18s, box-shadow 0.18s;
}

.esg-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.esg-card p {
  font-size: 16px;
  color: #fff;
  opacity: 0.93;
  margin: 0;
  font-family: Avenir Light;
}

.esg-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 32px rgba(30, 41, 59, 0.18);
  background: rgba(255, 255, 255, 0.13);
}

.esg-quote {
  margin: 36px auto 0 auto;
  max-width: 600px;
  text-align: center;
  position: relative;
  color: #fff;
  opacity: 0.92;
}

.esg-quote svg {
  display: block;
  margin: 0 auto 10px auto;
}

.esg-quote blockquote {
  font-size: 1.18rem;
  font-style: italic;
  line-height: 1.6;
  margin: 0;
  color: #fff;
}

@media (max-width: 900px) {
  .esg-grid {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }
  .esg-card {
    max-width: 98vw;
  }
  .esg-title {
    font-size: 2rem;
  }
}

/* Centrage des titres et des icônes */
.esg-card h3 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Style pour l'icône elle-même */
.esg-card .esg-icon-wrapper img {
  width: 150px;
  height: auto;
  margin-bottom: 10px;
}

/* taille de police */
.esg-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.esg-card h3 {
  font-size: 1.1rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.esg-card {
  text-align: center;
}





/* ==========================================================
SECTION : FOOTER 
==========================================================
*/

.footer {
            background-color: #eef4f9;;
            padding: 35px 0;
        }

        /* Conteneur du contenu */
        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: start;
            position: relative;
        }

        /* Ligne de séparation */
        .footer-container::before {
            content: '';
            position: absolute;
            left: 50%;
            top: 0;
            bottom: 0;
            width: 2px;
            background-color: #8F1737;
            transform: translateX(-50%);
            /* La hauteur de la ligne doit correspondre au contenu */
            height: 100%;
        }

        /* Colonne gauche */
        .footer-left {
            display: flex;
            flex-direction: column;
            padding-right: 30px; /* Espace avant la ligne de séparation */
        }

        /* Logo "Congo Ressources" */
        .logo {
            font-size: 32px;
            font-weight: 400;
            color:  #8F1737;
            margin-bottom: 40px;
            letter-spacing: -0.5px;
        }

        /* Section "Restons Connectés" */
        .newsletter-section {
            max-width: 400px;
        }
        .newsletter-section {
    margin-top: 30px; /* Espace entre le bouton Contact et cette section */
}

        .newsletter-title {
            font-size: 32px;
            font-weight: 400;
            color:  #8F1737;
            margin-bottom: 25px;
            letter-spacing: -0.5px;
        }

        .newsletter-form {
            display: flex;
            flex-direction: column;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-label {
            display: block;
            font-size: 14px;
            color: #666;
            margin-bottom: 8px;
            font-weight: 400;
        }

        .email-input {
            width: 100%;
            padding: 12px 0;
            border: none;
            border-bottom: 1px solid #666;
            background: transparent;
            font-size: 16px;
            color: #333;
            outline: none;
            transition: border-color 0.3s ease;
        }

        .email-input:focus {
            border-bottom-color: #2c5530;
        }

        .checkbox-group {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            margin-bottom: 25px;
        }

        .checkbox-input {
            width: 18px;
            height: 18px;
            margin-top: 2px;
            accent-color: #2c5530;
            flex-shrink: 0;
        }

        .checkbox-label {
            font-size: 14px;
            color: #666;
            line-height: 1.4;
            cursor: pointer;
        }

        .subscribe-btn {
            background-color: #8F1737;
            color: white;
            border: none;
            padding: 15px 35px;
            font-size: 16px;
            font-weight: 500;
            cursor: pointer;
            transition: background-color 0.3s ease;
            align-self: flex-start;
             text-decoration: none;
        }
        .subscribe-btn {
          color: white;
          text-decoration: none;

        } 

        .subscribe-btn:hover {
            background-color: #1e3a21;
        }

        /* Colonne droite */
        .footer-right {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding-left: 30px; /* Espace après la ligne de séparation */
            height: 100%; /* Important pour que l'alignement vertical fonctionne */
        }

        .contact-and-links {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 40px;
            margin-top: 120px;
        }

        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 8px;
            text-align: left;
        }
        
        /* Styles pour les paragraphes de contact */
        .phone, .email, .address {
            font-size: 16px;
            color:  #8F1737;
            margin: 0;
        }

        .legal-links {
            display: flex;
            flex-direction: column;
            align-items: flex-start; /* Aligne les liens à gauche */
            gap: 8px;
        }

        .legal-link {
            color:  #8F1737;
            text-decoration: underline;
            font-size: 16px;
            transition: color 0.3s ease;
        }

        .legal-link:hover {
            color: #2c5530;
        }

        /* Conteneur des icônes sociales */
        .social-media {
            display: flex;
            gap: 15px;
            margin-top: auto; /* Pousse les icônes vers le bas */
        }

        .social-icon {
            width: 30px;
            height: 30px;
            background-color: #8F1737; 
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-decoration: none;
            transition: background-color 0.3s ease, transform 0.2s ease;
        }

        .social-icon:hover {
            background-color: #2c5530;
            transform: translateY(-2px);
        }

        .social-icon svg {
            width: 20px;
            height: 20px;
        }

        /* Design responsive */
        @media screen and (max-width: 768px) {
            .footer-container {
                grid-template-columns: 1fr;
                gap: 50px;
                padding: 0 15px;
            }
            
            /* Masquer la ligne de séparation sur mobile */
            .footer-container::before {
                display: none;
            }

            .footer-left,
            .footer-right {
                padding: 0;
            }
            
            .contact-and-links {
                flex-direction: column;
                gap: 30px;
            }
            
            .legal-links,
            .contact-info {
                align-items: flex-start;
                text-align: left;
            }

            .social-media {
                justify-content: flex-start;
                margin-top: 30px;
            }
        }

/* ===== SEPARATEUR ===== */
.separator-banner {
/*  background-color: #851C2C; /* rouge bordeaux */
/*  padding: 40px 20px;
  color: #fff;*/
}

.separator-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.separator-left,
.separator-right {
  width: 100%;
  width: 100%;
  height: 100%;
  display: block;
}

.separator-logo {
  width: 100%;
  height: 100%;
  display: block;
}

.separator-right p {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
}

.separator-divider {
  width: 2px;
  background-color: #fff;
  height: 80px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .separator-banner{
    width: 100vw; /* Utilise 90% de la largeur de l'écran */
  }
  .container-separateur {
    width: 100vw; /* Utilise 70% de la largeur de l'écran */
    height: 11vh; /* Utilise 5% de la hauteur de l'écran */
  }
}



/*############################################""
###############################################
 RESPONSIVE PHONE
##############################################
##############################################*/
/* =========================
   MOBILE (≤ 480px)
   ========================= */
@media (max-width: 480px) {

  /* Layout générique */
  .container{ width: 94vw; }

  /* ===== Vidéo de présentation ===== */
  .promo-video{ padding: 36px 0 28px; }
  .video-grid{ grid-template-columns: 1fr; gap: 16px; align-items: start; }
  .video-card.inline{ border-radius: 12px; box-shadow: 0 10px 28px rgba(0,0,0,.18); }
  .play-overlay{ width: 64px; height: 64px; }
  .play-overlay::before{ border-left-width: 18px; border-top-width: 11px; border-bottom-width: 11px; transform: translateX(5px); }
  .video-copy h2{ font-size: 24px; margin-bottom: 10px; }
  .video-copy p{ font-size: 0.95rem; line-height: 1.55; margin-bottom: 14px; max-width: 100%; }
   .carousel-container {
        height: 12vh;
        
    }

  /* ===== Projets phares ===== */
  .featured-projects{ padding: 44px 0 36px; }
  .featured-projects .section-title{ font-size: 28px; margin-bottom: 18px; }
  .projects-grid{ grid-template-columns: 1fr; gap: 16px; }
  .project-card{ padding: 16px 14px 0; border-radius: 12px; }
  .project-title{ font-size: 20px; min-height: auto; margin-bottom: 10px; }
  .project-cover{ height: 200px; border-radius: 10px; margin: 8px auto 12px; }
  .project-lead, .project-scope{ margin: 0 6px 12px; line-height: 1.5; font-size: .95rem; }
  .card-bottom{ margin: 14px -14px 0; padding: 12px 14px 16px; border-radius: 0 0 12px 12px; }
  .facts-title{ font-size: 18px; margin-bottom: 10px; }
  .facts-grid{ grid-template-columns: 1fr; gap: 8px; margin-bottom: 12px; }
  .fact .value{ font-size: 22px; text-decoration: none !important;}
  .fact .label{ font-size: 13px; }
  .project-card .btn{ min-width: 100%; }

  /* ===== À propos ===== */
  .about{ padding: 48px 0; }
  .about-grid{ grid-template-columns: 1fr; gap: 16px; align-items: start; }
  .about-img{ max-width: 100%; filter: drop-shadow(0 12px 24px rgba(0,0,0,.16)); }
  .about-copy{ text-align: left; }
  .about-copy h2{ font-size: 26px; line-height: 1.2; margin-bottom: 12px; }
  .about-copy p{ font-size: .95rem; line-height: 1.55; margin-bottom: 14px; max-width: 100%; }
  .about .btn{ gap: 12px; }
  .about .btn-group{ width: 100%; max-width: 320px; }

  /* ===== Autorités (Direction) ===== */
  .authorities{ padding: 36px 0 24px; }
  .authorities-grid{ flex-direction: column; align-items: center; gap: 16px; }
  .authority-card{ max-width: 95vw; min-width: 0; padding: 16px 12px; border-radius: 12px; }
  .authority-photo{ width: 76px; height: 76px; margin-bottom: 12px; border-width: 3px; }
  .authority-name{ font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
  .authority-role{ font-size: .92rem; margin-bottom: 12px; }
  .authority-quote{
    font-size: .92rem; line-height: 1.5; padding: 10px 12px; text-align: left;
    border-left-width: 3px; hyphens: auto; overflow-wrap: anywhere;
  }

  /* ===== ESG ===== */
  .esg-impact-section{ padding: 44px 0 28px; }
  .esg-title{ font-size: 26px; margin-bottom: 12px; }
  .esg-lead{ font-size: .95rem; margin-bottom: 20px; }
  .esg-grid{ gap: 16px; }
  .esg-card{ padding: 18px 14px; max-width: 94vw; text-align: center; }
  .esg-card .esg-icon-wrapper img{ width: 110px; }
  .esg-card h3{ font-size: 1rem; margin-bottom: 8px; }
  .esg-card p{ font-size: .95rem; }

  /* ===== Footer ===== */
  .footer-container{ grid-template-columns: 1fr; gap: 36px; padding: 0 16px; }
  .footer-container::before{ display:none; }
  .footer-left, .footer-right{ padding: 0; }
  .contact-and-links{ flex-direction: column; gap: 20px; margin-top: 20px; }
  .social-media{ justify-content: flex-start; margin-top: 16px; }
  .newsletter-title, .logo{ font-size: 24px; }
  .subscribe-btn{ width: 100%; padding: 14px; }
  .phone, .email, .address, .legal-link{ font-size: 14px; }

  /* ===== Séparateur ===== */
  .separator-grid{ flex-direction: column; gap: 12px; }
  .separator-divider{ width: 60%; height: 2px; }
  .separator-right p{ font-size: 1rem; font-weight: 600; }
}

/* =========================
   TRÈS PETITS TÉLÉPHONES (≤ 380px)
   ========================= */
@media (max-width: 380px) {
  .video-copy p{ max-width: 94%; }
  .project-cover{ height: 180px; }
  .authority-photo{ width: 70px; height: 70px; }
  .authority-quote br{ display:none; } /* évite les trous verticaux */
  .carousel-container {
        height: 11vh;
    }
}



/* Responsive pour la section "À propos" */
@media (max-width: 992px) {
  .about-copy {
    text-align: center; 
  }
}

@media (max-width: 480px) {
  .about-copy {
    text-align: center; 
  }
}



@media (max-width: 992px) {
  .about-grid {
    /* Assurez-vous que le conteneur est une colonne flex */
    flex-direction: column;
  }
  .about-copy {
    /* Mettez le texte en deuxième position */
    order: 1;
  }
  .about-figure {
    /* Mettez l'image en première position */
    order: 2;
  }
}


