/* Subvention Section */
.refonte-subvention-section {
    width: 100%;
    max-width: 1600px;
    /* Aligned with other sections */
    margin: 0 auto;
    padding: 64px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
}

.subvention-container {
    background-color: #3E1524;
    /* Dark Burgundy/Purple */
    border-radius: 32px;
    padding: 48px;
    width: 100%;
    max-width: 1400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #FFFFFF;
    box-sizing: border-box;
    gap: 48px;
}

/* Header */
.subvention-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-bottom: 0;
}

.subvention-tag {
    display: inline-block;
    padding: 8px 16px;
    border-radius: var(--Radius-radius-16, 16px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.50) 0%, rgba(255, 255, 255, 0.10) 100%);
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 400;
    color: #FFFFFF;
    backdrop-filter: blur(10px);
}

.subvention-title {
    font-family: var(--font-primary);
    font-size: 48px;
    font-weight: 500;
    line-height: 1.1;
    margin: 0;
    color: #FFFFFF;
}

.subvention-title .highlight {
    color: #D8F283;
    /* Lime Green/Yellow */
}

.subvention-subtitle {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

/* Cards */
.subvention-cards {
    display: flex;
    gap: 48px;
    width: 100%;
    margin-bottom: 0;
}

.subvention-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    transition: background 0.3s ease;
}

.subvention-card:hover {
    background: rgba(255, 255, 255, 0.12);
}

.card-icon {
    margin-bottom: 48px;
    height: 64px;
    display: flex;
    align-items: center;
}

.card-icon img {
    height: 100%;
    width: auto;
    object-fit: contain;
}


.subvention-card-title {
    font-family: var(--font-primary);
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
    margin: 0 0 16px 0;
    color: #FFFFFF;
}

.subvention-card-description {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

/* CTA */
.subvention-cta {
    display: flex;
    justify-content: center;
}

.btn-subvention {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #D8F283;
    padding: 4px 4px 4px 16px;
    border-radius: 100px;
    height: 40px;
    box-sizing: border-box;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-subvention:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(216, 242, 131, 0.3);
}

.btn-subvention span {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 400;
    color: #003329;
    /* Dark Green */
    line-height: 1;
}

.btn-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon img {
    width: 100%;
    height: 100%;
}

@media (max-width: 1024px) {
    .refonte-subvention-section {
        padding: 40px 24px;
    }

    .subvention-container {
        padding: 48px 24px;
    }

    .subvention-cards {
        flex-direction: column;
        gap: 24px;
    }

    .subvention-title {
        font-size: 40px;
    }
}

@media (max-width: 480px) {
    .refonte-subvention-section {
        padding: 32px 12px;
        /* Reduced padding */
    }

    .subvention-container {
        padding: 32px 16px;
        gap: 24px;
        border-radius: 20px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .subvention-title {
        font-size: 28px;
        margin-bottom: 8px;
    }

    .subvention-subtitle {
        font-size: 15px;
    }

    .subvention-card {
        padding: 20px 16px;
        width: 100%;
        box-sizing: border-box;
    }

    .card-icon {
        margin-bottom: 20px;
        height: 48px;
    }

    .subvention-card-title {
        font-size: 22px;
        /* Smaller to prevent overflow */
        word-wrap: break-word;
        /* Ensure wrapping */
    }

    .subvention-card-description {
        font-size: 14px;
    }

    .btn-subvention {
        width: 100%;
        justify-content: center;
    }
}