/* ========== BLOCO INSTITUCIONAL ========== */
.institutional-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #F9FAFB 100%);
}

/* Parte 1 - Para Sociedade */
.society-block {
    margin-bottom: 5rem;
}

.block-header {
    text-align: center;
    margin-bottom: 3rem;
}

.block-title {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.block-subtitle {
    font-size: 1.1rem;
    color: #6B7280;
    max-width: 600px;
    margin: 0 auto;
}

.society-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
}

.society-card {
    background: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    padding: 1rem 0;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg,
            transparent 0%,
            rgba(139, 92, 246, 0.1) 10%,
            rgba(139, 92, 246, 0.3) 50%,
            rgba(139, 92, 246, 0.1) 90%,
            transparent 100%) 1;
}

.society-card:last-child {
    border-bottom: none;
}

.society-card:hover {
    transform: translateX(10px);
    background: linear-gradient(90deg, transparent 0%, rgba(139, 92, 246, 0.02) 100%);
}

.society-card-image {
    width: 240px;
    min-height: 130px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    border-radius: 10px;
}

.society-card-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.society-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.society-card:hover .society-card-image img {
    transform: scale(1.1);
}

.society-card-content {
    padding: 0.8rem 1.5rem;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 0.5rem 1.5rem;
    align-items: center;
    flex: 1;
}

.society-card-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0;
    line-height: 1.3;
    grid-column: 1;
    grid-row: 1;
}

.society-card-description {
    color: #4B5563;
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 0;
    grid-column: 1;
    grid-row: 2;
}

.society-card-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
    white-space: nowrap;
}

.society-card-cta:hover {
    box-shadow: 0 6px 16px rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
    color: white;
}

.society-card-cta i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.society-card-cta:hover i {
    transform: translateX(4px);
}

/* Parte 2 - Para Fornecedores */
.vendors-block {
    background: linear-gradient(135deg, #1F2937 0%, #111827 100%);
    border-radius: 30px;
    padding: 4rem 3rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.vendors-block::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.vendors-block::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.vendors-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.vendors-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1rem;
}

.vendors-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto;
}

.vendors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.vendor-feature {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.vendor-feature:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(139, 92, 246, 0.5);
    transform: translateY(-8px);
}

.vendor-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
}

.vendor-icon i {
    font-size: 2rem;
    color: white;
}

.vendor-feature-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.vendor-feature-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.vendor-feature-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.8rem;
    background: white;
    color: #8B5CF6;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.vendor-feature-cta:hover {
    background: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 100%);
    color: white;
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
    transform: translateX(4px);
}

.vendor-feature-cta i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.vendor-feature-cta:hover i {
    transform: translateX(4px);
}

/* Responsividade */
@media (max-width: 992px) {
    .society-card {
        flex-direction: column;
        padding: 1.5rem 0;
    }

    .society-card-image {
        width: 100%;
        height: 200px;
        margin-bottom: 1rem;
    }

    .society-card-content {
        padding: 0 1rem 1rem 1rem;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 0.8rem;
    }

    .society-card-title {
        grid-column: 1;
        grid-row: 1;
    }

    .society-card-description {
        grid-column: 1;
        grid-row: 2;
    }

    .society-card-cta {
        grid-column: 1;
        grid-row: 3;
        justify-self: start;
    }

    .society-card:hover {
        transform: translateY(-4px);
    }

    .vendors-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .vendors-block {
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    .institutional-section {
        padding: 3.5rem 0;
    }

    .block-title,
    .vendors-title {
        font-size: 1.85rem;
        word-break: break-word;
    }

    .society-block {
        margin-bottom: 2.5rem;
    }

    .vendors-block {
        border-radius: 20px;
        padding: 2.25rem 1.25rem;
        overflow: hidden;
    }

    .vendors-block::before,
    .vendors-block::after {
        display: none;
    }
}

@media (max-width: 640px) {
    .institutional-section {
        padding: 2rem 0;
    }

    .block-header,
    .vendors-header {
        margin-bottom: 1.75rem;
    }

    .block-title,
    .vendors-title {
        font-size: 1.45rem;
        line-height: 1.25;
    }

    .block-subtitle,
    .vendors-subtitle {
        font-size: 0.9rem;
        line-height: 1.5;
        padding: 0 0.5rem;
    }

    .society-card {
        padding: 1rem 0;
        border-image: none;
        border-bottom: 1px solid #e2e8f0;
    }

    .society-card-image {
        width: 100%;
        height: 170px;
        border-radius: 8px;
        margin-bottom: 0.75rem;
    }

    .society-card-content {
        padding: 0 0.25rem 0.5rem 0.25rem;
        gap: 0.6rem;
    }

    .society-card-title {
        font-size: 1.1rem;
        line-height: 1.3;
    }

    .society-card-description {
        font-size: 0.85rem;
        line-height: 1.45;
    }

    .society-card-cta {
        width: 100%;
        padding: 0.75rem 1rem;
        text-align: center;
        justify-content: center;
        font-size: 0.85rem;
        white-space: normal;
        border-radius: 12px;
    }

    .vendors-block {
        border-radius: 16px;
        padding: 1.5rem 1rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .vendors-grid {
        gap: 1.25rem;
    }

    .vendor-feature {
        padding: 1.25rem 1rem;
        border-radius: 14px;
    }

    .vendor-icon {
        width: 50px;
        height: 50px;
        border-radius: 12px;
        margin-bottom: 1rem;
    }

    .vendor-icon i {
        font-size: 1.4rem;
    }

    .vendor-feature-title {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .vendor-feature-description {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }

    .vendor-feature-cta {
        width: 100%;
        padding: 0.75rem 1rem;
        text-align: center;
        justify-content: center;
        font-size: 0.85rem;
        white-space: normal;
        border-radius: 12px;
        display: flex;
    }
}