/* =========================================================
   ZimmerSistema · SITE INSTITUCIONAL (zimmersistema.com.br)
   ---------------------------------------------------------
   Página estática servida pelo Nginx. Não passa pelo Django
   nem pelo collectstatic. Paleta e fonte vêm de brand/README.md.
========================================================= */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --zs-navy: #14325C;
  --zs-blue: #0D6EFD;
  --zs-sky: #5FAAFF;
  --zs-ink: #212529;
  --zs-muted: #5c6470;
  --zs-surface: #ffffff;
  --zs-bg: #f5f8fc;
  --zs-border: #e3e9f1;
  --zs-radius: 16px;
  --zs-shadow: 0 18px 45px rgba(20, 50, 92, .12);
  --zs-font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--zs-font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--zs-ink);
  background: var(--zs-surface);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--zs-blue); }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.15; color: var(--zs-navy); font-weight: 800; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.015em; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: .92em;
  background: var(--zs-bg);
  padding: .1em .4em;
  border-radius: 6px;
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.zs-sprite { position: absolute; }
.zs-icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }

.zs-container { width: min(1120px, 100% - 40px); margin-inline: auto; }

/* ---------- botões ---------- */
.zs-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.4em; border-radius: 12px; font-weight: 700; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; font-family: inherit; font-size: 1rem;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.zs-btn:hover { transform: translateY(-1px); }
.zs-btn--primary { background: var(--zs-blue); color: #fff; box-shadow: 0 10px 24px rgba(13, 110, 253, .28); }
.zs-btn--primary:hover { background: #0b5fd9; }
.zs-btn--ghost { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .35); }
.zs-btn--ghost:hover { background: rgba(255, 255, 255, .2); }
.zs-btn--outline { background: transparent; color: var(--zs-navy); border-color: var(--zs-navy); padding: .6em 1.1em; }
.zs-btn--outline:hover { background: var(--zs-navy); color: #fff; }
.zs-btn--light { background: #fff; color: var(--zs-navy); }
.zs-btn--whats { background: #25d366; color: #0b2342; box-shadow: 0 10px 24px rgba(37, 211, 102, .3); }
.zs-btn--whats:hover { background: #1fbd5a; }

/* ---------- header ---------- */
.zs-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--zs-border);
}
.zs-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.zs-header__brand img { width: 190px; height: auto; }
.zs-nav { display: flex; align-items: center; gap: 22px; }
.zs-nav a { color: var(--zs-navy); text-decoration: none; font-weight: 600; font-size: .95rem; }
.zs-nav a:not(.zs-btn):hover { color: var(--zs-blue); }
.zs-header__toggle {
  display: none; background: none; border: 1px solid var(--zs-border); border-radius: 10px;
  padding: 8px; color: var(--zs-navy); cursor: pointer;
}
.zs-header__toggle .zs-icon { width: 1.5em; height: 1.5em; }

/* ---------- hero ---------- */
.zs-hero {
  color: #fff;
  background:
    radial-gradient(1200px 800px at 20% 10%, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 55%),
    radial-gradient(900px 600px at 85% 30%, rgba(255, 255, 255, .10), rgba(255, 255, 255, 0) 55%),
    linear-gradient(180deg, #0b2342 0%, #0f3a58 45%, #2a6b7a 100%);
  position: relative; overflow: hidden;
}
.zs-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .18) 1px, transparent 0);
  background-size: 22px 22px; mix-blend-mode: overlay;
}
.zs-hero__inner {
  position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
  padding: 88px 0 96px;
}
.zs-hero h1 { color: #fff; }
.zs-eyebrow {
  margin: 0 0 14px; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--zs-blue);
}
.zs-eyebrow--light, .zs-hero .zs-eyebrow { color: var(--zs-sky); }
.zs-lead { font-size: 1.15rem; color: rgba(255, 255, 255, .86); max-width: 34em; }
.zs-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 28px; }
.zs-hero__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .95rem; color: rgba(255, 255, 255, .85); }
.zs-hero__facts li { display: flex; align-items: center; gap: 8px; }
.zs-hero__facts .zs-icon { color: var(--zs-sky); }

