/* =========================================================
   SECTION DOCTOR PROFILE
   Substitui o antigo bloco de nÃºmeros por uma apresentaÃ§Ã£o
   institucional com foto, texto e destaques de credibilidade.
   ========================================================= */

.metrics {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(242, 243, 245, 0.92));
}

.doctor-profile .section-header,
.doctor-profile .metrics-grid {
  display: none;
}

.doctor-profile-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.doctor-profile-media {
  position: relative;
  margin: 0;
  width: 100%;
  padding: 16px;
  overflow: visible;
  border-radius: calc(var(--radius-lg) + 6px);
  border: 1px solid rgba(199, 164, 90, 0.16);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(244, 246, 249, 0.94)),
    radial-gradient(circle at top left, rgba(224, 198, 143, 0.18), transparent 52%);
  box-shadow: 0 26px 70px rgba(10, 28, 46, 0.12);
}

.doctor-profile-media::before {
  content: "";
  position: absolute;
  inset: -14px 42px 42px -14px;
  z-index: 0;
  border: 1px solid rgba(199, 164, 90, 0.44);
  border-radius: calc(var(--radius-lg) + 10px);
  pointer-events: none;
}

.doctor-profile-media::after {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 26px;
  z-index: 0;
  border: 6px solid rgba(11, 46, 74, 0.14);
  border-radius: calc(var(--radius-lg) + 4px);
  pointer-events: none;
}

.doctor-profile-media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: calc(var(--radius-md) + 4px);
  border: 2px solid rgba(199, 164, 90, 0.18);
  box-shadow: 0 18px 44px rgba(10, 28, 46, 0.16);
}

.doctor-profile-content {
  max-width: 560px;
}

.doctor-profile-content h2 {
  margin-bottom: 8px;
  color: var(--blue-800);
  font-size: clamp(1.95rem, 2.7vw, 2.85rem);
  font-weight: 600;
  line-height: 1.12;
}

.doctor-profile-register {
  margin-bottom: 28px;
  color: var(--slate-500);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.doctor-profile-content p {
  margin-bottom: 22px;
  font-size: clamp(1.02rem, 1.3vw, 1.14rem);
  line-height: 1.9;
}

.doctor-profile-content p:last-of-type {
  margin-bottom: 0;
}

.doctor-profile-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.doctor-highlight {
  min-height: 170px;
  padding: 28px 24px;
  border: 1px solid rgba(11, 46, 74, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.doctor-highlight strong {
  display: block;
  margin-bottom: 12px;
  color: var(--blue-900);
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 4.4rem);
  line-height: 0.95;
}

.doctor-highlight span {
  color: var(--slate-500);
  font-size: 1.02rem;
  line-height: 1.6;
}

@media (max-width: 1100px) {
  .doctor-profile-grid {
    grid-template-columns: 1fr;
  }

  .doctor-profile-media {
    max-width: 760px;
    margin-inline: auto;
  }

  .doctor-profile-content {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .doctor-profile-media {
    padding: 12px;
    border-radius: var(--radius-lg);
  }

  .doctor-profile-media::before {
    inset: -10px 24px 24px -10px;
  }

  .doctor-profile-media::after {
    inset: 10px -8px -8px 16px;
    border-width: 4px;
  }

  .doctor-profile-content h2 {
    font-size: clamp(1.7rem, 7vw, 2.2rem);
  }

  .doctor-profile-register {
    margin-bottom: 22px;
    font-size: 1rem;
  }

  .doctor-profile-content p {
    font-size: 1rem;
    line-height: 1.8;
  }

  .doctor-profile-highlights {
    grid-template-columns: 1fr;
  }

  .doctor-highlight {
    min-height: auto;
    padding: 24px 22px;
  }
}
