/* Estilos personalizados para os cards da equipe */
.team-item {
    transition: all 0.3s ease;
    border: none !important;
    background: white !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.team-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1) !important;
    border-color: rgba(184, 134, 11, 0.3) !important;
}

.team-photo-wrapper {
    position: relative;
    transition: all 0.3s ease;
}

.team-photo-wrapper img {
    border: 4px solid #B8860B !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.team-item:hover .team-photo-wrapper {
    transform: scale(1.05);
}

.team-item:hover .team-photo-wrapper img {
    border-color: #8B4513 !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.team-item .btn-outline-primary {
    border: 2px solid #B8860B !important;
    color: #8B4513 !important;
    background: transparent !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.team-item .btn-outline-primary:hover {
    transform: translateY(-2px);
    background: #B8860B !important;
    border-color: #8B4513 !important;
    color: white !important;
    box-shadow: 0 8px 20px rgba(184, 134, 11, 0.3);
}

/* Badge decorativo dourado */
.team-item .bg-primary {
    background: linear-gradient(135deg, #B8860B, #ddbca4) !important;
    border: 2px solid white !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Estilos para o modal */
.modal-content {
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    background: white;
}

.modal-header {
    border-bottom: 2px solid rgba(184, 134, 11, 0.1);
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #B8860B, #ddbca4) !important;
}

.modal-header img {
    border: 3px solid rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.modal-body {
    line-height: 1.6;
    background: white;
}

.team-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #5D4037;
}

.team-description h1, .team-description h2, .team-description h3,
.team-description h4, .team-description h5, .team-description h6 {
    color: #8B4513;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.team-description p {
    margin-bottom: 1rem;
    color: #6D4C41;
}

.team-description strong {
    color: #B8860B;
    font-weight: 700;
}

/* Texto do cargo em dourado */
.team-item .text-color-primary {
    color: #B8860B !important;
    font-weight: 700 !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/* Nome da pessoa em tom marrom clássico */
.team-item h4 {
    color: #8B4513 !important;
}

/* Botão fechar do modal */
.modal-footer .btn[data-bs-dismiss="modal"] {
    background: linear-gradient(135deg, #B8860B, #ddbca4) !important;
    color: white !important;
    border: none !important;
    font-weight: 600 !important;
    padding: 8px 20px !important;
    transition: all 0.3s ease !important;
}

.modal-footer .btn[data-bs-dismiss="modal"]:hover {
    background: linear-gradient(135deg, #ddbca4, #B8860B) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(184, 134, 11, 0.3) !important;
}

/* Responsividade */
@media (max-width: 768px) {
    .team-item {
        margin-bottom: 2rem;
    }
    
    .modal-dialog {
        margin: 1rem;
    }
    
    .modal-body .row {
        flex-direction: column;
    }
    
    .modal-body .col-md-4 {
        order: 1;
        margin-bottom: 1rem;
    }
    
    .modal-body .col-md-8 {
        order: 2;
    }
}