.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 32%, rgba(25, 112, 211, 0.24), transparent 34%),
    linear-gradient(135deg, #030b17 0%, #06162c 58%, #082448 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../../ativos/imagens/hero-eday-software-v1.webp') center center / cover no-repeat;
  filter: saturate(0.96) contrast(1.03) brightness(0.92);
  opacity: 0.96;
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(84px, 10vw, 160px);
  background: linear-gradient(180deg, rgba(7, 17, 31, 0) 0%, rgba(7, 17, 31, 0.58) 100%);
  pointer-events: none;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(3, 10, 21, 0.99) 0%,
      rgba(4, 13, 28, 0.96) 22%,
      rgba(5, 16, 34, 0.89) 38%,
      rgba(6, 18, 36, 0.58) 57%,
      rgba(7, 24, 48, 0.22) 78%,
      rgba(7, 24, 48, 0.14) 100%),
    radial-gradient(circle at 78% 38%, rgba(79, 179, 255, 0.2), transparent 28%),
    linear-gradient(180deg, rgba(5, 14, 29, 0.16) 0%, rgba(5, 14, 29, 0.03) 62%, rgba(5, 14, 29, 0.64) 100%);
  pointer-events: none;
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.02;
  background: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.72) 1px, transparent 1.8px) center / 18px 18px repeat;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  min-height: 100svh;
  margin: 0;
  display: flex;
  align-items: center;
  padding: clamp(138px, 14vh, 164px) var(--gutter-fluid) clamp(76px, 8vh, 96px);
}

.hero-left {
  width: min(100%, 780px);
  color: #ffffff;
}

.hero-title {
  margin: 0;
  font-size: clamp(1.82rem, 3.42vw, 3.14rem);
  line-height: 1.04;
  letter-spacing: 0;
  font-weight: 800;
}

.hero-line {
  display: block;
  white-space: nowrap;
}

.hero-title .highlight {
  color: #4fb3ff;
  text-shadow:
    0 0 8px rgba(79, 179, 255, 0.46),
    0 0 18px rgba(79, 179, 255, 0.24),
    0 0 34px rgba(79, 179, 255, 0.16);
}

.hero-desc {
  margin-top: 16px;
  width: min(100%, 664px);
  font-size: clamp(0.94rem, 0.98vw, 1.04rem);
  line-height: 1.48;
  color: #d5e2f8;
  text-wrap: pretty;
}

.hero-desc strong {
  color: #ffffff;
}

.hero-stack {
  margin-top: 16px;
  width: min(100%, 680px);
  display: grid;
  gap: 8px;
}

.hero-stack-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-stack-row--single span {
  flex: 1 1 100%;
}

.hero-stack span {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px 13px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(79, 179, 255, 0.2), rgba(35, 109, 185, 0.12));
  border: 1px solid rgba(108, 196, 255, 0.32);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 18px rgba(79, 179, 255, 0.08);
  text-align: center;
  white-space: nowrap;
}

.hero-cta {
  display: flex;
  width: min(100%, 680px);
  margin-top: 16px;
  justify-content: center;
}

.hero-cta .botao {
  width: min(100%, 460px);
  min-height: 48px;
  justify-content: center;
  font-size: 0.95rem;
}