/* mock de kanban no hero */
.zs-mock {
  background: rgba(255, 255, 255, .96); border-radius: 18px; padding: 14px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .35); transform: rotate(-2deg);
}
.zs-mock__bar { display: flex; gap: 6px; margin-bottom: 12px; }
.zs-mock__bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--zs-border); }
.zs-mock__bar span:first-child { background: var(--zs-blue); }
.zs-mock__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.zs-mock__col { background: var(--zs-bg); border-radius: 10px; padding: 8px; min-height: 170px; }
.zs-mock__title { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--zs-navy); margin-bottom: 8px; }
.zs-mock__card { height: 34px; border-radius: 7px; background: #fff; border: 1px solid var(--zs-border); border-left: 4px solid var(--zs-sky); margin-bottom: 7px; }
.zs-mock__card--ok { border-left-color: #2fb36b; }
.zs-mock__card--warn { border-left-color: #f5b400; }
.zs-mock__card--late { border-left-color: #e5484d; }

/* ---------- seções ---------- */
.zs-section { padding: 80px 0; }
.zs-section--alt { background: var(--zs-bg); }
.zs-section--dark { background: var(--zs-navy); color: rgba(255, 255, 255, .9); }
.zs-section--dark h2 { color: #fff; }
.zs-section__title { text-align: center; }
.zs-section__sub { text-align: center; color: var(--zs-muted); max-width: 40em; margin: 0 auto 44px; font-size: 1.05rem; }

.zs-grid { display: grid; gap: 22px; }
.zs-grid--4 { grid-template-columns: repeat(4, 1fr); }
.zs-card {
  background: var(--zs-surface); border: 1px solid var(--zs-border); border-radius: var(--zs-radius);
  padding: 26px 22px; box-shadow: 0 6px 18px rgba(20, 50, 92, .05);
}
.zs-card__icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(13, 110, 253, .1); color: var(--zs-blue); margin-bottom: 16px;
}
.zs-card__icon .zs-icon { width: 1.5em; height: 1.5em; }
.zs-card p { margin: 0; color: var(--zs-muted); font-size: .95rem; }

/* módulos */
.zs-modules { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.zs-modules li {
  display: flex; align-items: center; gap: 12px; background: var(--zs-surface);
  border: 1px solid var(--zs-border); border-radius: 12px; padding: 14px 16px; font-weight: 600; color: var(--zs-navy);
}
.zs-modules .zs-icon { color: var(--zs-blue); }

/* passos */
.zs-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: passo; }
.zs-steps li { position: relative; padding-top: 8px; }
.zs-steps__num {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--zs-navy); color: #fff; font-weight: 800; margin-bottom: 14px;
}
.zs-steps p { color: var(--zs-muted); margin: 0; }

/* telas do sistema */
.zs-telas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.zs-tela { margin: 0; }
.zs-tela__btn {
  display: block; width: 100%; padding: 0; border: 1px solid var(--zs-border); border-radius: var(--zs-radius);
  background: var(--zs-surface); overflow: hidden; cursor: zoom-in; box-shadow: 0 10px 30px rgba(20, 50, 92, .10);
  transition: transform .15s ease, box-shadow .15s ease;
}
.zs-tela__btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(20, 50, 92, .16); }
.zs-tela__btn:focus-visible { outline: 3px solid var(--zs-blue); outline-offset: 3px; }
.zs-tela__btn img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; display: block; }
.zs-tela figcaption { margin-top: 12px; font-size: .95rem; color: var(--zs-muted); }
.zs-tela figcaption strong { display: block; color: var(--zs-navy); margin-bottom: 2px; }

.zs-lightbox {
  border: 0; padding: 0; background: transparent; max-width: min(96vw, 1600px); max-height: 92vh; width: auto;
}
.zs-lightbox::backdrop { background: rgba(11, 35, 66, .85); }
.zs-lightbox img { display: block; max-width: min(96vw, 1600px); max-height: 92vh; width: auto; height: auto; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.zs-lightbox__close {
  position: fixed; top: 14px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: #fff; color: var(--zs-navy); font-size: 28px; line-height: 1; z-index: 1;
}

/* split (mobile / acesso) */
.zs-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.zs-split--reverse { grid-template-columns: .9fr 1.1fr; }
.zs-split--reverse .zs-split__copy { order: 2; }
.zs-split--reverse .zs-split__visual { order: 1; }
.zs-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.zs-list li { display: flex; align-items: center; gap: 10px; }
.zs-list .zs-icon { color: var(--zs-sky); }

.zs-phone {
  width: 220px; margin-inline: auto; aspect-ratio: 9 / 18.5; border-radius: 34px; padding: 12px;
  background: #0b2342; box-shadow: 0 30px 60px rgba(0, 0, 0, .35), inset 0 0 0 2px rgba(255, 255, 255, .12);
}
.zs-phone__screen {
  height: 100%; border-radius: 24px; padding: 28px 18px;
  background: linear-gradient(180deg, #0f3a58, #2a6b7a); display: grid; align-content: start; gap: 12px;
}
.zs-phone__screen img { width: 40px; margin-bottom: 14px; }
.zs-phone__line { height: 10px; border-radius: 6px; background: rgba(255, 255, 255, .28); width: 60%; }
.zs-phone__line--w { width: 85%; background: rgba(255, 255, 255, .5); }
.zs-phone__btn { margin-top: 20px; height: 36px; border-radius: 10px; background: var(--zs-blue); }

.zs-trust { display: grid; gap: 14px; }
.zs-trust__item {
  display: flex; gap: 14px; align-items: flex-start; background: var(--zs-bg);
  border: 1px solid var(--zs-border); border-radius: 14px; padding: 16px 18px;
}
.zs-trust__item .zs-icon { color: var(--zs-blue); width: 1.5em; height: 1.5em; margin-top: 2px; }
.zs-trust__item div { display: grid; gap: 2px; }
.zs-trust__item strong { color: var(--zs-navy); }
.zs-trust__item span { color: var(--zs-muted); font-size: .93rem; }

/* acesso do cliente */
.zs-access { margin-top: 18px; }
.zs-access label { display: block; font-weight: 700; font-size: .9rem; color: var(--zs-navy); margin-bottom: 8px; }
.zs-access__row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.zs-access__row input {
  flex: 1 1 140px; min-width: 0; font: inherit; padding: .75em .9em; border-radius: 12px;
  border: 1.5px solid var(--zs-border); background: #fff; color: var(--zs-ink);
}
.zs-access__row input:focus { outline: none; border-color: var(--zs-blue); box-shadow: 0 0 0 3px rgba(13, 110, 253, .18); }
.zs-access__suffix { color: var(--zs-muted); font-weight: 600; white-space: nowrap; }
.zs-access__hint { margin: 10px 0 0; font-size: .88rem; color: var(--zs-muted); }

/* cta final */
.zs-section--cta {
  color: #fff; text-align: center;
  background: linear-gradient(135deg, #0b2342 0%, #14325C 45%, #0D6EFD 130%);
}
.zs-cta { display: grid; justify-items: center; gap: 6px; max-width: 46em; }
.zs-cta h2 { color: #fff; }
.zs-cta p { color: rgba(255, 255, 255, .85); font-size: 1.05rem; }
.zs-cta__actions { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* footer */
.zs-footer { border-top: 1px solid var(--zs-border); padding: 28px 0; }
.zs-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.zs-footer__inner img { width: 150px; }
.zs-footer p { margin: 0; color: var(--zs-muted); font-size: .9rem; }

/* ---------- responsivo ---------- */
@media (max-width: 1024px) {
  .zs-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .zs-modules { grid-template-columns: repeat(2, 1fr); }
  .zs-hero__inner { grid-template-columns: 1fr; padding: 64px 0 72px; }
  .zs-hero__visual { max-width: 560px; }
  .zs-split, .zs-split--reverse { grid-template-columns: 1fr; gap: 36px; }
  .zs-split--reverse .zs-split__copy { order: 1; }
  .zs-split--reverse .zs-split__visual { order: 2; }
}

@media (max-width: 768px) {
  .zs-container { width: min(1120px, 100% - 32px); }
  .zs-section { padding: 56px 0; }
  .zs-header__inner { min-height: 64px; }
  .zs-header__brand img { width: 160px; }
  .zs-header__toggle { display: inline-flex; }
  .zs-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--zs-border); box-shadow: var(--zs-shadow);
  }
  .zs-nav.is-open { display: flex; }
  .zs-nav a { padding: 14px 20px; border-top: 1px solid var(--zs-border); }
  .zs-nav__cta { margin: 12px 20px 16px; border-radius: 12px; text-align: center; }
  .zs-steps { grid-template-columns: 1fr; gap: 22px; }
  .zs-telas { grid-template-columns: 1fr; gap: 22px; }
  .zs-mock { transform: none; }
  .zs-mock__cols { grid-template-columns: repeat(2, 1fr); }
  .zs-mock__col { min-height: 120px; }
}

@media (max-width: 480px) {
  .zs-grid--4, .zs-modules { grid-template-columns: 1fr; }
  .zs-hero__actions .zs-btn { flex: 1 1 100%; }
  .zs-access__row .zs-btn { flex: 1 1 100%; }
  .zs-cta__actions .zs-btn { flex: 1 1 100%; }
  .zs-phone { width: 180px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .zs-btn { transition: none; }
}
