/* ========================================
   ENGAGEMENTS SECTION - CSS COMMUN
   Utilisé sur : Produits, Cultures, Services
   ======================================== */

.engagements-section {
    /*max-width: 1400px;
    margin: 0 auto;
    padding: 5rem 2rem;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);*/
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
      padding: 5rem 0;
      overflow: hidden;
      position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: #2d5016;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #666;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.engagements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.engagement-card {
    background: #fff;
    padding: 3rem 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.engagement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2d5016 0%, #5a8f3a 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.engagement-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(45, 80, 22, 0.15);
}

.engagement-card:hover::before {
    transform: scaleX(1);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, #5a8f3a 0%, #2d5016 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.icon-wrapper::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid #5a8f3a;
    opacity: 0.2;
}

.icon-wrapper svg {
    width: 40px;
    height: 40px;
    stroke: #fff;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.engagement-card h3 {
    font-size: 1.5rem;
    color: #2d5016;
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.engagement-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .engagements-section {
        padding: 3rem 1.5rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .engagements-grid {
        gap: 2rem;
        grid-template-columns: 1fr;
    }

    .engagement-card {
        padding: 2.5rem 2rem;
    }

    .icon-wrapper {
        width: 70px;
        height: 70px;
        margin-bottom: 1.5rem;
    }

    .icon-wrapper svg {
        width: 35px;
        height: 35px;
    }
}