.hero-cta .botao--primario {
  background: linear-gradient(180deg, #67beff 0%, #45aaff 100%);
  border-color: rgba(120, 195, 255, 0.9);
  color: #ffffff;
  box-shadow:
    0 14px 34px rgba(79, 179, 255, 0.24),
    0 0 18px rgba(79, 179, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.hero-cta .botao--primario:hover {
  background: linear-gradient(180deg, #76c6ff 0%, #4bb0ff 100%);
  border-color: rgba(138, 205, 255, 0.96);
  box-shadow:
    0 16px 38px rgba(79, 179, 255, 0.28),
    0 0 20px rgba(79, 179, 255, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  top: calc(100svh - 76px);
  bottom: auto;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.84);
  z-index: 2;
}

.scroll-text {
  font-size: 0.76rem;
}

.mouse {
  width: 26px;
  height: 40px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.64);
  display: inline-flex;
  justify-content: center;
  padding-top: 6px;
}

.wheel {
  width: 4px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  animation: heroWheel 1.6s ease-in-out infinite;
}

@keyframes heroWheel {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.4; }
}


@media (max-width: 1700px) and (max-height: 820px) {
  .hero {
    background-position: 78% center;
  }

  .hero-container {
    padding-top: 118px;
    padding-bottom: 88px;
    align-items: flex-start;
  }

  .hero-left {
    width: min(100%, 680px);
  }

  .hero-title {
    font-size: clamp(1.48rem, 2.86vw, 2.48rem);
    line-height: 1.01;
  }

  .hero-desc {
    margin-top: 12px;
    width: min(100%, 620px);
    font-size: 0.84rem;
    line-height: 1.28;
  }

  .hero-stack {
    margin-top: 12px;
    width: min(100%, 620px);
    gap: 5px;
  }

  .hero-stack-row {
    gap: 5px;
  }

  .hero-stack span {
    min-height: 31px;
    padding: 5px 11px;
    font-size: 0.73rem;
  }

  .hero-cta {
    width: min(100%, 620px);
    margin-top: 10px;
    justify-content: center;
  }

  .hero-cta .botao {
    width: min(100%, 420px);
    min-height: 44px;
    font-size: 0.91rem;
    box-shadow:
      0 10px 24px rgba(79, 179, 255, 0.18),
      0 0 14px rgba(79, 179, 255, 0.14),
      inset 0 1px 0 rgba(255, 255, 255, 0.16);
  }

  .scroll-indicator {
    top: calc(100svh - 60px);
    bottom: auto;
    gap: 4px;
  }

  .scroll-text {
    font-size: 0.68rem;
  }

  .mouse {
    width: 22px;
    height: 34px;
    padding-top: 5px;
  }

  .wheel {
    height: 7px;
  }
}

@media (max-width: 1280px) {
  .hero {
    background-position: 72% center;
  }

  .hero-title {
    font-size: clamp(2.05rem, 4.45vw, 3.5rem);
  }

  .hero-desc {
    width: min(100%, 610px);
    font-size: 0.96rem;
  }
}

@media (max-width: 980px) {
  .hero::before {
    background-size: cover;
    background-position: 66% center;
    opacity: 0.68;
  }

  .hero {
    background-position: 74% center;
  }

  .hero-container {
    align-items: flex-start;
    padding: 106px var(--gutter-fluid-tight) 72px;
  }

  .hero-left,
  .hero-desc,
  .hero-stack,
  .hero-cta {
    width: 100%;
    max-width: 100%;
  }

  .hero-title {
    font-size: clamp(1.78rem, 4.75vw, 2.7rem);
    line-height: 1.05;
  }

  .hero-desc {
    margin-top: 16px;
    font-size: 0.92rem;
    line-height: 1.42;
  }

  .hero-stack {
    margin-top: 16px;
    gap: 7px;
  }

  .hero-stack-row {
    gap: 7px;
  }

  .hero-stack span {
    min-height: 34px;
    padding: 6px 12px;
    font-size: 0.74rem;
  }

  .hero-cta {
    margin-top: 18px;
    justify-content: center;
  }

  .hero-cta .botao {
    width: min(100%, 520px);
    min-height: 50px;
  }

  .scroll-indicator {
    top: calc(100svh - 66px);
    bottom: auto;
    gap: 6px;
  }
}

@media (max-width: 640px) {
  .hero {
    background-position: 78% center;
  }

  .hero-container {
    padding: 94px var(--gutter-fluid-tight) 60px;
  }

  .hero-title {
    font-size: clamp(1.22rem, 6.2vw, 1.72rem);
    letter-spacing: 0;
  }

  .hero-desc {
    font-size: 0.83rem;
    line-height: 1.38;
  }

  .hero-stack {
    margin-top: 14px;
    gap: 6px;
  }

  .hero-stack-row {
    gap: 6px;
  }

  .hero-stack span {
    flex: 1 1 calc(50% - 6px);
    min-height: 30px;
    padding: 6px 9px;
    font-size: 0.65rem;
  }

  .hero-stack-row--single span {
    flex-basis: 100%;
  }

  .hero-cta {
    margin-top: 16px;
  }

  .hero-cta .botao {
    min-height: 46px;
    font-size: 0.95rem;
  }

  .scroll-text {
    font-size: 0.68rem;
  }

  .mouse {
    width: 22px;
    height: 34px;
    padding-top: 5px;
  }

  .wheel {
    width: 3px;
    height: 7px;
  }
}

@media (max-height: 900px) and (min-width: 981px) {
  .hero-container {
    padding-top: 122px;
    padding-bottom: 64px;
  }

  .hero-title {
    font-size: clamp(2rem, 4.3vw, 3.6rem);
  }

  .hero-desc {
    margin-top: 16px;
    font-size: 0.95rem;
    line-height: 1.42;
  }

  .hero-stack {
    margin-top: 14px;
    gap: 7px;
  }

  .hero-stack span {
    min-height: 34px;
    font-size: 0.78rem;
    padding: 6px 12px;
  }

  .hero-cta {
    margin-top: 18px;
    justify-content: center;
  }

  .hero-cta .botao {
    width: min(100%, 520px);
    min-height: 50px;
  }
}

@media (max-height: 760px) {
  .hero-container {
    padding-top: 112px;
    padding-bottom: 54px;
  }

  .hero-desc {
    margin-top: 12px;
    font-size: 0.81rem;
    line-height: 1.32;
  }

  .hero-stack {
    margin-top: 12px;
    gap: 5px;
  }

  .hero-stack-row {
    gap: 5px;
  }

  .hero-stack span {
    min-height: 28px;
    padding: 5px 8px;
    font-size: 0.62rem;
  }

  .hero-cta {
    margin-top: 14px;
    justify-content: center;
  }

  .hero-cta .botao {
    width: min(100%, 450px);
    min-height: 42px;
  }

  .scroll-indicator {
    top: calc(100svh - 58px);
    bottom: auto;
    gap: 4px;
  }

  .scroll-text {
    font-size: 0.62rem;
  }

  .mouse {
    width: 20px;
    height: 30px;
  }
}

@media (max-height: 760px) and (max-width: 640px) {
  .hero-container {
    padding-top: 94px;
  }
}

/* Refresh clean 2026 */
.hero {
  min-height: auto;
  background:
    linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.96) 48%, rgba(233, 244, 255, 0.78) 100%);
}

