/* Acabamento compartilhado: identidade rosé, hierarquia editorial e motion contido. */
html body:not(.admin-body) .section-kicker::before { content:none !important;display:none !important; }
html body:not(.admin-body) {
  --finish-ease: cubic-bezier(.22,1,.36,1);
  --finish-shadow: 0 14px 38px color-mix(in srgb,var(--theme-text) 6%,transparent);
}
html body:not(.admin-body) ::selection { background:color-mix(in srgb,var(--theme-accent) 24%,transparent);color:var(--theme-text); }
html body.single-page-portfolio .portfolio-section { padding-block:clamp(64px,7vw,104px) !important; }
html body.single-page-portfolio .portfolio-section__head { margin-bottom:clamp(30px,4vw,48px) !important; }
html body.single-page-portfolio .portfolio-section__head h2 { font-size:clamp(36px,4vw,54px) !important;line-height:1.12 !important;letter-spacing:-.035em !important;text-wrap:balance; }
html body.single-page-portfolio .portfolio-section__head > p { max-width:72ch !important;margin:18px auto 0 !important;line-height:1.75 !important;color:var(--theme-text-soft);text-wrap:pretty; }
html body.single-page-portfolio :is(.portfolio-stack-card,.career-entry,.portfolio-about-editorial) { box-shadow:none !important;border-color:color-mix(in srgb,var(--theme-border) 78%,transparent) !important; }
html body.single-page-portfolio .portfolio-about-editorial { padding:clamp(24px,3.5vw,44px) !important; }
html body.single-page-portfolio .portfolio-about-editorial__narrative { max-width:1000px;margin-inline:auto; }
html body.single-page-portfolio .portfolio-about-editorial__narrative p { line-height:1.85 !important;text-wrap:pretty; }
html body.single-page-portfolio .portfolio-stack-card__title { letter-spacing:-.025em; }
html body.single-page-portfolio .portfolio-stack-card__toggle { transition:color 160ms ease,background-color 160ms ease; }
html body.single-page-portfolio .portfolio-stack-card__toggle:hover { color:var(--theme-accent); }
html body:not(.admin-body) :is(.btn,.filter-btn) { transition:background-color 180ms ease,border-color 180ms ease,box-shadow 240ms var(--finish-ease),transform 180ms var(--finish-ease) !important; }
html body:not(.admin-body) .btn-primary { box-shadow:0 7px 20px color-mix(in srgb,var(--theme-accent) 14%,transparent) !important; }
html body:not(.admin-body) .btn-secondary { box-shadow:none !important; }
html body:not(.admin-body) :is(a,button,input,textarea,select):focus-visible { outline:2px solid var(--theme-accent);outline-offset:4px; }
html body:not(.admin-body) .home-project-reference-card { border-color:color-mix(in srgb,var(--theme-border) 80%,transparent) !important;box-shadow:var(--finish-shadow) !important;transition:transform 240ms var(--finish-ease),box-shadow 300ms var(--finish-ease),border-color 180ms ease !important; }
html body:not(.admin-body) .home-project-reference-card__body h3 { letter-spacing:-.035em !important;line-height:1.28 !important;text-wrap:balance; }
html body:not(.admin-body) .home-project-reference-card__body > p { line-height:1.7 !important; }
html body:not(.admin-body) .home-project-reference-card__media { overflow:hidden; }
html body:not(.admin-body) .home-project-reference-card__media > img { transition:transform 600ms var(--finish-ease) !important; }
html body.single-page-portfolio #formacao :is(.education-path,.certification-ledger) { box-shadow:var(--finish-shadow) !important; }
html body.single-page-portfolio #contato .portfolio-contact-unified { border-color:color-mix(in srgb,var(--theme-border) 65%,transparent) !important;box-shadow:var(--finish-shadow) !important;background:color-mix(in srgb,var(--theme-surface-strong) 75%,transparent) !important; }
html body.single-page-portfolio #contato .contact-editorial h3 { max-width:20ch;font-size:clamp(27px,2.4vw,34px);line-height:1.18; }
html body.single-page-portfolio #contato .contact-form-card { padding:clamp(22px,2.5vw,36px) !important; }
html body.single-page-portfolio #contato .field label { font-size:14px !important;font-weight:650 !important; }
html body.single-page-portfolio #contato .field label svg { width:17px;height:17px;opacity:.7; }
html body.single-page-portfolio #contato .field :is(input,textarea) { border-radius:10px !important;font-size:15px !important; }
html body.single-page-portfolio #contato textarea { min-height:150px; }
html body.single-page-portfolio .footer { border-top-color:color-mix(in srgb,var(--theme-border) 70%,transparent) !important; }
@media(hover:hover) and (pointer:fine) {
  html body:not(.admin-body) .home-project-reference-card:hover { transform:translateY(-7px) scale(1.015) !important;z-index:3;border-color:color-mix(in srgb,var(--theme-accent) 46%,var(--theme-border)) !important;box-shadow:0 24px 48px color-mix(in srgb,var(--theme-text) 13%,transparent) !important; }
  html body:not(.admin-body) .home-project-reference-card:hover .home-project-reference-card__media > img { transform:scale(1.035); }
  html body:not(.admin-body) .btn:hover { transform:translateY(-2px); }
}
@media(max-width:680px) {
  html body.single-page-portfolio .portfolio-section { padding-block:56px !important; }
  html body.single-page-portfolio .portfolio-section__head > p { font-size:14px !important; }
  html body.single-page-portfolio #contato .contact-editorial h3 { max-width:22ch; }
}
@media(prefers-reduced-motion:reduce) {
  html body:not(.admin-body) :is(.btn,.filter-btn,.home-project-reference-card,.home-project-reference-card__media > img,.portfolio-stack-card__toggle) { transition:none !important; }
  html body:not(.admin-body) .home-project-reference-card:hover { transform:none !important; }
}

/* PageSpeed 2026-11-17: contraste WCAG AA dos links do rodapé em ambas as paletas. */
html:not([data-theme="dark"]) body:not(.admin-body) .footer .socials a {
  color: #59404f !important;
}
html[data-theme="dark"] body:not(.admin-body) .footer .socials a {
  color: #f7f2f4 !important;
}
