.doctor-page {
  color: #0b2951;
  font-family: "Manrope", sans-serif;
}

.doctor-page .container { max-width: 1180px; }

.doctor-hero {
  position: relative;
  overflow: hidden;
  padding: 25px 0 88px;
  background:
    radial-gradient(circle at 83% 22%, rgba(154, 101, 225, .2), transparent 29%),
    radial-gradient(circle at 8% 95%, rgba(183, 145, 238, .2), transparent 25%),
    linear-gradient(135deg, #fbf9ff, #eee5ff);
}

.doctor-breadcrumb {
  margin-bottom: 49px;
  font-size: 12px;
  font-weight: 700;
}

.doctor-breadcrumb a { color: #7650c9; text-decoration: none; }
.doctor-breadcrumb .active { color: #64748b; }

.doctor-kicker,
.results-heading span,
.search-panel-heading > div > span {
  display: block;
  margin-bottom: 10px;
  color: #8253d0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.doctor-hero h1 {
  max-width: 700px;
  margin-bottom: 20px;
  font-size: clamp(43px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -.055em;
}

.doctor-hero p {
  max-width: 675px;
  margin-bottom: 27px;
  color: #52647a;
  font-size: 16px;
  line-height: 1.75;
}

.doctor-trust-list { display: flex; flex-wrap: wrap; gap: 22px; }
.doctor-trust-list span { display: inline-flex; align-items: center; gap: 8px; color: #344c69; font-size: 12px; font-weight: 800; }
.doctor-trust-list i { color: #8452cf; font-size: 16px; }

.doctor-hero-visual {
  position: relative;
  width: min(100%, 410px);
  aspect-ratio: 1;
  margin-left: auto;
}

.location-ring {
  position: absolute;
  inset: 9%;
  border: 1px dashed rgba(116, 69, 189, .32);
  border-radius: 50%;
}

.ring-two { inset: 24%; border-style: solid; border-color: rgba(116, 69, 189, .15); }
.location-dot { position: absolute; width: 13px; height: 13px; background: #925eda; border: 4px solid #efe5ff; border-radius: 50%; box-shadow: 0 0 0 4px rgba(146,94,218,.13); }
.dot-one { top: 11%; left: 49%; }
.dot-two { top: 49%; right: 7%; }
.dot-three { bottom: 11%; left: 19%; }

.doctor-visual-card {
  position: absolute;
  inset: 27%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(112, 64, 185, .13);
  border-radius: 50%;
  box-shadow: 0 22px 55px rgba(75, 40, 130, .17);
}

.doctor-visual-card > span {
  display: inline-flex;
  width: 57px;
  height: 57px;
  margin-bottom: 12px;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  background: linear-gradient(135deg, #a274e8, #7042bf);
  border-radius: 18px;
}

.doctor-visual-card strong,
.doctor-visual-card small { display: block; }
.doctor-visual-card strong { font-size: 14px; }
.doctor-visual-card small { max-width: 130px; margin-top: 4px; color: #758092; font-size: 11px; line-height: 1.4; }

.doctor-location-card {
  position: absolute;
  right: 0;
  bottom: 5%;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 17px;
  color: #fff;
  background: #0b2b56;
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(11,43,86,.2);
}

.doctor-location-card > i { color: #caa8ff; font-size: 21px; }
.doctor-location-card strong,
.doctor-location-card small { display: block; }
.doctor-location-card strong { font-size: 12px; }
.doctor-location-card small { margin-top: 2px; color: rgba(255,255,255,.72); font-size: 11px; }

.doctor-search-section { position: relative; z-index: 2; padding: 52px 0 78px; background: #fff; }

.doctor-search-panel {
  margin-top: 0;
  margin-bottom: 67px;
  padding: 31px 33px 33px;
  background: #fff;
  border: 1px solid #e6e3ec;
  border-radius: 22px;
  box-shadow: 0 20px 55px rgba(25, 41, 76, .12);
}

.search-panel-heading { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; }
.search-heading-icon { display: inline-flex; flex: 0 0 53px; width: 53px; height: 53px; align-items: center; justify-content: center; color: #fff; font-size: 21px; background: linear-gradient(135deg,#9c6be1,#7042bd); border-radius: 16px; }
.search-panel-heading > div > span { margin-bottom: 3px; font-size: 11px; }
.search-panel-heading h2 { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.03em; }

.doctor-search-panel label { margin-bottom: 8px; color: #203a60; font-size: 12px; font-weight: 800; }
.field-with-icon { position: relative; }
.field-with-icon > i { position: absolute; top: 50%; left: 15px; z-index: 2; color: #8959d1; font-size: 16px; transform: translateY(-50%); pointer-events: none; }
.doctor-search-panel .form-control,
.doctor-search-panel .form-select { min-height: 52px; padding: 12px 15px 12px 43px; color: #183453; font-size: 13px; background-color: #fafafd; border: 1px solid #dfe2e8; border-radius: 12px; }
.doctor-search-panel .form-control:focus,
.doctor-search-panel .form-select:focus { background: #fff; border-color: #9565dc; box-shadow: 0 0 0 .2rem rgba(134,87,215,.12); }
.doctor-search-panel .form-select:disabled { color: #8b94a2; background-color: #f4f4f7; }
.doctor-search-button { display: inline-flex; width: 100%; min-height: 52px; align-items: center; justify-content: center; gap: 10px; color: #fff; font-size: 13px; font-weight: 800; background: linear-gradient(135deg,#9563dc,#7040bd); border: 0; border-radius: 12px; box-shadow: 0 10px 22px rgba(112,64,189,.23); }
.doctor-search-button:hover { color: #fff; background: linear-gradient(135deg,#8553cd,#5f30a9); }

.results-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 17px; }
.results-heading span { margin-bottom: 6px; }
.results-heading h2 { margin: 0; font-size: clamp(29px,3.4vw,39px); font-weight: 800; letter-spacing: -.04em; }
.results-heading > p { margin: 0 0 5px; color: #7650c9; font-size: 12px; font-weight: 800; }
.demo-notice { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 27px; padding: 12px 15px; color: #5b536a; font-size: 12px; line-height: 1.55; background: #f6f1ff; border: 1px solid #e6d9f8; border-radius: 11px; }
.demo-notice i { flex-shrink: 0; color: #8354cf; font-size: 15px; }

.doctor-result-card {
  height: 100%;
  padding: 24px;
  background: #fff;
  border: 1px solid #e5e3ea;
  border-radius: 19px;
  box-shadow: 0 12px 35px rgba(20,39,73,.07);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.doctor-result-card:hover { transform: translateY(-5px); border-color: rgba(132,82,207,.35); box-shadow: 0 18px 39px rgba(58,35,95,.13); }
.doctor-card-top { display: flex; align-items: center; gap: 14px; margin-bottom: 19px; }
.doctor-avatar { position: relative; display: inline-flex; flex: 0 0 62px; width: 62px; height: 62px; align-items: center; justify-content: center; color: #8051cc; font-size: 24px; background: linear-gradient(145deg,#f3ecff,#e5d5fb); border-radius: 18px; }
.doctor-avatar::after { position: absolute; right: -3px; bottom: -3px; display: inline-flex; width: 22px; height: 22px; align-items: center; justify-content: center; color: #fff; font-family: "bootstrap-icons"; font-size: 11px; content: "\f26a"; background: #7d4fc8; border: 3px solid #fff; border-radius: 50%; }
.doctor-card-title small { display: block; margin-bottom: 4px; color: #8454cf; font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.doctor-card-title h3 { margin: 0; font-size: 16px; font-weight: 800; line-height: 1.35; }
.doctor-card-details { display: grid; gap: 11px; margin-bottom: 20px; padding: 16px 0; border-top: 1px solid #eceaf0; border-bottom: 1px solid #eceaf0; }
.doctor-card-details div { display: flex; gap: 9px; color: #667386; font-size: 12px; line-height: 1.45; }
.doctor-card-details i { color: #8958d1; }
.doctor-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.doctor-card-footer > span { color: #6f7887; font-size: 11px; }
.doctor-profile-button { display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px; color: #7546bf; font-size: 12px; font-weight: 800; background: #f4edff; border: 0; border-radius: 9px; }
.doctor-profile-button:hover { color: #fff; background: #7d4fc8; }

.doctor-empty { padding: 65px 20px; text-align: center; background: #faf9fc; border: 1px dashed #d9d3e2; border-radius: 19px; }
.doctor-empty > span { display: inline-flex; width: 64px; height: 64px; margin-bottom: 18px; align-items: center; justify-content: center; color: #8354cf; font-size: 25px; background: #eee4fd; border-radius: 19px; }
.doctor-empty h3 { font-size: 20px; font-weight: 800; }
.doctor-empty p { color: #6b7585; font-size: 13px; }
.doctor-empty .btn { color: #7546bf; font-size: 12px; font-weight: 800; background: #eee4fd; }

.doctor-guidance { padding: 74px 0 82px; background: #f7f7fb; }
.guidance-main { padding: 37px 38px; background: #fff; border: 1px solid #e7e5eb; border-radius: 22px; box-shadow: 0 14px 40px rgba(20,39,73,.06); }
.guidance-main h2 { margin-bottom: 13px; font-size: clamp(29px,3vw,38px); font-weight: 800; letter-spacing: -.04em; }
.guidance-main > p { max-width: 760px; margin-bottom: 27px; color: #637083; font-size: 13px; line-height: 1.75; }
.guidance-points { display: grid; grid-template-columns: repeat(3,1fr); gap: 17px; }
.guidance-points > div { display: flex; gap: 11px; }
.guidance-points > div > span { display: inline-flex; flex: 0 0 39px; width: 39px; height: 39px; align-items: center; justify-content: center; color: #8453d0; background: #f0e7fe; border-radius: 12px; }
.guidance-points strong,
.guidance-points small { display: block; }
.guidance-points strong { margin-bottom: 3px; font-size: 12px; }
.guidance-points small { color: #747d8b; font-size: 11px; line-height: 1.5; }
.guidance-help { padding: 38px 33px; color: #fff; background: radial-gradient(circle at 85% 5%,rgba(255,255,255,.16),transparent 28%),linear-gradient(145deg,#9766df,#6739af); border-radius: 22px; box-shadow: 0 16px 35px rgba(93,48,165,.18); }
.guidance-help > span { display: inline-flex; width: 55px; height: 55px; margin-bottom: 24px; align-items: center; justify-content: center; font-size: 23px; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25); border-radius: 17px; }
.guidance-help h2 { margin-bottom: 11px; font-size: 26px; font-weight: 800; }
.guidance-help p { margin-bottom: 24px; color: rgba(255,255,255,.82); font-size: 12px; line-height: 1.7; }
.guidance-help .btn { display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; color: #6940ac; font-size: 12px; font-weight: 800; background: #fff; border-radius: 10px; }

.doctor-modal .modal-content { border: 0; border-radius: 22px; box-shadow: 0 25px 70px rgba(10,30,61,.22); }
.doctor-modal .btn-close { position: absolute; top: 19px; right: 19px; z-index: 2; }
.doctor-modal .modal-body { padding: 37px; }
.modal-profile-header { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; padding-right: 28px; }
.modal-profile-header .doctor-avatar { flex-basis: 70px; width: 70px; height: 70px; }
.modal-profile-header small { display: block; color: #8152cc; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.modal-profile-header h2 { margin: 4px 0 0; font-size: 23px; font-weight: 800; }
.modal-profile-info { display: grid; gap: 12px; padding: 20px; background: #f8f7fb; border-radius: 14px; }
.modal-profile-info div { display: flex; gap: 10px; color: #526279; font-size: 12px; }
.modal-profile-info i { color: #8453cf; }
.modal-demo-note { margin: 18px 0 0; color: #777f8b; font-size: 11px; line-height: 1.55; }

@media (max-width: 991.98px) {
  .doctor-hero { padding-bottom: 70px; }
  .doctor-breadcrumb { margin-bottom: 35px; }
  .doctor-hero-visual { margin: 0 auto; }
  .guidance-points { grid-template-columns: 1fr; }
}

@media (max-width: 767.98px) {
  .doctor-hero { padding: 21px 0 55px; }
  .doctor-breadcrumb { margin-bottom: 30px; }
  .doctor-hero h1 { font-size: 39px; }
  .doctor-hero p { font-size: 14px; }
  .doctor-trust-list { align-items: flex-start; flex-direction: column; gap: 10px; }
  .doctor-hero-visual { width: min(100%,340px); }
  .doctor-search-section { padding: 38px 0 57px; }
  .doctor-search-panel { margin-top: 0; margin-bottom: 51px; padding: 25px 22px 27px; border-radius: 18px; }
  .search-panel-heading { align-items: flex-start; }
  .search-panel-heading h2 { font-size: 21px; }
  .results-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
  .results-heading h2 { font-size: 30px; }
  .doctor-guidance { padding: 54px 0 62px; }
  .guidance-main { padding: 30px 24px; }
  .guidance-help { padding: 32px 26px; }
  .doctor-modal .modal-body { padding: 31px 23px 25px; }
}

/* Textos secundários com o mesmo piso tipográfico de 12px da home. */
.page-v2 :where(
  .doctor-visual-card small, .doctor-location-card small,
  .search-panel-heading > div > span, .doctor-card-title small,
  .doctor-card-footer > span, .guidance-points small,
  .modal-profile-header small, .modal-demo-note
) { font-size: 12px; }