.hero::before {
  inset: 0;
  width: 100%;
  height: 100%;
  background: url('../../ativos/imagens/clean-hero-software-sem-mao.png') center right / cover no-repeat;
  filter: saturate(0.96) contrast(1.02);
  opacity: 0.62;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0.28) 27%, rgba(0, 0, 0, 0.58) 49%, #000000 76%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0.28) 27%, rgba(0, 0, 0, 0.58) 49%, #000000 76%);
}

.hero::after {
  height: 1px;
  background: rgba(16, 32, 51, 0.08);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.82) 0%, rgba(255,255,255,0.78) 35%, rgba(255,255,255,0.64) 55%, rgba(255,255,255,0.12) 100%);
}

.hero-noise {
  display: none;
}

.hero-container {
  min-height: calc(100svh - 24px);
  padding: 110px var(--gutter-fluid) 100px;
  align-items: center;
}

.hero-left {
  width: min(100%, 780px);
  color: var(--cor-texto-principal);
}

.hero-title {
  font-size: 2.75rem;
  line-height: 1.06;
  letter-spacing: 0;
  color: var(--cor-azul-profundo);
}

.hero-line {
  white-space: nowrap;
}

.hero-title .highlight {
  color: var(--cor-destaque);
  text-shadow: none;
}

.hero-desc {
  width: min(100%, 720px);
  margin-top: 12px;
  color: var(--cor-texto-secundario);
  font-size: 0.94rem;
  line-height: 1.44;
}

.hero-desc strong {
  color: var(--cor-texto-principal);
}

.hero-stack {
  width: min(100%, 720px);
  margin-top: 12px;
  gap: 5px;
}

.hero-stack-row {
  gap: 5px;
}

