/* Perfil público inspirado na referência visual aprovada. Escopo isolado. */
.public-profile-page{background:#f2efe9;color:#20201f}
.public-profile-page .profile-topbar{position:relative;z-index:20;min-height:82px;padding:10px max(20px,calc((100vw - 1120px)/2));border-bottom:1px solid #25231f14;background:#fbfaf7}
.public-profile-page .profile-topbar .brand-header{width:178px}
.public-profile-page .profile-topbar nav{gap:10px}
.public-profile-page .profile-topbar nav>a:not(.btn){padding:10px 12px;border-radius:999px;color:#393835}
.public-profile-page .profile-main{width:100%;min-width:0}
.public-profile-reference{width:min(1120px,100%);margin:0 auto 70px;background:#fbfaf7;box-shadow:0 24px 80px #382f2014}
.profile-ref-hero{position:relative;background:#fbfaf7}
.profile-ref-cover{height:clamp(270px,42vw,500px);overflow:hidden;background:linear-gradient(135deg,#6e7467,#ada78f 55%,#5e6358)}
.profile-ref-cover.is-empty:after{content:"";display:block;width:100%;height:100%;background:linear-gradient(120deg,#6d7468,#9b967f 48%,#4c5149)}
.profile-ref-cover img{display:block;width:100%;height:100%;object-fit:cover}
.profile-ref-identity{position:relative;display:grid;grid-template-columns:150px minmax(0,1fr) auto;gap:24px;margin-top:-36px;padding:0 clamp(24px,5vw,62px) 28px}
.profile-ref-avatar{display:grid;width:144px;height:144px;place-items:center;overflow:hidden;border:7px solid #fbfaf7;border-radius:50%;background:#687064;color:#fff;box-shadow:0 13px 32px #2f2c2526;font-size:34px;font-weight:800}
.profile-ref-avatar img{width:100%;height:100%;object-fit:cover}
.profile-ref-avatar.is-logo{padding:17px;background:#fff}
.profile-ref-avatar.is-logo img{object-fit:contain}
.profile-ref-intro{align-self:end;padding-top:48px}
.profile-ref-kind,.profile-ref-eyebrow{margin:0 0 7px;color:#8a6e2d;font-size:10px;font-weight:850;letter-spacing:.14em;text-transform:uppercase}
.profile-ref-intro h1{max-width:720px;margin:0;font-size:clamp(34px,5vw,58px);line-height:1;letter-spacing:-.048em}
.profile-ref-lead{max-width:720px;margin:10px 0;color:#5e5b55;font-size:clamp(15px,2vw,19px);line-height:1.45}
.profile-ref-meta{display:flex;flex-wrap:wrap;gap:8px 15px;margin-top:12px;color:#5a5853;font-size:12px}
.profile-ref-meta span{display:inline-flex;align-items:center;gap:6px}
.profile-ref-meta b{color:#536052;font-size:9px}
.profile-ref-tags{display:flex;flex-wrap:wrap;gap:7px;margin:17px 0 0;padding:0;list-style:none}
.profile-ref-tags li{padding:8px 12px;border:1px solid #2f2c2510;border-radius:9px;background:#f0eeea;color:#373633;font-size:12px}
.profile-ref-logo{align-self:start;width:110px;height:70px;margin-top:52px;padding:10px;border:1px solid #26231e17;border-radius:14px;background:#fff}
.profile-ref-logo img{width:100%;height:100%;object-fit:contain}
.profile-ref-actions{grid-column:2/4;display:flex;align-items:center;gap:18px;margin-top:2px}
.profile-ref-primary{display:flex;min-height:54px;flex:1;align-items:center;justify-content:center;gap:10px;padding:13px 22px;border-radius:10px;background:linear-gradient(100deg,#ad9460,#8c712f);color:#fff;font-size:16px;font-weight:750;box-shadow:0 10px 24px #8f71352e}
.profile-ref-primary:hover{filter:brightness(1.04)}
.profile-ref-primary:focus-visible,.profile-ref-channels a:focus-visible,.profile-ref-tabs a:focus-visible{outline:3px solid #d3ad58;outline-offset:3px}
.profile-ref-channels{display:flex;flex-wrap:wrap;gap:8px}
.profile-ref-channels a{display:grid;width:44px;height:44px;place-items:center;border:1px solid #25231f1b;border-radius:50%;background:#fff;font-size:12px;font-weight:850}
.profile-ref-tabs{display:flex;gap:0;overflow-x:auto;padding:0 clamp(24px,5vw,62px);border-top:1px solid #24211d0d;border-bottom:1px solid #24211d17;background:#fbfaf7;scrollbar-width:thin}
.profile-ref-tabs a{position:relative;min-width:max-content;padding:18px 24px;color:#605d57;font-size:14px}
.profile-ref-tabs a:first-child{padding-left:12px;color:#1f1f1e;font-weight:750}
.profile-ref-tabs a:first-child:after{content:"";position:absolute;right:13px;bottom:-1px;left:12px;height:2px;background:#20201f}
.profile-ref-section{padding:clamp(42px,7vw,82px) clamp(24px,6vw,72px);scroll-margin-top:20px}
.profile-ref-section+.profile-ref-section{border-top:1px solid #24211d12}
.profile-ref-section h2{margin:0 0 20px;font-size:clamp(31px,4.5vw,52px);line-height:1.04;letter-spacing:-.045em}
.profile-ref-about{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.85fr);gap:clamp(30px,6vw,72px);align-items:start}
.profile-ref-about p:not(.profile-ref-eyebrow){color:#56534e;font-size:16px;line-height:1.72}
.profile-ref-about figure{margin:0}
.profile-ref-about figure img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:14px}
.profile-ref-about figcaption{padding-top:9px;color:#77736c;font-size:11px}
.profile-ref-section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:24px}
.profile-ref-section-heading h2{margin:0}
.profile-ref-section-heading>a{padding-bottom:4px;border-bottom:1px solid #9b7f40;color:#745c26;font-size:12px;font-weight:750}
.profile-ref-project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.profile-ref-project-grid article{overflow:hidden;border-radius:14px;background:#fff;box-shadow:0 12px 35px #342d2212}
.profile-ref-project-grid a{display:block;height:100%}
.profile-ref-project-grid img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}
.profile-ref-project-grid article div{padding:17px}
.profile-ref-project-grid small,.profile-ref-project-grid span{display:block;color:#817b71;font-size:10px;text-transform:uppercase;letter-spacing:.08em}
.profile-ref-project-grid h3{margin:7px 0 10px;font-size:20px;line-height:1.15;letter-spacing:-.025em}
.profile-ref-services>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.profile-ref-services article{position:relative;min-height:190px;padding:24px;border:1px solid #29251e12;border-radius:15px;background:#f2f0eb}
.profile-ref-services article>span{position:absolute;top:20px;right:20px;color:#987d3d}
.profile-ref-services h3{max-width:85%;margin:28px 0 10px;font-size:22px;letter-spacing:-.03em}
.profile-ref-services p{margin:0;color:#68645d;font-size:13px;line-height:1.6}
.profile-ref-location{display:grid;grid-template-columns:minmax(220px,.7fr) minmax(0,1.3fr);gap:40px;background:#edeae3}
.profile-ref-location strong{display:block;font-size:clamp(23px,3vw,34px);letter-spacing:-.03em}
.profile-ref-location p{margin:9px 0;color:#57544e;line-height:1.6}
.profile-ref-location small{display:inline-block;margin-top:10px;padding:7px 10px;border-radius:7px;background:#fff;color:#62542f}
.public-profile-reference .contact-request{background:#fbfaf7}
.public-profile-reference .contact-request>.eyebrow{color:#8a6e2d}
.public-profile-reference .contact-request .profile-form{border-color:#29251e14;box-shadow:none}
.public-profile-reference+.public-ad{width:min(1010px,calc(100% - 32px));margin:28px auto}
@media(max-width:820px){
  .public-profile-reference{box-shadow:none}
  .profile-ref-cover{height:clamp(230px,58vw,390px)}
  .profile-ref-identity{grid-template-columns:116px minmax(0,1fr);gap:17px;margin-top:-28px;padding-inline:22px}
  .profile-ref-avatar{width:112px;height:112px;border-width:6px}
  .profile-ref-intro{padding-top:35px}
  .profile-ref-logo{display:none}
  .profile-ref-actions{grid-column:1/-1;margin-top:5px}
  .profile-ref-about{grid-template-columns:1fr}
  .profile-ref-about figure{order:-1}
  .profile-ref-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .profile-ref-services>div{grid-template-columns:1fr 1fr}
}
@media(max-width:560px){
  .public-profile-page .profile-topbar{min-height:70px;padding-inline:16px}
  .public-profile-page .profile-topbar .brand-header{width:143px}
  .public-profile-page .profile-topbar nav>a:not(:last-child){display:none}
  .profile-ref-cover{height:220px}
  .profile-ref-identity{display:block;margin-top:-46px;padding:0 18px 22px}
  .profile-ref-avatar{width:104px;height:104px}
  .profile-ref-intro{padding-top:12px}
  .profile-ref-intro h1{font-size:34px}
  .profile-ref-actions{display:grid;gap:12px;margin-top:20px}
  .profile-ref-channels{justify-content:center}
  .profile-ref-tabs{padding-inline:8px}
  .profile-ref-tabs a{padding:16px 18px}
  .profile-ref-section{padding:38px 20px}
  .profile-ref-section-heading{align-items:flex-start;flex-direction:column}
  .profile-ref-project-grid,.profile-ref-services>div,.profile-ref-location{grid-template-columns:1fr}
  .profile-ref-services article{min-height:155px}
}
@media(prefers-reduced-motion:reduce){.profile-ref-primary{transition:none}}
