/* ==========================================================================
   SECTION TEAM DECARB - CODE COMPLET (Desktop + Mobile)
   ========================================================================== */

/* 1. CONTENEUR ET STRUCTURE GÉNÉRALE */
.team-section-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.content-position {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

/* 2. STYLE DES BADGES (Bilan carbone, SBTi, etc.) */
.feature-badge {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-radius: 46px;
    padding: 10px 18px;
    background: #ffffff;
    font-size: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05); /* Optionnel : léger relief */
}

.feature-badge span {
    font-family: 'Work Sans', sans-serif;
    font-weight: 500;
    color: #333;
}

.feature-badge img {
    height: auto;
    max-width: 100%;
    width: 40px;
    margin: 0 10px 0 0;
}

/* 3. STYLE DES AVATARS (Photos de l'équipe) */
.img-div img, 
.img-div-screen img {
    height: auto;
    max-width: 100%;
    width: 80px;
    border-radius: 50%; /* Rend les images bien rondes */
}

/* Marges spécifiques desktop */
.margin-right-20 { margin-right: 20px; }
.margin-left-20 { margin-left: 20px; }

/* 4. GESTION DES DOUBLONS (DESKTOP) */
.img-div-screen {
    display: none; /* Caché sur ordinateur */
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 20px 0;
}

/* 5. LOGIQUE RESPONSIVE (MOBILE < 768px) */
@media screen and (max-width: 768px) {
    
    /* On affiche enfin la grille de 6 photos au centre */
    .img-div-screen {
        display: flex !important;
    }

    /* ON CACHE TOUTES LES IMAGES INDIVIDUELLES (Côtés et Bouton) */
    /* Cela règle le problème des "têtes" qui restent à côté du bouton */
    .img-div {
        display: none !important;
    }

    /* On adapte les badges pour qu'ils soient lisibles sur téléphone */
    .feature-badge {
        font-size: 16px;
        padding: 10px 15px;
        width: 100%; /* S'empilent verticalement */
        max-width: 280px;
        justify-content: center;
    }

    .content-position {
        flex-direction: column;
        width: 100%;
    }
}

/* Importation de la police Plus Jakarta Sans */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600&display=swap');

/* ==========================================================================
   SECTION GRID (2 colonnes max, alignement gauche, Plus Jakarta)
   ========================================================================== */

.grid {
    display: grid;
    /* Force 2 colonnes sur desktop, 1 seule sur mobile */
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.card {
    padding: 30px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    /* Aligne tous les éléments (icône, titre, texte) vers la gauche */
    align-items: flex-start; 
    transition: transform 0.2s ease;
}

/* Couleurs spécifiques par classe */
.card.green { background-color: #D7E9E7; }
.card.green2 { background-color: #DFE29F; }
.card.purple { background-color: #F0E7FF; }
.card.blue { background-color: #CFECEF; }
.card.beige { background-color: #F3E9DF; }

.card.outlined {
    background-color: none;
    border: 1px solid #000000;
}

/* Typographie : Application de Plus Jakarta Sans */
.card h3 {
    margin: 15px 0 10px 0; /* Ajout d'un peu d'espace entre icône et titre */
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #1a1a1a;
}

.card p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: #4a4a4a;
}

/* Responsive : Bascule en 1 colonne sur mobile */
@media screen and (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }
}
 
/* OFFRE CONTIB **$$$******$************** */

.contrib-container {
  display: flex; column-gap: 40px; row-gap: 40px; align-items: top; flex-wrap: wrap;
}

.text-container{
flex: 1 1 40ch; padding: 0px 0px 20px; font-size: 16px;
}




.span-weight{
  font-weight: 600;
}

.span-color {
  background-color: #2e322f; color: #cfecef
}

.img-text {
  flex: 1 1 40ch;
            padding-top: 10px;
            padding-right: 20px;
            padding-bottom: 20px;
            font-size: 16px;
            font-family: WorkSans;
            line-height: 1.5;
}

.img-style {
   height: auto;
                    max-width: 100%;
                    width: 20px;
                    float: left;
                    margin-left: 0px;
                    margin-right: 10px;
}

<style>
  .cta-buttons-container {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important; /* Espace propre entre les boutons */
    margin-top: 15px;
  }

  /* Reinitialisation des wrappers HubSpot */
  .cta-buttons-container .hs-cta-wrapper,
  .cta-buttons-container .hs-cta-node {
    display: inline-flex !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Force la même hauteur et le centrage du texte pour les deux boutons */
  .cta-buttons-container a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 44px !important; /* Hauteur uniforme pour aligner le haut et le bas */
    box-sizing: border-box !important;
    margin: 0 !important;
  }
</style>