/* Refinamento visual da identidade oficial do Estoque PDV. */
.topbar {
  min-height: 34px;
  padding: 7px 24px;
  display: flex;
  justify-content: center;
  gap: 28px;
  color: #dfe7f8;
  background: #102044;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .15px;
}

.topbar a {
  color: #fec005;
  font-weight: 850;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  max-width: none;
  height: 84px;
  padding-inline: max(24px, calc((100vw - 1200px) / 2));
  border-bottom: 1px solid rgba(24, 43, 85, .08);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 10px 35px rgba(24, 43, 85, .06);
  backdrop-filter: blur(16px);
}

.brand {
  gap: 12px;
  letter-spacing: -.4px;
}

.brand-logo {
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  border: 3px solid #fff;
  border-radius: 15px;
  object-fit: cover;
  box-shadow: 0 8px 22px rgba(41, 69, 132, .18);
}

.site-header .brand span:last-child {
  font-size: 21px;
}

.site-header nav a:not(.button) {
  position: relative;
  padding-block: 12px;
}

.site-header nav a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  content: '';
  transition: transform .2s ease;
  transform: scaleX(0);
  border-radius: 4px;
  background: #fec005;
}

.site-header nav a:not(.button):hover::after {
  transform: scaleX(1);
}

.site-header .button.small {
  min-height: 45px;
  padding-inline: 21px;
  border: 1px solid rgba(24, 43, 85, .08);
  box-shadow: 0 8px 20px rgba(254, 192, 5, .28);
}

.hero {
  position: relative;
  min-height: 680px;
  background:
    radial-gradient(circle at 8% 18%, rgba(255, 255, 255, .48) 0 2px, transparent 3px),
    radial-gradient(circle at 85% 10%, rgba(255, 255, 255, .26), transparent 27%),
    linear-gradient(118deg, #ffc400 0%, #ffd54f 62%, #ffe799 100%);
  background-size: 28px 28px, auto, auto;
}

.hero::before {
  position: absolute;
  top: -170px;
  right: -130px;
  width: 500px;
  height: 500px;
  content: '';
  border: 85px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero .eyebrow {
  padding: 8px 13px;
  border: 1px solid rgba(24, 43, 85, .11);
  border-radius: 999px;
  background: rgba(255, 255, 255, .54);
  box-shadow: 0 5px 15px rgba(24, 43, 85, .06);
}

.hero h1 {
  max-width: 700px;
  margin-top: 22px;
}

.hero h1 em {
  position: relative;
  display: inline-block;
  color: #294584;
  text-shadow: none;
}

.hero h1 em::after {
  position: absolute;
  right: 2px;
  bottom: -8px;
  left: 2px;
  height: 8px;
  content: '';
  transform: rotate(-1deg);
  border-radius: 50%;
  background: rgba(255, 255, 255, .72);
}

.hero .button.dark {
  min-height: 54px;
  padding-inline: 26px;
  box-shadow: 0 13px 30px rgba(24, 43, 85, .25);
}

.hero .button.outline {
  min-height: 54px;
  border-width: 2px;
  background: rgba(255, 255, 255, .25);
}

.trust span {
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .34);
}

.hero-visual {
  padding-top: 38px;
}

.visual-badge {
  position: absolute;
  z-index: 4;
  top: -21px;
  left: -24px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 16px 10px 10px;
  border: 1px solid rgba(24, 43, 85, .1);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(24, 43, 85, .2);
}

.visual-badge img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
}

.visual-badge b,
.visual-badge small {
  display: block;
}

.visual-badge b {
  color: #182b55;
}

.visual-badge small {
  margin-top: 3px;
  color: #667085;
  font-size: 10px;
}

.browser {
  border-width: 7px;
  border-radius: 22px;
  transform: perspective(1200px) rotateY(-3deg) rotateZ(1deg);
  box-shadow: 0 40px 85px rgba(24, 43, 85, .27);
}

.mock-logo {
  width: 38px;
  height: 38px;
  border: 2px solid #fff;
  border-radius: 10px;
}

.feature-grid article {
  border-color: #e2e7f0;
  background: linear-gradient(145deg, #fff, #fbfcff);
}

.feature-grid article:nth-child(2n) .feature-icon {
  background: #e9efff;
}

.feature-icon {
  box-shadow: inset 0 0 0 1px rgba(41, 69, 132, .07);
}

.login-brand {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 12%, rgba(255, 255, 255, .4), transparent 25%),
    linear-gradient(145deg, #fec005, #ffdb5e);
}

.login-brand::after {
  position: absolute;
  right: -130px;
  bottom: -160px;
  width: 420px;
  height: 420px;
  content: '';
  border: 70px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
}

.login-brand > * {
  position: relative;
  z-index: 1;
}

.login-official-logo {
  width: 104px;
  height: 104px;
  margin-bottom: 24px;
  border: 5px solid rgba(255, 255, 255, .9);
  border-radius: 25px;
  box-shadow: 0 20px 45px rgba(24, 43, 85, .22);
}

.login-message h1 {
  margin-top: 13px;
}

.login-card form {
  border: 1px solid rgba(41, 69, 132, .08);
}

.panel > aside .brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 13px;
}

footer .brand-logo {
  width: 46px;
  height: 46px;
}

@media (max-width: 900px) {
  .topbar {
    display: none;
  }

  .site-header {
    height: 76px;
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 650px) {
  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .site-header .brand span:last-child {
    font-size: 18px;
  }

  .site-header .button.small {
    min-height: 42px;
    padding-inline: 14px;
    font-size: 12px;
  }

  .hero {
    padding-top: 50px;
  }

  .login-official-logo {
    width: 82px;
    height: 82px;
    margin-bottom: 18px;
  }
}
