.terract-partenaires-section {
    margin: 0 0 42px;
    padding: 34px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, .07);
}

.terract-partenaires-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.terract-partenaires-head span {
    display: inline-block;
    color: #0b8f45;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 6px;
}

.terract-partenaires-head h2 {
    margin: 0;
    color: #073f28;
    font-size: 30px;
    font-weight: 900;
    text-transform: uppercase;
}

.terract-partenaires-head a {
    color: #0b8f45;
    text-decoration: none;
    font-size: 14px;
    font-weight: 900;
    white-space: nowrap;
}

.terract-partenaires-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.terract-partenaire-card {
    min-height: 150px;
    background: #f7faf8;
    border: 1px solid #e4eee8;
    border-radius: 18px;
    padding: 20px 14px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .25s ease;
}

.terract-partenaire-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 25px rgba(0, 0, 0, .08);
    border-color: #b8dfc7;
}

.terract-partenaire-logo {
    width: 86px;
    height: 70px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.terract-partenaire-logo img {
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
}

.terract-partenaire-card h3 {
    margin: 0;
    color: #123025;
    font-size: 14px;
    font-weight: 900;
    text-align: center;
    line-height: 1.25;
}

@media (max-width: 1100px) {
    .terract-partenaires-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 700px) {
    .terract-partenaires-section {
        padding: 24px;
        border-radius: 20px;
    }

    .terract-partenaires-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .terract-partenaires-head h2 {
        font-size: 24px;
    }

    .terract-partenaires-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}