/* A Mentora - Section Styles */
.specialists {
  background-color: var(--white);
}

.mentor-profile {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4rem;
  align-items: center;
}

/* Photo */
.mentor-photo {
  position: relative;
}

.mentor-photo::before {
  content: "";
  position: absolute;
  top: -16px;
  left: -16px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--primary-color);
  border-radius: 16px;
  z-index: -1;
}

.mentor-photo img {
  display: block;
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: top;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.mentor-photo-tag {
  position: absolute;
  bottom: -1.1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  background: var(--gradient);
  color: var(--white);
  padding: 0.7rem 1.4rem;
  border-radius: 30px;
  font-family: var(--font-subheading);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--box-shadow);
}

/* Info */
.mentor-eyebrow {
  display: inline-block;
  font-family: var(--font-subheading);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.8rem;
}

.mentor-name {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--secondary-color);
  margin-bottom: 1.2rem;
}

.mentor-bio {
  font-family: var(--font-body);
  color: var(--dark-gray);
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 1.8rem;
}

.mentor-actions {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  flex-wrap: wrap;
}

.mentor-social {
  font-family: var(--font-subheading);
  color: var(--dark-gray);
  font-weight: 500;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.mentor-social-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--dark-gray);
  transition: var(--transition);
}

.mentor-social:hover {
  color: var(--primary-color);
}

.mentor-social:hover .mentor-social-icon {
  color: var(--primary-color);
}

.btn-specialist-cv {
  background: transparent;
  color: var(--primary-color);
  border: 1.5px solid var(--primary-color);
  border-radius: 30px;
  padding: 0.65rem 1.5rem;
  font-family: var(--font-subheading);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-specialist-cv:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Modal de Trajetória */
.specialist-cv-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.specialist-cv-modal.active {
  opacity: 1;
  visibility: visible;
}

.specialist-cv-content {
  position: relative;
  max-width: 90%;
  width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  background-color: var(--white);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  padding: 0 0 2rem;
}

.specialist-cv-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 85vh;
  object-fit: contain;
}

.specialist-cv-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 1rem;
  color: var(--primary-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
  z-index: 1;
}

.specialist-cv-close:hover {
  background-color: var(--light-gray);
}

.specialist-cv-header {
  text-align: center;
  padding: 2.5rem 2rem 1.5rem;
  background-color: var(--light-gray);
  border-radius: 16px 16px 0 0;
}

.specialist-cv-photo {
  display: block;
  width: 92px;
  height: 92px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 3px solid var(--white);
  box-shadow: var(--box-shadow);
}

.specialist-cv-header h3 {
  font-family: var(--font-heading);
  color: var(--secondary-color);
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

.specialist-registration {
  display: inline-block;
  font-family: var(--font-subheading);
  color: var(--primary-color);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.specialist-cv-body {
  padding: 1.8rem 2.2rem 0;
}

.specialist-cv-list {
  list-style: none;
  padding: 0;
}

.specialist-cv-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.3rem;
  font-family: var(--font-body);
  color: var(--secondary-color);
  line-height: 1.6;
}

.specialist-cv-list li:last-child {
  margin-bottom: 0;
}

.specialist-cv-list li i {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  margin-top: 0.1rem;
  border-radius: 50%;
  background-color: var(--light-gray);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

/* Media Queries */
@media (max-width: 992px) {
  .mentor-profile {
    grid-template-columns: 1fr;
    gap: 4.5rem;
    text-align: center;
  }

  .mentor-photo {
    max-width: 320px;
    margin: 0 auto;
  }

  .mentor-photo img {
    height: 380px;
  }

  .mentor-actions {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .specialist-cv-content {
    width: 95%;
    padding-bottom: 1.5rem;
  }

  .specialist-cv-header {
    padding: 2rem 1.5rem 1.25rem;
  }

  .specialist-cv-body {
    padding: 1.5rem 1.5rem 0;
  }

  .specialist-cv-header h3 {
    font-size: 1.5rem;
  }

  .specialist-registration {
    font-size: 0.8rem;
  }

  .specialist-cv-list li {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }

  .mentor-name {
    font-size: 1.8rem;
  }

  .mentor-photo-tag {
    font-size: 0.75rem;
    padding: 0.6rem 1.1rem;
  }
}

@media (max-width: 600px) {
  .specialist-cv-close {
    position: absolute;
    top: 1px;
    right: 5px;
    background-color: var(--light-gray);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
  }
}
