/* Diretório de profissionais (/profissionais/, 2026-10-20): busca, lista no estilo Doctoralia e perfil com contato.
   Carregado só nas telas do diretório (views/layout.php, $view === 'prof'). Usa as variáveis do site.css. */
.pf-hero { background: linear-gradient(180deg, #F3F8FC 0%, #DCEBF7 100%); border-bottom: 1px solid var(--box-line); }
.pf-hero-row { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: center; padding-top: 22px; padding-bottom: 34px; }
.pf-hero h1 { font: 700 44px/1.1 Arial, sans-serif; letter-spacing: -1.2px; color: var(--brand); margin: 10px 0 10px; }
.pf-hero .guia-kicker { margin: 16px 0 0; }
.pf-hero-art { width: 100%; height: auto; background: #fff; border-radius: 20px; padding: 8px; box-shadow: 0 14px 32px rgba(0,40,80,.12); }
.pf-stats { margin: 14px 0 0; color: #33414D; font-size: 15px; }
.pf-search { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 6px 18px rgba(0,40,80,.08); margin: 18px 0 0; }
.pf-search.big { margin-top: 22px; }
.pf-field { position: relative; display: flex; align-items: center; gap: 8px; padding: 0 14px; border-right: 1px solid var(--line); margin: 0; }
.pf-field input { border: 0; outline: 0; width: 100%; font: 400 16px Arial, sans-serif; padding: 15px 0; background: transparent; color: #17232D; }
.pf-search.big .pf-field input { padding: 18px 0; font-size: 17px; }
.pf-ico { font-size: 17px; opacity: .75; }
.pf-search button { border-radius: 0 9px 9px 0; border: 0; background: var(--btn); color: #fff; font: 700 16px Arial, sans-serif; padding: 0 28px; cursor: pointer; }
.pf-search button:hover { background: var(--brand); }
.pf-search:focus-within { border-color: var(--link); }
.pf-top { background: var(--soft); border-bottom: 1px solid var(--line); padding: 16px 0 20px; }
.pf-top .crumbs { margin-bottom: 0; }
.pf-wrap { padding-top: 26px; padding-bottom: 50px; }
.pf-sec { margin: 0 0 44px; }
.pf-esp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 18px; }
.pf-esp-card { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px; text-decoration: none; color: #17232D; }
.pf-esp-card:hover { border-color: var(--brand); box-shadow: inset 0 -3px 0 var(--brand); }
.pf-esp-card.empty { opacity: .72; }
.pf-esp-ico { grid-row: span 2; font-size: 28px; text-align: center; }
.pf-esp-name { font: 700 15px/1.25 Arial, sans-serif; color: var(--title); }
.pf-esp-n { font-size: 13px; color: var(--muted); }
.pf-city-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pf-city-list a { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; text-decoration: none; font: 700 14px Arial, sans-serif; color: var(--title); }
.pf-city-list a span { color: var(--muted); font-weight: 400; margin-left: 4px; }
.pf-city-list a:hover { border-color: var(--brand); color: var(--brand); }
.pf-uf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 14px; }
.pf-uf-grid a { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 9px 10px; text-decoration: none; color: #17232D; font-size: 13px; }
.pf-uf-grid a strong { color: var(--brand); font-size: 15px; }
.pf-uf-grid a em { font-style: normal; color: var(--muted); }
.pf-uf-grid a.empty { opacity: .6; }
.pf-uf-grid a:hover { border-color: var(--brand); }
.pf-how { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 30px; align-items: start; }
.pf-steps { padding-left: 20px; line-height: 1.6; font-size: 16px; }
.pf-steps li { margin-bottom: 8px; }
.pf-note { font-size: 13px; color: var(--muted); line-height: 1.55; margin: 14px 0 0; }
.pf-cta { background: var(--brand); color: #fff; border-radius: 14px; padding: 24px; }
.pf-cta p { margin: 0 0 12px; line-height: 1.5; }
.pf-cta-k { text-transform: uppercase; letter-spacing: .8px; font: 800 12px Arial, sans-serif; opacity: .85; }
.pf-cta-t { font: 700 24px/1.2 Arial, sans-serif; }
.pf-cta .btn-primary { background: #fff; color: var(--brand) !important; }
.pf-cta.inline { margin-top: 26px; background: #F3F8FC; color: #17232D; border: 1px solid var(--box-line); }
.pf-cta.inline .pf-cta-t { font-size: 19px; color: var(--title); }
.pf-cta.inline .btn-primary { background: var(--btn); color: #fff !important; }
.pf-list-head { margin-bottom: 18px; }
.pf-h1 { font: 700 34px/1.15 Arial, sans-serif; letter-spacing: -.8px; color: var(--title); margin: 0 0 6px; }
.pf-h2 { font: 700 22px/1.2 Arial, sans-serif; color: var(--title); margin: 26px 0 12px; }
.pf-intro { font-size: 17px; line-height: 1.55; color: #33414D; max-width: 760px; }
.pf-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 26px; align-items: start; }
.pf-fbox { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px; margin-bottom: 12px; }
.pf-ftitle { font: 700 12px Arial, sans-serif; letter-spacing: .6px; text-transform: uppercase; color: var(--title); margin: 2px 4px 8px; }
.pf-fbox a { display: flex; justify-content: space-between; gap: 6px; padding: 6px 8px; border-radius: 6px; text-decoration: none; font-size: 14px; color: #17232D; }
.pf-fbox a span { color: var(--muted); }
.pf-fbox a:hover { background: var(--soft); }
.pf-fbox a.on { background: #E6F0F9; color: var(--brand); font-weight: 700; }
.pf-card { display: grid; grid-template-columns: 96px minmax(0, 1fr) 190px; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; margin-bottom: 14px; }
.pf-card:hover { box-shadow: 0 8px 22px rgba(0,40,80,.08); }
.pf-avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; display: block; background: var(--soft); }
.pf-ini { display: flex; align-items: center; justify-content: center; color: #fff; font: 700 30px Arial, sans-serif; }
.pf-name { font: 700 20px/1.2 Arial, sans-serif; margin: 2px 0 4px; }
.pf-name a { color: var(--link); text-decoration: none; }
.pf-name a:hover { text-decoration: underline; }
.pf-esp { margin: 0 0 4px; color: #17232D; font-size: 15px; }
.pf-esp.big { font-size: 17px; }
.pf-reg { margin: 0 0 4px; font-size: 13px; color: var(--muted); }
.pf-place { margin: 6px 0; font-size: 14px; color: #33414D; }
.pf-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.pf-tag { background: #E6F0F9; color: var(--brand); border-radius: 999px; padding: 3px 10px; font: 700 12px Arial, sans-serif; }
.pf-tag.soft { background: var(--soft); color: #33414D; }
.pf-cond { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.pf-card-contact { display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.pf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 8px; padding: 11px 14px; font: 700 15px Arial, sans-serif; text-decoration: none; cursor: pointer; border: 1px solid transparent; text-align: center; }
.pf-btn.wa { background: var(--green); color: #fff; }
.pf-btn.wa:hover { background: #17744B; color: #fff; }
.pf-btn.mail { background: var(--btn); color: #fff; }
.pf-btn.mail:hover { background: var(--brand); color: #fff; }
.pf-btn.ghost { background: #fff; color: var(--link); border-color: var(--line); }
.pf-btn.ghost:hover { border-color: var(--link); }
.pf-btn.block { display: flex; width: 100%; box-sizing: border-box; margin-bottom: 10px; font-size: 16px; padding: 13px 14px; }
.pf-notice, .pf-err { background: #FFF6E5; border: 1px solid #F1D49A; border-radius: 10px; padding: 14px 16px; margin-bottom: 16px; }
.pf-notice a { display: inline-block; margin: 6px 10px 0 0; font-weight: 700; }
.pf-err ul { margin: 6px 0 0; padding-left: 20px; }
.pf-ok { background: #E8F5EE; border: 1px solid #B7DFC8; border-radius: 10px; padding: 18px; }
.pf-empty { background: var(--soft); border-radius: 10px; padding: 18px; color: #33414D; }
.pf-profile { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 26px; align-items: start; margin-bottom: 30px; }
.pf-phead { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 22px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.pf-phead .pf-avatar { width: 128px; height: 128px; }
.pf-phead .pf-ini { font-size: 40px; }
.pf-pname { font: 700 32px/1.15 Arial, sans-serif; letter-spacing: -.6px; color: var(--title); margin: 0 0 6px; }
.pf-tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--line); margin: 18px 0 16px; }
.pf-tabs a { padding: 10px 14px; text-decoration: none; font: 700 14px Arial, sans-serif; color: #33414D; border-bottom: 3px solid transparent; }
.pf-tabs a:hover { color: var(--brand); border-bottom-color: var(--brand); }
.pf-box { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; margin-bottom: 14px; scroll-margin-top: 20px; }
.pf-box h2 { font: 700 20px Arial, sans-serif; color: var(--title); margin: 0 0 10px; }
.pf-box p { line-height: 1.6; margin: 0 0 10px; }
.pf-chips { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.pf-chips li { background: #E6F0F9; color: var(--brand); border-radius: 999px; padding: 6px 12px; font: 700 13px Arial, sans-serif; }
.pf-links { display: flex; gap: 14px; flex-wrap: wrap; }
.pf-links a { font-weight: 700; text-decoration: none; }
.pf-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pf-photos img { width: 100%; height: 180px; object-fit: cover; border-radius: 8px; display: block; }
.pf-pside { position: sticky; top: 16px; }
.pf-contact { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: 12px; padding: 20px; }
.pf-contact-t { font: 700 20px Arial, sans-serif; color: var(--title); margin: 0 0 4px; }
.pf-contact-s { font-size: 14px; color: var(--muted); margin: 0 0 14px; }
.pf-contact-n { font-size: 12px; color: var(--muted); margin: 4px 0 0; }
.pf-side-cta { display: block; margin-top: 12px; background: #F3F8FC; border: 1px solid var(--box-line); border-radius: 10px; padding: 14px; text-decoration: none; font-size: 14px; color: #33414D; }
.pf-reg-wrap { max-width: 860px; }
.pf-form fieldset { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px 6px; margin: 0 0 16px; background: #fff; }
.pf-form legend { font: 700 17px Arial, sans-serif; color: var(--title); padding: 0 6px; }
.pf-form legend small { font-weight: 400; color: var(--muted); font-size: 13px; }
.pf-form label { display: block; font: 700 14px Arial, sans-serif; color: #17232D; margin: 0 0 12px; }
.pf-form input[type=text], .pf-form input[type=email], .pf-form input[type=tel], .pf-form input[type=url], .pf-form select, .pf-form textarea { display: block; width: 100%; margin-top: 5px; padding: 10px 12px; border: 1px solid #B9C5CF; border-radius: 6px; font: 400 15px Arial, sans-serif; background: #fff; box-sizing: border-box; }
.pf-form input[type=file] { display: block; margin-top: 6px; font-weight: 400; }
.pf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pf-flabel { font: 700 14px Arial, sans-serif; margin: 4px 0 6px; }
.pf-flabel small { font-weight: 400; color: var(--muted); }
.pf-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 2px 12px; margin-bottom: 12px; }
.pf-checks label { font-weight: 400; margin: 0; padding: 4px 0; }
.pf-consent { display: flex !important; gap: 8px; align-items: flex-start; font-weight: 400 !important; line-height: 1.5; margin: 6px 0 16px !important; }
.pf-consent input { margin-top: 4px; }
/* Autocompletar */
.pf-ac { position: absolute; left: -1px; right: -1px; top: calc(100% + 4px); z-index: 50; list-style: none; margin: 0; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 28px rgba(0,40,80,.16); max-height: 360px; overflow-y: auto; }
.pf-ac li { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 10px 12px; border-radius: 7px; cursor: pointer; }
.pf-ac li strong { font: 700 15px Arial, sans-serif; color: var(--title); }
.pf-ac li span { font-size: 12px; color: var(--muted); white-space: nowrap; }
.pf-ac li:hover, .pf-ac li.on { background: #E6F0F9; }
@media (max-width: 900px) {
  .pf-hero-row, .pf-how, .pf-grid, .pf-profile { grid-template-columns: 1fr; }
  .pf-hero-art { display: none; }
  .pf-hero h1 { font-size: 32px; }
  .pf-search { grid-template-columns: 1fr; }
  .pf-field { border-right: 0; border-bottom: 1px solid var(--line); }
  .pf-search button { padding: 14px; border-radius: 0 0 9px 9px; }
  .pf-card { grid-template-columns: 64px minmax(0, 1fr); }
  .pf-card .pf-avatar { width: 64px; height: 64px; }
  .pf-card .pf-ini { font-size: 22px; }
  .pf-card-contact { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .pf-card-contact .pf-btn { flex: 1 1 120px; }
  .pf-pside { position: static; }
  .pf-phead { grid-template-columns: 88px minmax(0, 1fr); padding: 16px; gap: 14px; }
  .pf-phead .pf-avatar { width: 88px; height: 88px; }
  .pf-pname { font-size: 24px; }
  .pf-row { grid-template-columns: 1fr; }
  .pf-photos img { height: 110px; }
  .pf-filters { order: 2; }
  .pf-h1 { font-size: 26px; }
}

/* ===== Cartão e botões no estilo React/shadcn (2026-10-20) ===== */
.pf-i { flex: none; display: inline-block; vertical-align: middle; }
.pf-card { grid-template-columns: 88px minmax(0, 1fr) 200px; gap: 20px; align-items: center; padding: 20px 22px; border: 1px solid #E2E8F0; border-radius: 16px; box-shadow: 0 1px 2px rgba(15,23,42,.05); transition: box-shadow .2s, border-color .2s, transform .2s; }
.pf-card:hover { border-color: #CBD5E1; box-shadow: 0 12px 28px -8px rgba(15,40,80,.18), 0 4px 10px -4px rgba(15,40,80,.08); transform: translateY(-1px); }
.pf-card .pf-avatar { width: 88px; height: 88px; box-shadow: 0 0 0 3px #fff, 0 0 0 4px #E2E8F0; }
.pf-card .pf-ini { font-size: 28px; letter-spacing: -.02em; }
.pf-name { font-size: 19px; font-weight: 700; letter-spacing: -.02em; margin: 0 0 2px; }
.pf-name a { color: #0F172A; }
.pf-name a:hover { color: var(--link); text-decoration: none; }
.pf-esp { font-size: 14px; font-weight: 500; color: var(--link); margin: 0 0 8px; }
.pf-facts { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; color: #475569; }
.pf-facts li { display: inline-flex; align-items: center; gap: 6px; }
.pf-facts .pf-i { color: #94A3B8; }
.pf-addr { color: #94A3B8; }
.pf-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.pf-badge { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 6px; border: 1px solid #E2E8F0; background: #F8FAFC; color: #334155; font: 500 12px var(--font, Arial), sans-serif; }
.pf-badge.mod { background: #EFF6FF; border-color: #DBEAFE; color: #1D4ED8; }
.pf-badge .pf-i { opacity: .85; }
.pf-cond { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #64748B; margin: 0; }
.pf-cond .pf-i { color: #E11D48; opacity: .7; }
.pf-card-contact { gap: 8px; }

/* Botões */
.pf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid transparent; font: 600 14px var(--font, Arial), sans-serif; letter-spacing: -.005em; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s, box-shadow .15s, border-color .15s, transform .1s, color .15s; }
.pf-btn:active { transform: translateY(1px); }
.pf-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(10,100,173,.25); }
.pf-btn.wa { background: #16A34A; color: #fff; box-shadow: 0 1px 2px rgba(22,163,74,.25), inset 0 1px 0 rgba(255,255,255,.15); }
.pf-btn.wa:hover { background: #15803D; color: #fff; box-shadow: 0 6px 16px -4px rgba(22,163,74,.45); }
.pf-btn.outline, .pf-btn.mail, .pf-btn.ghost { background: #fff; color: #0F172A; border-color: #E2E8F0; box-shadow: 0 1px 2px rgba(15,23,42,.05); }
.pf-btn.outline:hover, .pf-btn.mail:hover, .pf-btn.ghost:hover { background: #F8FAFC; border-color: #CBD5E1; color: #0F172A; }
.pf-btn.link { height: 34px; background: transparent; color: var(--link); padding: 0 6px; }
.pf-btn.link:hover { color: var(--brand); background: #F1F5F9; }
.pf-btn.link .pf-i { transition: transform .15s; }
.pf-btn.link:hover .pf-i { transform: translateX(3px); }
.pf-btn.block { display: flex; width: 100%; height: 46px; font-size: 15px; margin-bottom: 10px; }
.pf-contact { border-radius: 16px; border-top: 1px solid #E2E8F0; box-shadow: 0 1px 3px rgba(15,23,42,.08); padding: 22px; }
.pf-contact-t { font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
@media (max-width: 900px) {
  .pf-card { grid-template-columns: 64px minmax(0, 1fr); align-items: start; padding: 16px; gap: 14px; }
  .pf-card .pf-avatar { width: 64px; height: 64px; }
  .pf-card .pf-ini { font-size: 22px; }
  .pf-card .pf-avatar { width: 64px !important; height: 64px !important; }
  .pf-card-contact { grid-column: 1 / -1; display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .pf-card-contact .pf-btn { flex: 1 1 130px; }
  .pf-card-contact .pf-btn.link { flex-basis: 100%; }
  .pf-card:hover { transform: none; }
}
