@font-face { font-family: 'Instagram Contact'; src: url('vendor/contact-brands/instagram-sans-regular.woff2') format('woff2'); font-style: normal; font-weight: 400; font-display: swap; }
/* Terceira tela da proposta. directory-profile.css contém os estados e modais. */
body.profile-detail-page .profile-page { width: var(--content-width); margin: 0 auto; overflow: hidden; border-radius: 24px; background: #fff; box-shadow: 0 10px 36px #123b6010; }
body.profile-detail-page #profileContent { display: flex; flex-direction: column; gap: 0; padding-bottom: 28px; }
body.profile-detail-page .profile-hero { display: block; min-height: 0; padding: 0; overflow: visible; border-radius: 0; background: #fff; box-shadow: none; }
body.profile-detail-page .profile-banner { position: relative; display: block; height: 300px; overflow: hidden; background: #0756bb linear-gradient(135deg, #0756bb, #0e83cb); }
body.profile-detail-page .profile-banner-image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
body.profile-detail-page .profile-banner.is-clickable { cursor: zoom-in; }
body.profile-detail-page .profile-banner.is-clickable:focus-visible { outline-offset: -6px; }
body.profile-detail-page .profile-banner::after { display: none; }
.profile-intro { position: relative; z-index: 1; display: grid; width: 100%; grid-template-columns: 156px minmax(0, 1fr); justify-items: start; align-items: start; gap: 20px; margin: -66px 0 0; padding: 0 28px; }
body.profile-detail-page .profile-cover { position: relative; display: grid; width: 156px; min-width: 0; min-height: 0; margin: 0; aspect-ratio: 1; justify-self: start; place-items: center; overflow: hidden; border: 6px solid #fff; border-radius: 50%; background: #fff; box-shadow: 0 4px 16px #123b6020; font: 800 54px/1 Manrope,sans-serif; }
body.profile-detail-page .profile-cover img { display: block; width: 100%; height: 100%; object-fit: contain; }
body.profile-detail-page .profile-identity { display: flex; min-width: 0; width: 100%; flex-direction: column; align-self: start; align-items: flex-start; gap: 8px; padding: 78px 0 0; text-align: left; }
body.profile-detail-page .profile-kind { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
body.profile-detail-page .profile-kind, body.profile-detail-page .profile-identity h1, body.profile-detail-page .profile-tags { transform: none; }
body.profile-detail-page .profile-identity h1 { margin: 0; overflow-wrap: anywhere; color: var(--ink); font: 800 clamp(28px, 3.6vw, 42px)/1.12 Manrope, sans-serif; letter-spacing: -1.2px; }
body.profile-detail-page .profile-tags { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 6px; }
body.profile-detail-page .profile-tags .directory-tag { display: inline-flex; align-items: center; min-height: 25px; padding: 5px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; line-height: 1.1; }
body.profile-detail-page .profile-section { margin: 0; padding: 26px 28px 0; border-radius: 0; background: #fff; box-shadow: none; }
body.profile-detail-page .profile-section h2 { margin: 0 0 14px; color: var(--ink); font: 800 23px/1.2 Manrope, sans-serif; letter-spacing: -.7px; }
body.profile-detail-page .profile-introduction { padding-top: 16px; }
body.profile-detail-page .profile-introduction p { max-width: 760px; margin: 0 auto; text-align: center; color: #182750; font-size: 16px; line-height: 1.5; white-space: pre-line; }
body.profile-detail-page .profile-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: calc(100% - 56px); max-width: 680px; align-self: center; justify-self: auto; gap: 10px; margin: 0 auto; padding: 18px 0 0; transform: none; }
body.profile-detail-page .profile-action { display: inline-flex; align-items: center; justify-content: center; min-width: 0; width: 100%; min-height: 52px; padding: 12px; border: 0; border-radius: 14px; background: #e3f0ff; color: #0054dc; box-shadow: none; font: 700 15px/1.2 'DM Sans',sans-serif; text-align: center; cursor: pointer; }
body.profile-detail-page .profile-action--whatsapp { background: #25d366; color: #fff; box-shadow: inset 0 0 0 1px #128c7e; }
body.profile-detail-page .profile-action--whatsapp:first-child:nth-last-child(3) { grid-column: 1 / -1; }
body.profile-detail-page .profile-whatsapp-wordmark { display: block; width: 116px; max-width: 100%; height: 27px; object-fit: contain; }
body.profile-detail-page .profile-action--instagram { background: radial-gradient(circle at 0 100%, #feda75 0, #fa7e1e 13%, transparent 44%), linear-gradient(115deg, #d62976, #962fbf 60%, #4f5bd5); color: #fff; font-family: 'Instagram Contact', Arial, sans-serif; font-size: 16px; font-weight: 400; }
body.profile-detail-page .profile-instagram-icon { filter: brightness(0) invert(1); }
body.profile-detail-page .profile-action--location { background: #e3f0ff; color: #0054dc; }
body.profile-detail-page .profile-action:only-child { grid-column: 1 / -1; }
body.profile-detail-page .profile-action:hover { transform: none; filter: brightness(.96); }
body.profile-detail-page :is(.profile-instagram-icon, .profile-location-icon) { width: 22px; height: 22px; flex: 0 0 22px; margin-right: 8px; }
.profile-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
body.profile-detail-page .profile-section-heading h2 { display: flex; align-items: center; gap: 8px; margin: 0; }
.profile-gallery-toggle { flex: 0 0 auto; min-height: 44px; padding: 6px 0; border: 0; background: transparent; color: #0054dc; font: 500 14px 'DM Sans', sans-serif; cursor: pointer; }
body.profile-detail-page #profileGallery.is-professional-gallery .profile-gallery-thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; padding: 0; overflow: visible; }
body.profile-detail-page #profileGallery.is-professional-gallery .profile-gallery-thumb { width: 100%; aspect-ratio: 1; border: 0; border-radius: 12px; box-shadow: none; }
body.profile-detail-page .profile-gallery-thumb { display: block; min-width: 0; padding: 0; overflow: hidden; background: #edf5ff; cursor: zoom-in; }
body.profile-detail-page .profile-gallery-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
body.profile-detail-page #profileGallery.is-professional-gallery .profile-gallery-thumb:hover { transform: none; box-shadow: 0 0 0 2px #a4c9f8; }
body.profile-detail-page #profileServices { color: var(--ink); background: #fff; }
body.profile-detail-page #profileServices h2 { color: var(--ink); }
body.profile-detail-page .profile-service-list, body.profile-detail-page .profile-orientation-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
body.profile-detail-page .profile-service-list li, body.profile-detail-page .profile-orientation-list li { position: relative; padding: 13px 14px 13px 34px; border-radius: 12px; background: #f0f6ff; color: #24385a; font-size: 14px; }
body.profile-detail-page .profile-service-list li::before, body.profile-detail-page .profile-orientation-list li::before { content: '✓'; position: absolute; left: 12px; color: #0054dc; font-weight: 800; }
body.profile-detail-page .profile-offerings { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 12px; }
body.profile-detail-page .profile-offering { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 6px 12px; padding: 16px; border: 1px solid #e1eaf6; border-radius: 14px; }
body.profile-detail-page .profile-offering strong { overflow-wrap: anywhere; }
body.profile-detail-page .profile-offering em { color: #0054dc; font-style: normal; font-weight: 800; }
body.profile-detail-page .profile-offering p { grid-column: 1 / -1; margin: 0; color: #53647b; font-size: 13px; line-height: 1.45; }
.profile-info-list { display: grid; gap: 10px; margin: 0; }
.profile-info-row { display: grid; grid-template-columns: minmax(110px, 25%) minmax(0, 1fr); gap: 14px; padding: 14px 16px; border-radius: 12px; background: #f3f8ff; }
.profile-info-row dt { color: #53647b; font-size: 13px; font-weight: 700; }
.profile-info-row dd { min-width: 0; margin: 0; color: var(--ink); font-size: 14px; line-height: 1.45; white-space: pre-line; overflow-wrap: anywhere; }
.profile-info-row a { color: #0054dc; text-decoration: underline; text-underline-offset: 3px; }
.profile-share-status, .profile-share-manual { margin: 14px 20px; padding: 14px; border-radius: 12px; background: #edf5ff; color: #142653; font-size: 14px; }
.profile-share-manual { display: grid; gap: 10px; }
.profile-share-manual input { min-width: 0; width: 100%; min-height: 44px; padding: 10px; border: 1px solid #b9d2f2; border-radius: 9px; background: #fff; color: var(--ink); font-size: 16px; }
.profile-share-manual button { justify-self: start; min-height: 40px; padding: 8px 14px; border: 0; border-radius: 9px; background: #0054dc; color: #fff; font-weight: 700; cursor: pointer; }
.profile-detail-page #profileShare:disabled { opacity: .35; cursor: default; }
body.profile-detail-page .profile-share-button { position: absolute; top: 14px; right: 68px; z-index: 2; display: grid; width: 46px; height: 46px; place-items: center; margin: 0; padding: 0; border: 1px solid #e1eaf6; border-radius: 50%; background: #fffffff5; color: #142653; box-shadow: 0 3px 12px #123b6025; cursor: pointer; }
body.profile-detail-page .profile-share-button:hover { background: #edf5ff; }
body.profile-detail-page .profile-lightbox { z-index: 1300; grid-template-rows: minmax(0, 1fr) auto; gap: 12px; padding: 70px 62px 22px; background: #071126f2; }
body.profile-detail-page .profile-lightbox img { max-width: 100%; max-height: calc(100dvh - 130px); }
.profile-lightbox-previous, .profile-lightbox-next { position: absolute; top: 50%; display: grid; width: 44px; height: 44px; place-items: center; padding: 0 0 3px; border: 1px solid #ffffff50; border-radius: 50%; background: #ffffff20; color: #fff; font: 300 38px/1 Arial, sans-serif; cursor: pointer; transform: translateY(-50%); }
.profile-lightbox-previous { left: 8px; }
.profile-lightbox-next { right: 8px; }
.profile-lightbox-counter { margin: 0; color: #fff; font-size: 14px; text-align: center; }
body.profile-detail-page .profile-map-modal { isolation: isolate; z-index: 1200; }
body.profile-detail-page .profile-modal-map { position: relative; isolation: isolate; z-index: 0; }
body.profile-detail-page .profile-map-header { z-index: 1; background: #0756bb; }
@media (max-width: 900px) { body.profile-detail-page #profileGallery.is-professional-gallery .profile-gallery-thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  body.profile-detail-page .profile-page { width: 100%; margin: 0; border-radius: 0; box-shadow: none; }
  body.profile-detail-page.has-side-ads .profile-page { width: var(--content-width); margin-inline: auto; }
  body.profile-detail-page .profile-banner { height: 200px; }
  body.profile-detail-page .profile-share-button { top: 12px; right: 66px; }
  .profile-intro { grid-template-columns: 116px minmax(0, 1fr); gap: 12px; margin-top: -54px; padding: 0 16px; }
  body.profile-detail-page .profile-cover { width: 116px; border-width: 5px; font-size: 40px; }
  body.profile-detail-page .profile-identity { gap: 7px; padding: 64px 0 0; }
  body.profile-detail-page .profile-identity h1 { font-size: clamp(24px, 6.5vw, 30px); letter-spacing: -.8px; }
  body.profile-detail-page .profile-tags .directory-tag { min-height: 23px; padding: 4px 10px; font-size: 11px; }
  body.profile-detail-page .profile-section { padding: 22px 16px 0; }
  body.profile-detail-page .profile-introduction { padding-top: 14px; }
  body.profile-detail-page .profile-introduction p { font-size: 14px; line-height: 1.45; }
  body.profile-detail-page .profile-actions { width: calc(100% - 32px); gap: 8px; padding: 16px 0 0; }
  body.profile-detail-page .profile-action { min-height: 48px; padding: 10px 8px; font-size: 14px; }
  body.profile-detail-page .profile-action--instagram { font-size: 15px; }
  body.profile-detail-page .profile-whatsapp-wordmark { width: 108px; height: 25px; }
  body.profile-detail-page :is(.profile-instagram-icon, .profile-location-icon) { width: 20px; height: 20px; flex-basis: 20px; margin-right: 6px; }
  body.profile-detail-page .profile-section h2 { font-size: 21px; }
  .profile-gallery-toggle { font-size: 13px; }
  body.profile-detail-page #profileGallery.is-professional-gallery .profile-gallery-thumbs { gap: 7px; }
  body.profile-detail-page #profileGallery.is-professional-gallery .profile-gallery-thumb { border-radius: 10px; }
  .profile-info-row { grid-template-columns: minmax(0, 1fr); gap: 5px; padding: 12px; }
  body.profile-detail-page .profile-lightbox { padding-inline: 14px; }
  .profile-lightbox-previous, .profile-lightbox-next { top: auto; bottom: 18px; transform: none; }
  .profile-lightbox-counter { min-height: 44px; display: grid; place-items: center; }
}
/* Sem capa disponível, a identidade fica compacta e centralizada em qualquer tela. */
body.profile-detail-page .profile-hero--without-cover .profile-banner { display: none; }
body.profile-detail-page .profile-hero--without-cover .profile-share-button { right: auto; left: clamp(12px, 2vw, 14px); }
body.profile-detail-page .profile-hero--without-cover .profile-intro { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 0; padding: 24px 20px 0; }
body.profile-detail-page .profile-hero--without-cover .profile-cover { justify-self: center; }
body.profile-detail-page .profile-hero--without-cover .profile-identity { width: min(100%, 760px); align-self: center; align-items: center; padding: 0; text-align: center; }
body.profile-detail-page .profile-hero--without-cover .profile-tags { order: -1; justify-content: center; }
@media (prefers-reduced-motion: reduce) { body.profile-detail-page .profile-action { transition: none; } }
