/* Perfil — identidade pessoal no mesmo jardim visual do workspace. */
.perfil-sidebar { border: 0; background: none; color: inherit; text-align: left; font: inherit; cursor: pointer; min-width: 0; }
#sidebar-avatar { overflow: hidden; flex-shrink: 0; }
#sidebar-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pf-page { width: 100%; max-width: 1280px; margin: 0 auto; padding-bottom: 45px; }
.pf-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 4px 0 25px; }
.pf-eyebrow { display: block; font-size: 10px; font-weight: 700; letter-spacing: 1.6px; color: #688069; margin-bottom: 10px; }
.pf-heading h1 { font: 600 clamp(25px,2.6vw,34px)/1.2 'Manrope',sans-serif; letter-spacing: -1.1px; margin: 0; }
.pf-heading p { color: var(--text-muted); font-size: 13px; margin-top: 8px; }
.pf-heading .btn { gap: 22px; flex-shrink: 0; }
.pf-hero { position: relative; min-height: 292px; border-radius: 22px; overflow: hidden; isolation: isolate; background: #204b40; color: #fff; display: flex; flex-direction: column; justify-content: space-between; }
.pf-cover,.pf-landscape,.pf-hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.pf-cover { object-fit: cover; }
.pf-hero-shade { background: linear-gradient(180deg,#10291d25,#0c271e15 30%,#08291de6); }
.pf-landscape { background: radial-gradient(ellipse at 74% 10%,#b7c89940,transparent 58%),linear-gradient(115deg,#173e35,#507461); overflow: hidden; }
.pf-landscape i { position: absolute; width: 560px; height: 560px; border-radius: 50%; border: 1px solid #e1f3d335; right: -15px; top: -315px; box-shadow: 0 0 0 45px #e1f3d306,0 0 0 90px #e1f3d306,0 0 0 135px #e1f3d306; }
.pf-landscape i:nth-child(2) { width: 760px; height: 260px; top: 165px; right: -60px; background: #78937b75; transform: rotate(-15deg); border: 0; box-shadow: none; }
.pf-landscape i:nth-child(3) { width: 830px; height: 320px; top: 195px; right: 200px; background: #254d40; transform: rotate(12deg); border: 0; box-shadow: none; }
.pf-aurora .pf-landscape { background: linear-gradient(115deg,#673d38,#b38c70); }
.pf-aurora .pf-landscape i:nth-child(2) { background: #c5a47780; }
.pf-aurora .pf-landscape i:nth-child(3) { background: #76574c; }
.pf-oceano .pf-landscape { background: linear-gradient(115deg,#173f53,#6a9caa); }
.pf-oceano .pf-landscape i:nth-child(2) { background: #99bbc080; }
.pf-oceano .pf-landscape i:nth-child(3) { background: #345e72; }
.pf-hero-top { padding: 24px 30px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 10px; letter-spacing: 1.7px; color: #fff; }
.pf-tag { border: 1px solid #ffffff40; background: #133c3350; padding: 7px 12px; border-radius: 20px; letter-spacing: .3px; white-space: nowrap; }
.pf-identity { padding: 34px 32px; display: flex; align-items: center; gap: 23px; }
.pf-avatar { width: 96px; height: 96px; flex-shrink: 0; border-radius: 50%; border: 4px solid #ffffffdd; box-shadow: 0 4px 24px #071e2530; background: #e3ecd7; color: #315641; font: 500 39px 'Manrope',sans-serif; display: grid; place-items: center; overflow: hidden; }
.pf-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pf-identity-text { min-width: 0; }
.pf-identity .pf-eyebrow { color: #d2e5ba; font-size: 9px; }
.pf-identity h2 { color: #fff; font: 500 clamp(25px,3vw,38px)/1.2 'Manrope',sans-serif; letter-spacing: -.8px; overflow-wrap: anywhere; margin: 0 0 9px; }
.pf-identity p { font-size: 12px; color: #e0eade; margin: 0; overflow-wrap: anywhere; }
.pf-nav { display: flex; gap: 26px; border-bottom: 1px solid var(--border-color); margin-bottom: 26px; padding: 0 4px; }
.pf-nav button { font: 600 12px var(--font-family); color: var(--text-muted); padding: 20px 0 17px; border: 0; border-bottom: 3px solid transparent; background: none; cursor: pointer; }
.pf-nav button.selected { color: #245347; border-bottom-color: #245347; }
.pf-nav > span { margin-left: auto; align-self: center; font-size: 11px; color: var(--text-muted); }
.pf-layout { display: grid; grid-template-columns: minmax(0,1.85fr) minmax(260px,1fr); gap: 22px; align-items: start; }
.pf-main-col,.pf-side-col { display: grid; gap: 22px; min-width: 0; }
.pf-card { background: #fff; border: 1px solid var(--border-color); border-radius: 17px; padding: 26px; min-width: 0; }
.pf-card h3 { font: 600 19px 'Manrope',sans-serif; letter-spacing: -.45px; margin: 0 0 17px; }
.pf-bio { color: var(--text-secondary); font-size: 13px; line-height: 1.9; margin: 0 0 23px; white-space: pre-wrap; overflow-wrap: anywhere; }
.pf-details { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; margin: 0; }
.pf-detail { min-width: 0; }
.pf-detail dt { color: var(--text-muted); font-size: 11px; margin-bottom: 7px; }
.pf-detail dd { color: var(--text-primary); font-size: 13px; font-weight: 500; margin: 0; overflow-wrap: anywhere; }
.pf-single { grid-template-columns: 1fr; }
.pf-purpose { background: #e7eddc; border-color: #d9e3cc; }
.pf-purpose p { font-size: 13px; color: #53684d; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; margin: 0 0 20px; }
.pf-star { font-size: 65px; line-height: 1; color: #6b8b53; margin: 16px 0 20px; }
.pf-text-button { font: 600 12px var(--font-family); border: 0; background: transparent; color: #245347; padding: 12px 0 0; cursor: pointer; text-align: left; }
.pf-hint { font-size: 11px; color: var(--text-muted); line-height: 1.7; margin: 14px 0; }
.pf-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pf-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 17px; min-width: 0; }
.pf-field label { color: #405e4e; font-size: 12px; font-weight: 600; }
.pf-field input,.pf-field textarea,.pf-field select { width: 100%; border: 1px solid #dbe4d6; border-radius: 9px; background: #fafbf8; color: #203e35; font: 13px var(--font-family); padding: 12px; min-height: 44px; box-sizing: border-box; }
.pf-field textarea { resize: vertical; line-height: 1.7; }
.pf-field input[readonly] { color: #667860; background: #edf1e8; }
.pf-field small { font-size: 10px; color: var(--text-muted); line-height: 1.6; }
.pf-field :is(input,select,textarea):focus { outline: 2px solid #7d9d70; outline-offset: 2px; }
.pf-page button:focus-visible,.perfil-sidebar:focus-visible { outline: 3px solid #8ab773; outline-offset: 3px; }
.pf-page fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.pf-page fieldset:disabled { opacity: .65; }
.pf-media-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 21px 0 10px; }
.pf-media-actions strong { display: block; font-size: 12px; margin-bottom: 10px; }
.pf-media-actions > div > div { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.pf-media-actions .pf-text-button { padding: 0; color: #8b5656; }
.pf-file-label { position: relative; overflow: hidden; cursor: pointer; }
.pf-file-label input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.pf-file-label:focus-within { outline: 3px solid #8ab773; outline-offset: 3px; }
.pf-savebar { position: sticky; bottom: 16px; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 16px; background: #fff; box-shadow: 0 6px 30px #254d4015; border: 1px solid #dbe4d6; border-radius: 13px; padding: 16px 20px; margin-top: 23px; }
.pf-savebar > span { color: var(--text-muted); font-size: 12px; }
.pf-savebar > div { display: flex; gap: 10px; }
.pf-error { color: #a33f4a; font-size: 13px; margin: 12px 0; }
.pf-security { margin-top: 25px; }
.pf-security .pf-form-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
#pf-password-status { margin-top: 12px; font-size: 13px; }
.pf-status { padding: 80px 20px; text-align: center; color: var(--text-muted); }
.pf-status .btn { margin: 20px auto; }
@media(max-width:1100px) {
  .pf-layout { grid-template-columns: minmax(0,1.5fr) minmax(230px,1fr); gap: 16px; }
  .pf-card { padding: 21px; }
}
@media(max-width:760px) {
  .pf-layout { grid-template-columns: 1fr; }
  .pf-heading { align-items: flex-start; }
  .pf-heading p { line-height: 1.6; }
  .pf-hero { min-height: 290px; }
  .pf-hero-top { padding: 21px; font-size: 8px; }
  .pf-identity { padding: 26px 22px; gap: 16px; }
  .pf-avatar { width: 72px; height: 72px; font-size: 29px; }
  .pf-identity .pf-eyebrow { letter-spacing: 1px; line-height: 1.6; }
  .pf-identity p { line-height: 1.7; }
  .pf-identity p span { display: block; }
  .pf-nav > span { display: none; }
  .pf-security .pf-form-grid { grid-template-columns: 1fr; }
}
@media(max-width:460px) {
  .pf-heading { flex-wrap: wrap; }
  .pf-form-grid,.pf-media-actions { grid-template-columns: 1fr; }
  .pf-details { gap: 20px 15px; }
  .pf-hero-top { flex-wrap: wrap; }
  .pf-identity { align-items: flex-start; }
  .pf-identity h2 { font-size: 25px; }
  .pf-savebar { flex-direction: column; align-items: stretch; bottom: 8px; }
  .pf-savebar > div { justify-content: flex-end; }
}
