/* ZovaVet — componentes: navbar, botões, janela de tela, listas */

/* ---------- Botões ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px;
  border-radius: 999px;
  font-weight: 500; font-size: 1rem; letter-spacing: -0.01em; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn .ic { width: 18px; height: 18px; transition: transform .3s var(--ease-out); }
.btn:hover .ic { transform: translateX(4px); }
.btn--sm { --h: 40px; padding: 0 16px; font-size: .9375rem; }
.btn--lg { --h: 54px; padding: 0 26px; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--ink); color: #fff; box-shadow: 0 10px 24px -14px rgba(11, 22, 48, .6); }
.btn--primary:hover { background: var(--brand); box-shadow: 0 14px 30px -14px rgba(36, 134, 254, .7); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--brand); color: #fff; }
.btn--ghost-light { border: 1px solid rgba(255, 255, 255, .24); color: var(--on-night); }
.btn--ghost-light:hover { border-color: #fff; }
.btn:active { transform: translateY(1px); }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 14px var(--side);
  transition: transform .5s cubic-bezier(.22, .8, .24, 1);
  will-change: transform;
}
.nav__inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; align-items: center; gap: 28px;
  height: 68px; padding: 0 13px 0 24px; /* botão de 40px com 14px de folga em cima, embaixo e à direita (13 + 1px de borda) */
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background-color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.nav.is-scrolled .nav__inner {
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-color: rgba(11, 22, 48, .07);
  box-shadow: 0 12px 32px -20px rgba(11, 22, 48, .35);
}
.nav.is-hidden { transform: translateY(-110%); }
.nav__logo img { width: 124px; height: auto; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { white-space: nowrap;
  font-size: .9375rem; color: var(--ink-2);
  padding: 8px 12px; border-radius: 999px;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav__links a:hover { color: var(--ink); background: rgba(11, 22, 48, .05); }
.nav__links a.is-current { color: var(--ink); }
.nav__entrar {
  font-size: .9375rem; font-weight: 500; color: var(--ink);
  padding: 8px 14px; margin-right: -12px; border-radius: 999px;
  transition: background-color .2s var(--ease);
}
.nav__entrar:hover { background: rgba(11, 22, 48, .05); }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 999px; position: relative; margin-left: auto; }
.nav__toggle span { position: absolute; left: 13px; right: 13px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease-out), top .35s var(--ease-out); }
.nav__toggle span:first-child { top: 18px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

.menu-mobile {
  position: fixed; inset: 0; z-index: 45;
  background: var(--bg);
  padding: 110px var(--side) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.menu-mobile[hidden] { display: none; }
.menu-mobile__acoes { display: grid; gap: 10px; }
.menu-mobile nav { display: flex; flex-direction: column; }
.menu-mobile nav a {
  font-size: 2rem; font-weight: 500; letter-spacing: -0.03em;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.menu-mobile.is-open nav a { animation: menuIn .5s var(--ease-out) both; }
.menu-mobile.is-open nav a:nth-child(2) { animation-delay: .04s; }
.menu-mobile.is-open nav a:nth-child(3) { animation-delay: .08s; }
.menu-mobile.is-open nav a:nth-child(4) { animation-delay: .12s; }
.menu-mobile.is-open nav a:nth-child(5) { animation-delay: .16s; }
@keyframes menuIn { from { opacity: 0; transform: translateY(16px); } }

/* Com o "Entrar", a barra completa não cabe abaixo de 1100px: passa para o menu (que também tem o "Entrar") */
@media (max-width: 1099px) {
  .nav__links, .nav__cta, .nav__entrar { display: none; }
  .nav__toggle { display: block; }
}
@media (max-width: 899px) {
  .nav__inner { height: 60px; padding: 0 7px 0 20px; } /* menu de 44px com 8px de folga (7 + 1px de borda) */
}

/* ---------- Janela de tela (tela real do produto) ---------- */
.win {
  position: relative;
  background: var(--surface);
  border: 1px solid rgba(11, 22, 48, .08);
  border-radius: var(--r);
  box-shadow: var(--shadow-win);
  overflow: hidden;
}
.win__bar {
  height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 12px;
  background: #FBFBF9; border-bottom: 1px solid rgba(11, 22, 48, .06);
}
.win__bar i { width: 9px; height: 9px; border-radius: 50%; background: #E2E2DC; }
.win img { width: 100%; }
.win__title { margin-left: 10px; font-size: .6875rem; color: var(--ink-3); letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win--dark .win__title { color: var(--on-night-2); }
@media (max-width: 559px) { .win__title { display: none; } }
.win--dark { background: #0E1426; border-color: rgba(255, 255, 255, .08); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.win--dark .win__bar { background: #111a30; border-color: rgba(255, 255, 255, .06); }
.win--dark .win__bar i { background: rgba(255, 255, 255, .16); }
.dark .win:not(.win--dark) { border-color: rgba(255, 255, 255, .1); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }

/* ---------- Lista com check ---------- */
.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: baseline; color: var(--ink-2); }
.ticks li::before {
  content: ""; flex: none; width: 14px; height: 8px; margin-top: 2px;
  border-left: 1.6px solid var(--brand); border-bottom: 1.6px solid var(--brand);
  transform: translateY(-3px) rotate(-45deg);
}
