/* Estilos para Cards dos Palestrantes */
.instrutor-card {
    border: 3px solid #e0e0e0;
    border-radius: 16px;
    padding: 25px;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.instrutor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instrutor-card:hover::before {
    opacity: 1;
}

.instrutor-card:hover {
    border-color: #B2201F;
    box-shadow: 0 6px 20px rgba(178, 32, 31, 0.2);
    transform: translateY(-5px);
}

.instrutor-foto-container {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #B2201F;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(178, 32, 31, 0.3);
    position: relative;
}

.instrutor-foto-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.1);
}

.instrutor-foto-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.instrutor-foto-placeholder {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border-radius: 50%;
    border: 5px solid #B2201F;
    background: linear-gradient(135deg, #274150 0%, #B2201F 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(178, 32, 31, 0.3);
}

.instrutor-nome {
    color: #B2201F;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 3px solid #B2201F;
    text-align: center;
    line-height: 1.4;
}

.curriculo {
    font-size: 1.0rem;
    line-height: 1.7;
    text-align: left;
    color: #333;
    margin-top: 15px;
}

.curriculo p {
    margin-bottom: 10px;
    padding-left: 15px;
    position: relative;
    text-align: justify;
}

.curriculo p:before {
    position: absolute;
    left: 0;
    color: #B2201F;
    font-weight: bold;
    font-size: 1rem;
}

.curso-titulo {
    background: linear-gradient(135deg, #274150 0%, #1a2a35 100%);
    color: white;
    padding: 20px 25px;
    border-radius: 10px;
    margin-bottom: 35px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    border-left: 6px solid #B2201F;
}

.curso-titulo h3 {
    margin: 0;
    font-weight: bold;
    font-size: 1.3rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.curso-container {
    margin-bottom: 50px;
    padding-bottom: 40px;
}

.curso-container:not(:last-child) {
    border-bottom: 3px solid #e0e0e0;
}

/* Responsividade */
@media (max-width: 767px) {
    .instrutor-foto-container,
    .instrutor-foto-placeholder {
        width: 160px;
        height: 160px;
    }

    .instrutor-card {
        padding: 20px;
    }

    .curso-titulo h3 {
        font-size: 1.1rem;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .instrutor-foto-container,
    .instrutor-foto-placeholder {
        width: 180px;
        height: 180px;
    }
}

@media (min-width: 992px) {
    .instrutor-card {
        min-height: 100%;
    }
}


/* Estilos para cards compactos com modal */
 .instrutor-card-compact {
     border: 3px solid #e0e0e0;
     border-radius: 16px;
     padding: 25px 20px;
     background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
     transition: all 0.3s ease;
     box-shadow: 0 3px 12px rgba(0,0,0,0.1);
     text-align: center;
     position: relative;
     overflow: hidden;
 }

.instrutor-card-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #274150 0%, #B2201F 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instrutor-card-compact:hover::before {
    opacity: 1;
}

.instrutor-card-compact:hover {
    border-color: #B2201F;
    box-shadow: 0 6px 20px rgba(178, 32, 31, 0.2);
    transform: translateY(-5px);
}

.instrutor-foto-compact {
    width: 150px;
    height: 150px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #B2201F;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(178, 32, 31, 0.3);
}

.instrutor-foto-compact img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.instrutor-foto-placeholder-compact {
    width: 150px;
    height: 150px;
    margin: 0 auto 15px;
    border-radius: 50%;
    border: 4px solid #B2201F;
    background: linear-gradient(135deg, #274150 0%, #B2201F 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    box-shadow: 0 4px 15px rgba(178, 32, 31, 0.3);
}

.instrutor-nome-compact {
    color: #274150;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 15px;
    line-height: 1.3;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-ver-bio {
    background: linear-gradient(135deg, #B2201F 0%, #8a1818 100%);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(178, 32, 31, 0.3);
    cursor: pointer;
}

.btn-ver-bio:hover {
    background: linear-gradient(135deg, #8a1818 0%, #B2201F 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(178, 32, 31, 0.4);
    color: white;
}

.btn-ver-bio i {
    margin-right: 8px;
}

/* Modal customizado */
.modal-header {
    background: linear-gradient(135deg, #274150 0%, #1a2a35 100%);
    color: white;
    border-bottom: 4px solid #B2201F;
}

.modal-title {
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-body {
    padding: 30px;
    background-color: #f9f9f9;
}

.bio-item {
    background: white;
    padding: 12px 15px;
    margin-bottom: 10px;
    border-left: 4px solid #B2201F;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    line-height: 1.6;
}

.bio-item:last-child {
    margin-bottom: 0;
}

.modal-footer {
    background-color: #f0f0f0;
    border-top: 2px solid #e0e0e0;
}

.btn-close-modal {
    background-color: #274150;
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-close-modal:hover {
    background-color: #B2201F;
    color: white;
}

@media (max-width: 767px) {
    .instrutor-foto-compact,
    .instrutor-foto-placeholder-compact {
        width: 120px;
        height: 120px;
    }

    .instrutor-card-compact {
        padding: 20px 15px;
    }
}


