/* Peters Contabilidade | visual aprovado */
:root:not([data-theme="light"]) {
  --bg: #121e54;
  --surface: #1a2a5e;
  --surface-hover: #22356c;
  --border: #304372;
  --border-strong: #51658d;
  --text: #eff1f9;
  --text-muted: #bdc8df;
  --text-dim: #9ba9ca;
  --accent: #82aaff;
  --accent-hover: #a8c4ff;
}
:where(html:not([data-theme="light"])) section[style*="background:var(--surface)"],
:where(html:not([data-theme="light"])) .site-section-alt {
  background: #101b43 !important;
}
:where(html:not([data-theme="light"])) section [style*="background:var(--bg);border:"] {
  background: var(--surface) !important;
}
:where(html:not([data-theme="light"])) .ui-btn-primary,
:where(html:not([data-theme="light"])) .glass-button,
:where(html:not([data-theme="light"])) form button[type="submit"] {
  background: #3366cc;
  border-color: #4676d5;
  color: #fff;
}
:where(html:not([data-theme="light"])) .ui-btn-primary:hover,
:where(html:not([data-theme="light"])) .glass-button:hover,
:where(html:not([data-theme="light"])) form button[type="submit"]:hover {
  background: #305fbc;
  border-color: #799eee;
}
:where(html:not([data-theme="light"])) h1 > span[style*="--accent"] { color: #719cf5 !important; }
:where(html:not([data-theme="light"])) [class~="text-white/20"],
:where(html:not([data-theme="light"])) [class~="text-white/25"],
:where(html:not([data-theme="light"])) [class~="text-white/35"],
:where(html:not([data-theme="light"])) [class~="text-white/40"],
:where(html:not([data-theme="light"])) [class~="text-white/50"] { color: var(--text-dim); }

a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
header a:has(> img[alt="Peters Contabilidade"])::before {content:"";display:block;flex:0 0 34px;width:34px;height:38px;background:transparent url("/logo.png") -34px -81px/200px 200px no-repeat;}
header a > img[alt="Peters Contabilidade"] {display:none;}
@media (max-width: 420px) {
  [style*="minmax(320px"] { grid-template-columns: minmax(0, 1fr) !important; }
  section .grid > *, form .grid > * { min-width: 0; }
  a[href^="mailto:"], .glass p, .site-card p { overflow-wrap: anywhere; }
  section :is(.site-card.p-8, .site-card.p-10) { padding: 20px; }
}
