/* ===================================
   BLOC BOÎTES
   =================================== */

.block-boites {
    position: relative;
    width: 100%;
    padding: 150px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.block-boites::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 0;
}

.bloc-boites-inner {
    position: relative;
    z-index: 1;
}

.bloc-boites-title {
    font-family: 'Funnel Display', sans-serif;
    font-weight: 300;
    font-size: 55px;
    letter-spacing: 11px;
    color: #F3F1F1;
    margin: 0 0 75px 0;
    line-height: 1;
}

.bloc-boites-row {
    display: flex;
    align-items: center;
}

/* .bloc-boites-row .col-lg-4,
.bloc-boites-row .col-md-6,
.bloc-boites-row .col-12 {
    padding: 0;
} */

/* Boîte Card */
.boite-card {
    background: rgba(51, 66, 88, 0.8);
    width: 100%;
    min-height: 500px;
    transition: all 0.4s ease;
    transform-origin: center;
}

.boite-card:hover {
    background: #FFFFFF;
    transform: scaleY(1.1);
}

.boite-card-inner {
    padding: 45px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    transition: transform 0.4s ease;
}

.boite-card:hover .boite-card-inner {
    transform: scaleY(0.909);
}

/* Icône */
.boite-icon {
    width: 82px;
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(45deg);
}

.boite-icon img {
    width: 59px;
    height: 58px;
    transform: rotate(-45deg);
    display: block;
}

/* Sous-titre */
.boite-subtitle {
    font-family: 'Funnel Display', sans-serif;
    font-weight: 300;
    font-size: 35px;
    letter-spacing: 3.5px;
    color: #F3F1F1;
    margin: 0;
    line-height: 1;
    max-width: 400px;
    transition: color 0.4s ease;
}

.boite-card:hover .boite-subtitle {
    color: #334258;
}

/* Description */
.boite-desc {
}

.boite-desc p {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: 16px;
    letter-spacing: 0.05em;
    color: #F3F1F1;
    line-height: 1.6;
    margin: 0;
    transition: color 0.4s ease;
}

.boite-card:hover .boite-desc p {
    color: #334258;
}

/* Bouton - Override au survol de la carte */
.boite-card .btn.btn-secondary .btn-text {
    transition: color 0.4s ease;
}

.boite-card:hover .btn.btn-secondary .btn-text {
    color: #334258;
}

/* Responsive */
@media screen and (max-width: 1400px) {
    .block-boites {
        padding: 100px 0;
    }

    .bloc-boites-title {
        font-size: 4vw;
        margin-bottom: 50px;
    }

    .boite-card-inner {
        padding: 40px;
    }

    .boite-subtitle {
        font-size: 3vw;
    }
}

@media screen and (max-width: 992px) {
    .block-boites {
        padding: 80px 0;
    }

    .bloc-boites-title {
        font-size: 5vw;
        margin-bottom: 40px;
    }

    .bloc-boites-row {
        flex-direction: column;
        gap: 20px;
    }

    .boite-card {
        min-height: 400px;
    }

    .boite-card-inner {
        padding: 40px 30px;
        gap: 30px;
    }

    .boite-icon {
        width: 60px;
        height: 60px;
    }

    .boite-icon img {
        width: 45px;
        height: 45px;
    }

    .boite-subtitle {
        font-size: 6vw;
        max-width: 100%;
    }

    .boite-desc p {
        font-size: 14px;
        letter-spacing: 0.05em;
    }
}

@media screen and (max-width: 768px) {
    .block-boites {
        padding: 60px 0;
    }

    .bloc-boites-title {
        font-size: 7vw;
        letter-spacing: 5px;
    }

    .boite-card {
        min-height: 350px;
    }

    .boite-card-inner {
        padding: 30px 20px;
    }

    .boite-subtitle {
        font-size: 7vw;
        letter-spacing: 0.05em;
    }
}