.hero-stack span {
  min-height: 30px;
  padding: 4px 10px;
  font-size: 0.75rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #f8fdff 0%, #d8f0ff 52%, #b8e1f8 100%);
  border-color: rgba(51, 143, 205, 0.52);
  color: #123758;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -2px 0 rgba(24, 111, 171, 0.18),
    0 3px 0 rgba(27, 110, 166, 0.2),
    0 7px 14px rgba(20, 83, 128, 0.12);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.58);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.hero-stack-row--ai span {
  border-color: rgba(51, 143, 205, 0.52);
  background: linear-gradient(180deg, #f8fdff 0%, #d8f0ff 52%, #b8e1f8 100%);
}

.hero-stack span:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -2px 0 rgba(24, 111, 171, 0.18),
    0 4px 0 rgba(27, 110, 166, 0.2),
    0 10px 18px rgba(20, 83, 128, 0.15);
}

.hero-cta {
  justify-content: flex-start;
  width: min(100%, 720px);
  margin-top: 18px;
}

.hero-cta .botao {
  width: 100%;
  min-width: 0;
  min-height: 44px;
}

.hero-cta .botao--primario,
.hero-cta .botao--primario:hover {
  background: var(--cor-destaque);
  border-color: var(--cor-destaque);
  box-shadow: var(--sombra-botao);
}

.hero-cta .botao--primario:hover {
  background: var(--cor-destaque-hover);
}

.scroll-indicator {
  top: auto;
  bottom: 18px;
  display: inline-flex;
  gap: 5px;
  color: var(--cor-texto-secundario);
}

.scroll-indicator[hidden] {
  display: none;
}

.mouse {
  border-color: rgba(16, 32, 51, 0.28);
}

.wheel {
  background: var(--cor-destaque);
}

@media (max-width: 980px) {
  .hero-container {
    padding: 100px var(--gutter-fluid-tight) 94px;
  }

  .hero-left {
    width: min(100%, 720px);
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero::before {
    width: 100%;
    opacity: 0.38;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.24) 44%, #000000 100%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.24) 44%, #000000 100%);
  }

  .hero-overlay {
    background: rgba(255, 255, 255, 0.76);
  }
}

@media (max-height: 820px) and (min-width: 981px) {
  .hero-container {
    padding-top: 102px;
    padding-bottom: 86px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-desc {
    margin-top: 10px;
    font-size: 0.88rem;
    line-height: 1.36;
  }

  .hero-stack {
    row-gap: 5px;
    column-gap: 3px;
  }

  .hero-stack-row {
    gap: 3px;
  }

  .hero-stack {
    margin-top: 9px;
  }

  .hero-stack span {
    min-height: 23px;
    padding: 3px 8px;
    font-size: 0.67rem;
  }

  .hero-cta {
    margin-top: 17px;
  }

  .hero-cta .botao {
    min-height: 42px;
  }
}

@media (max-width: 640px) {
  .hero-container {
    padding: 88px var(--gutter-fluid-tight) 84px;
  }

  .hero-title {
    font-size: 1.4rem;
    line-height: 1.12;
  }

  .hero-desc {
    font-size: 0.8rem;
    line-height: 1.4;
  }

  .hero-stack {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    max-width: 100%;
    overflow: visible;
    padding: 0;
  }

  .hero-stack-row {
    display: contents;
  }

  .hero-stack span {
    min-width: 0;
    min-height: 29px;
    max-width: none;
    padding: 4px 5px;
    font-size: 0.62rem;
    line-height: 1.22;
    white-space: normal;
  }

  .hero-stack-row--single span {
    grid-column: auto;
  }

  .hero-cta .botao {
    width: 100%;
  }

  .scroll-indicator {
    bottom: 14px;
  }
}

@media (max-width: 360px) {
  .hero-title {
    font-size: 1.2rem;
  }
}

@media (max-height: 740px) and (max-width: 640px) {
  .hero-desc {
    margin-top: 10px;
    font-size: 0.76rem;
    line-height: 1.32;
  }

  .hero-stack {
    margin-top: 10px;
    gap: 4px;
  }

  .hero-stack span {
    min-height: 25px;
    padding-block: 3px;
  }
}
