body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
}
        
h1 {
  text-align: center;
  color: #2c3e50;
  margin-bottom: 30px;
}
.subtitle{
  text-align: center;
}        
.profissionais-grid {
  background-color: #fff;
  border-radius: 20px;
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 15px;
}

.profissional-item {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  width: 300px;
  margin: 10px;
  transition: transform 0.3s ease;
}

  .profissional-link {
    display: block;
    position: relative;
    overflow: hidden;
    height: 100%;
  }

  .profissional-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
  }

  .profissional-bg {
    height: 100px;
    width: 100px;
    background-color: #f9b13427;
    position: absolute;
    top: -50px;
    right: -50px;
    border-radius: 50%;
    transition: all 0.5s ease;
    z-index: 1;
  }

  .profissional-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 2;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  }

  .profissional-nome {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 5px;
  }

  .profissional-especialidade {
    font-size: 1rem;
    opacity: 0.8;
  }

  /* Efeitos no hover */
  .profissional-item:hover {
    transform: translateY(-5px);
  }

  .profissional-item:hover .profissional-bg {
    transform: scale(20);
  }

  .profissional-item:hover .profissional-info {
    transform: translateY(0);
  }

  .profissional-item:hover .profissional-img {
    transform: scale(1.1);
  }
/* Adicione isso ao seu CSS existente */
.profissional-link[data-video]::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 60px;
  height: 60px;
  background-color: rgba(249, 177, 52, 0.7);
  border-radius: 50%;
  z-index: 2;
  opacity: 0;
  transition: all 0.3s ease;
}

.profissional-link[data-video]::before {
  content: "▶";
  position: absolute;
  top: 50%;
  left: 50.7%;
  transform: translate(-50%, -50%) scale(0.8);
  font-size: 24px;
  color: white;
  z-index: 3;
  opacity: 0;
  transition: all 0.3s ease;
}

.profissional-item:hover .profissional-link[data-video]::after,
.profissional-item:hover .profissional-link[data-video]::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.profissional-link[data-video]::after {
  /* ... outros estilos ... */
  animation: pulse 2s infinite;
}
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
  overflow: auto;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background: #fff;
  margin: 20px auto;
  border-radius: 12px;
  overflow: hidden;
  width: 350px;
  max-width: 400px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
  position: relative;
}

.modal-header {
  background: #0080ff0e;
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 177.78%; 
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 500px) {
    .modal-content {
    margin: 10px auto;
    width: 98%;
  }

    .video-container {
      padding-bottom: 160%; 
  }
}

@media (max-height: 700px) {
  .video-container {
    padding-bottom: 150%; 
  }
}
  @media (max-width: 768px) {
    .profissionais-grid {
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
  }

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(249, 177, 52, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(249, 177, 52, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(249, 177, 52, 0);
  }
}