:root {
  font-family: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  color: #232425;
  background: #f8f7f4;
  --muted: #635f56;
  --line: #e6e1d8;
  --ink: #191919;
  --primary: #e0b92e;
  --primary-hover: #f2cb44;
  --primary-text: #1d1706;
  --soft: #f7edcb;
  --surface: #fff;
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p { margin: 0; }
body { min-height: 100vh; }
[hidden] { display: none !important; }
main { display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .2em; }
button, input, select, textarea { color: inherit; font: inherit; }
button, select, summary { cursor: pointer; }
:focus-visible { outline: 3px solid #317cb2; outline-offset: 3px; }
img { display: block; width: 100%; }
.icon { display: inline-block; flex: none; width: 1.2em; height: 1.2em; vertical-align: middle; }
.btn {
  min-height: 43px; display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .65rem 1rem; border-radius: 7px; background: transparent; border: 1px solid transparent; font-weight: 700;
}
.btn:hover { text-decoration: none; }
.primary { background: var(--primary); color: var(--primary-text); }
.primary:hover { background: var(--primary-hover); }
.secondary { background: var(--surface); border-color: var(--line); }
.secondary:hover { background: var(--soft); }
.brand { display: inline-flex; align-items: center; gap: .65rem; min-width: 0; max-width: 100%; font-size: 1.25rem; white-space: nowrap; }
.brand strong { font-weight: 750; }
.brand > span:last-child { overflow: hidden; text-overflow: ellipsis; }
.brand-icon { display: grid; flex: none; width: 2.15rem; height: 2.15rem; place-items: center; border: 1px solid #c59f25; border-radius: 8px; color: #c59f25; }
label { display: grid; gap: .42rem; font-size: .84rem; font-weight: 650; }
input:not([type=checkbox]), select, textarea { width: 100%; min-width: 0; min-height: 43px; border: 1px solid var(--line); border-radius: 6px; padding: .57rem .68rem; background: var(--surface); }
input::placeholder { color: var(--muted); }
textarea { min-height: 110px; resize: vertical; }
.text-link { font-size: .88rem; font-weight: 700; color: #705509; }
.no-image { display: grid; place-items: center; background: #e5e1d8; color: #7c766a; }
.no-image .icon { width: 2rem; height: 2rem; }
.form-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 1.2rem; }
.contact-form { display: grid; gap: .85rem; }
.form-panel h2 { margin-bottom: 1rem; }
.notice { padding: .75rem .8rem; border-radius: 6px; font-size: .9rem; margin-bottom: .8rem; }
.notice.success { background: #e4f5e9; color: #175337; }
.notice.error { background: #fbebea; color: #912322; }
.empty { color: var(--muted); padding: 1.2rem; }

.filters { display: grid; grid-template-columns: 1fr 1fr 1.1fr 1.1fr 1fr auto; gap: .75rem; align-items: end; }

.login-page {
  min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 2rem 1rem;
  background: linear-gradient(140deg, #192d428c, #0e1c2bdb), url("/imagens/casa-cerrado.webp") center 52% / cover no-repeat #192d42;
}
.login-shell { display: grid; justify-items: center; width: min(100%,400px); gap: 1rem; }
.login-card {
  width: 100%; padding: clamp(1.25rem, 5vw, 2rem); border: 1px solid #e9e5de;
  border-radius: 14px; background: #fffdfa; color: #192d42; box-shadow: 0 18px 55px #101d2d55;
}
.login-heading { margin-bottom: 1.65rem; text-align: center; }
.login-logo { width: min(100%,214px); height: auto; margin: 0 auto 1.15rem; }
.login-card h1 { margin-bottom: .35rem; font-size: 1.4rem; letter-spacing: -.035em; }
.login-heading p { color: #526274; font-size: .93rem; overflow-wrap: anywhere; }
.login-card form { display: grid; gap: 1.08rem; }
.login-card form .notice { margin: 0; }
.login-card label { color: #4e6072; }
.login-card input { min-height: 46px; border-radius: 8px; border-color: #d7dfe7; background: #f7f9fc; font-size: 1rem; font-weight: 400; }
.login-field { display: grid; gap: .42rem; }
.login-password { position: relative; }
.login-card .login-password input { padding-right: 3rem; }
.password-toggle {
  position: absolute; inset: 0 4px 0 auto; display: grid; place-items: center; width: 42px;
  border: 0; border-radius: 6px; background: transparent; color: #516577;
}
.password-toggle:hover { color: #192d42; }
.password-toggle[aria-pressed="false"] .eye-slash { display: none; }
.login-card .primary { min-height: 46px; margin-top: .16rem; border-radius: 8px; background: #192d42; color: #fff; }
.login-card .primary:hover { background: #29465f; }
.login-site {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 42px; padding: .45rem .95rem;
  border: 1px solid #f5efe58c; border-radius: 24px; background: #101d2d80; color: #f5efe5; font-size: .85rem; font-weight: 650;
}
.login-credit { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .55rem; margin-top: .5rem; color: #f5efe5; font-size: .72rem; }
.login-credit img { width: 124px; height: auto; }
@media (max-width: 640px) {
  .login-page { background-image: linear-gradient(140deg, #192d42a8, #0e1c2bdf), url("/imagens/casa-cerrado-mobile.webp"); }
}
