.hidden {
  display: none;
}

.footer {
    background: #F2F9F6;
    height: 0px;
    width: 100%;
}

.bnpp-gl-cta-card {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #F2F9F6;
    flex-wrap: wrap;
    padding: 30px 0 30px 0;

    .container-bnpp-gl-cta-card {
        max-width: 1250px;

        h2 {
            width: 100%;
            margin: 70px 87px 10px 87px;
            color: #1D1D1B;
            font-family: "BNPP Sans Condensed";
            font-size: 64px;
            font-style: normal;
            font-weight: 400;
            line-height: 60px; /* 93.75% */
        }

        p {
            color: #1D1D1B;
            font-family: "BNPP Sans";
            font-size: 18px;
            font-style: normal;
            font-weight: 400;
            line-height: 24px; /* 133.333% */
            width: 100%;
            margin: 0 87px 32px 87px;
        }
    }
}

.card-container, .card-container-light {
    width: 100%;
    margin: 0px 0px;
    align-items: start;
}

.card-container .bnpp-gl-cta-card-block, .card-container-light .bnpp-gl-cta-card-block {
    width: 100%;
    box-sizing: border-box;
    border: none;
    background: #fff;
    padding: 32px;
    transition: opacity 0.3s ease;

    &:focus {
        outline: 3px dotted #008252;
        outline-offset: 1px;
    }
    h3 {
        color: #0C2728;
        font-family: "BNPP Sans Condensed";
        font-size: 48px;
        font-style: normal;
        font-weight: 400;
        line-height: 45px;
        margin: 0 0 12px 0;
    }

    p {
        color: #0C2728;
        font-family: "BNPP Sans";
        font-size: 18px;
        font-style: normal;
        font-weight: 300;
        line-height: 26px; 
        width: auto;
        margin: 0 0 12px 0;
    }
}

.card-container-light {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 colonnes de taille égale */
  gap: 25px; /* Espacement entre les éléments (remplace `grid-gap` obsolète) */
}

.container-button-gl-cta-card{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 12px;
}

.card-container .bnpp-gl-cta-card-block.gray, .card-container-light .bnpp-gl-cta-card-block.gray{
    opacity: 0.6;
}

.bnpp-gl-cta-card.dark{
    background: #001B15;

    h2, h3 {
        color: #FFF;
    }

    p {
        color: #FFF;
    }
}


@media (max-width: 465px) {
    .bnpp-gl-cta-card {
        h2, h3 {
            width: 100%;
            margin: 25px 20px 10px 20px;
        }
        p {
            width: 100%;
            margin: 0 20px 15px 20px;
        }
    }
    .card-container, .card-container-light {
        display: grid;
        grid-template-columns: repeat(1, 1fr); 
    }

    .card-container .bnpp-gl-cta-card-block, .card-container-light .bnpp-gl-cta-card-block {

        h3 {
            color: #0C2728;
            font-size: 28px;
            font-weight: 400;
            line-height: 28px;
        }

        p {
            color: #0C2728;
            font-size: 14px;
            font-weight: 400;
            line-height: 20px;
        }
    }

    .container-button-gl-cta-card {
        flex-direction: column;
        gap: 8px;

        a {
            width: 300px;
            height: 32px;
            padding: 8px 2px;
            justify-content: center;
            gap: 3px
        }
    }

}