/* ============================================
   PROSTHESIS TYPES SECTION
   ============================================ */

.prosthesis {
    padding-top: 0;
    padding-bottom: calc(var(--space-xl) + 8rem);
    padding-left: 0;
    padding-right: 0;
    background-color: #1a2328; /* NOSSA ESPECIALIDADE - Dark Mode */
}

[data-theme="light"] .prosthesis {
    background-color: #ffffff; /* NOSSA ESPECIALIDADE - Light Mode */
}

.prosthesis__container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    padding-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.prosthesis__header {
    text-align: center;
    margin-bottom: var(--space-lg);
    margin-top: 0;
    padding-top: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.prosthesis__header .section-tag {
    display: inline-block;
    margin-top: 0;
    margin-bottom: 0;
}

.prosthesis__card {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    background: var(--card-bg) !important;
    border: 2px solid var(--border-light) !important;
    border-radius: var(--radius-md);
    padding: 3rem;
    text-align: center;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
    display: block;
    position: relative;
    overflow: visible;
    box-sizing: border-box;
}

.prosthesis__card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

[data-theme="light"] .prosthesis__card {
    background: #ffffff !important;
    border: 2px solid rgba(65, 107, 153, 0.15) !important;
}

[data-theme="light"] .prosthesis__card:hover {
    background: rgba(65, 107, 153, 0.03) !important;
    border-color: var(--primary) !important;
}

.prosthesis__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-md);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(216, 171, 113, 0.12);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    flex-shrink: 0;
}

.prosthesis__card:hover .prosthesis__icon {
    background: rgba(216, 171, 113, 0.18);
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(216, 171, 113, 0.25);
}

.prosthesis__icon svg {
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    display: block;
    flex-shrink: 0;
}

.prosthesis__title {
    font-family: 'DM Serif Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.prosthesis__description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

[data-theme="light"] .prosthesis__title {
    color: var(--text-primary);
}

[data-theme="light"] .prosthesis__description {
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 1023px) {
    .prosthesis__card {
        padding: 2.5rem;
    }
    
    .prosthesis__title {
        font-size: 2rem;
    }
    
    .prosthesis__description {
        font-size: 1rem;
    }
}

@media (max-width: 767px) {
    .prosthesis {
        padding-top: var(--space-sm);
        padding-bottom: calc(var(--space-xl) + 4rem);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .prosthesis__container {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
        padding-top: 0;
    }
    
    .prosthesis__header {
        margin-top: 0;
        padding-top: 0;
        margin-bottom: var(--space-md);
    }
    
    .prosthesis__card {
        padding: 2rem 1.5rem;
        margin-top: 0;
    }
    
    .prosthesis__icon {
        width: 64px;
        height: 64px;
        margin-bottom: var(--space-sm);
    }
    
    .prosthesis__icon svg {
        width: 40px !important;
        height: 40px !important;
        max-width: 40px !important;
        max-height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
    }
    
    .prosthesis__title {
        font-size: 1.75rem;
        margin-bottom: var(--space-sm);
    }
    
    .prosthesis__description {
        font-size: 0.9375rem;
        line-height: 1.7;
    }
}
