/* MindPerto v44 — geometria oficial preservada. */
:root {
  --muted: #526c67;
  --terracotta: #a45c45;
  --brand-blue: #063a70;
  --brand-teal: #078f81;
  --brand-gold: #edb643;
  --brand-cream: #f8f7f1;
  --brand-logo-width: 114px;
  --brand-symbol-size: 44px;
}
.brand.mindperto-brand { display:inline-flex; align-items:center; flex:0 0 auto; line-height:1; }
.mindperto-brand .mindperto-logo { display:block; width:var(--brand-logo-width); height:auto; max-width:none; object-fit:contain; }
.mindperto-symbol { display:block; width:var(--brand-symbol-size); height:auto; object-fit:contain; }
.brand .brand-mark.mindperto-subbrand { border:0; border-radius:0; width:36px; height:auto; background:transparent; }
.brand-mark.mindperto-subbrand img { width:100%; height:auto; }
.site-footer .footer-mark { display:inline-flex; padding:12px; border-radius:50%; background:var(--brand-cream); }
.login-symbol .mindperto-symbol { width:40px; }
:where(a,button,input,select,textarea,[tabindex]):focus-visible { outline:3px solid var(--brand-blue); outline-offset:4px; }
.site-footer a:focus-visible { outline-color:var(--brand-gold); }
@media(max-width:600px) { :root { --brand-logo-width:96px; } }
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto !important; }
  *, *::before, *::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; scroll-behavior:auto !important; }
}

/* O cabeçalho do Espelho Interior mantém todos os controles visíveis no celular. */
@media(max-width:620px) {
  .topbar:has(.mindperto-subbrand) { height:auto; min-height:72px; padding:12px 18px; flex-wrap:wrap; gap:12px; }
  .topbar:has(.mindperto-subbrand) .brand { flex-shrink:0; }
  .topbar:has(.mindperto-subbrand) .top-actions { display:flex; flex-wrap:wrap; gap:8px; max-width:100%; }
  .topbar:has(.mindperto-subbrand) .top-actions > * { padding:9px 10px; }
}

/* Ajustes finais de espaçamento — apenas cabeçalho e rodapé da home. */
.app-shell > .topbar > .mindperto-brand { --brand-logo-width:106px; margin-left:12px; align-self:center; padding-block:0; }
.site-footer { min-height:0; padding:6px 16px; gap:3px; --secure-footer-padding:5px 16px; --secure-footer-nav-margin:4px; }
.site-footer .footer-mark { padding:6px; }
@media(max-width:620px) { .app-shell > .topbar > .mindperto-brand { --brand-logo-width:88px; margin-left:8px; } }
