/* VOLANTE APP — HOME-DOWNLOAD.CSS */
/* Escopo: Bloco de download da Home */

.home-download {
  width: 100%;
  min-width: 0;
  min-height: auto;
  margin: 0;
  padding: 18px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, .10), transparent 28%),
    linear-gradient(135deg, #07111f 0%, #0b1b31 58%, #07111f 100%);
  border: 1px solid rgba(255, 255, 255, .11);
  box-shadow: 0 8px 20px rgba(15, 23, 42, .04);
}

.home-download::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 17px;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .08), transparent 42%),
    linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, .03) 100%);
}

.home-download::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .055);
  pointer-events: none;
}

.hero-app-texto {
  position: relative;
  z-index: 2;
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: #ffffff;
}

.hero-app-texto span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  margin: 0 0 12px;
  padding: 0 10px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .18);
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .06em;
  line-height: 1;
  text-transform: uppercase;
}

.hero-app-texto h2 {
  max-width: 100%;
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 1.45rem;
  font-weight: 950;
  letter-spacing: -.055em;
  line-height: 1;
}

.hero-app-texto p {
  max-width: 100%;
  margin: 0 0 16px;
  color: rgba(255, 255, 255, .78);
  font-size: .76rem;
  font-weight: 650;
  line-height: 1.35;
}

.hero-lojas {
  position: relative;
  z-index: 3;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: auto 0 0;
}

.hero-loja-btn {
  width: 100%;
  height: 44px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 10px 20px rgba(2, 6, 23, .18);
  text-decoration: none;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.hero-loja-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(2, 6, 23, .22);
}

.hero-loja-btn img {
  width: 100%;
  max-width: 112px;
  max-height: 28px;
  object-fit: contain;
  display: block;
}

.hero-app-visual,
.hero-app-visual::before,
.hero-app-visual img,
.hero-loja-texto {
  display: none !important;
}

@media (max-width: 1180px) {
  .home-download {
    padding: 18px;
  }
}

@media (max-width: 820px) {
  .home-download {
    padding: 20px;
    border-radius: 22px;
  }

  .home-download::before {
    border-radius: 21px;
  }

  .hero-app-texto h2 {
    font-size: 2rem;
  }

  .hero-app-texto p {
    font-size: .9rem;
  }

  .hero-lojas {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .hero-loja-btn {
    height: 50px;
    border-radius: 16px;
  }

  .hero-loja-btn img {
    max-width: 132px;
    max-height: 32px;
  }
}

@media (max-width: 430px) {
  .hero-lojas {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-loja-btn {
    height: 44px;
    padding: 0 7px;
    border-radius: 14px;
  }

  .hero-loja-btn img {
    max-width: 112px;
    max-height: 28px;
  }
}

@media (max-width: 380px) {
  .home-download {
    padding: 18px;
  }

  .hero-app-texto h2 {
    font-size: 1.78rem;
  }

  .hero-app-texto p {
    font-size: .86rem;
  }

  .hero-lojas {
    gap: 7px;
  }

  .hero-loja-btn {
    height: 42px;
    padding: 0 6px;
  }

  .hero-loja-btn img {
    max-width: 104px;
    max-height: 26px;
  }
}
