/* ===== CONTEÚDO / HOME ===== */

html {
  scroll-behavior: smooth;
}

body {
  color: var(--text);
}

/* secções */
.home-hero,
.home-services,
.home-products,
.home-brands,
.home-resellers,
.home-cta {
  position: relative;
}

.home-hero {
  padding-top: 3.5rem !important;
  padding-bottom: 4.25rem !important;
  background:
    radial-gradient(circle at 12% 18%, rgba(0, 85, 228, 0.08), transparent 32%),
    radial-gradient(circle at 88% 14%, rgba(1, 213, 251, 0.10), transparent 28%);
}

.home-services,
.home-products,
.home-brands,
.home-resellers,
.home-cta {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

/* títulos e texto */
.home-hero h1,
.home-services h2,
.home-products h2,
.home-brands h2,
.home-resellers h2,
.home-cta h2 {
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.home-hero h1 {
  color: var(--brand);
  font-size: 42px;
  line-height: 1.32;
  max-width: 17ch;
  margin-bottom: 1rem;
}

.home-services h2,
.home-products h2,
.home-brands h2,
.home-resellers h2 {
  color: var(--brand);
}

.home-cta h2 {
  color: #fff;
}

.home-hero h2 {
  color: var(--muted) !important;
  font-size: clamp(1.05rem, 1.35vw, 1.35rem);
  font-weight: 500;
  line-height: 1.45;
  max-width: 38rem;
  margin-bottom: 1.5rem;
}

.home-hero p,
.home-services p,
.home-products p,
.home-brands p,
.home-resellers p,
.home-cta p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1rem;
}

.home-services .text-center p,
.home-products .text-center p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* hero */
.hero-trust {
  align-items: center;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: var(--shadow);
}

.hero-trust span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  flex: 0 0 8px;
}

.hero-visual {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center; /* sobe tudo */
  justify-content: center;
}

.hero-visual-main {
  position: relative;
  z-index: 2;
  width: min(100%, 560px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.hero-visual-main.hero-shine-card {
  cursor: default;
}

.hero-visual-main img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-floating-card {
  position: absolute;
  z-index: 3;
  max-width: 240px;
  padding: 1rem 1.1rem;
  border: 1px solid var(--stroke);
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow);
}

.hero-floating-card strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--brand);
  font-size: 0.98rem;
  line-height: 1.25;
}

.hero-floating-card span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.hero-floating-card-1 {
  top: 20%;
  right: -2%;
}

.hero-floating-card-2 {
  bottom: 23%;
  left: -1%;
}

/* botões */
.btn {
  border-radius: 10px;
  font-weight: 600;
  padding: 0.82rem 1.35rem;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand);
  border-color: var(--brand);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background: var(--brand2) !important;
  border-color: var(--brand2) !important;
}

.btn-outline-primary {
  color: var(--brand);
  border-color: var(--brand);
  background: transparent;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
  background: var(--brand) !important;
  border-color: var(--brand) !important;
  color: #fff !important;
}

/* cards */
.home-card > div {
  background: #fff;
  border: 1px solid var(--stroke) !important;
  border-radius: var(--r) !important;
  box-shadow: var(--shadow);
  transition:
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.home-card:hover > div {
  box-shadow: var(--shadow-soft);
  border-color: rgba(15, 23, 42, 0.16) !important;
}

.home-card h3 {
  color: var(--brand);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.home-card p {
  margin-bottom: 0;
  color: var(--text);
}

.home-card img {
  display: inline-block;
  object-fit: contain;
}

/* serviços */
.home-services .home-card > div {
  padding: 1.6rem !important;
}

/* produtos */
.home-products .home-card > div {
  padding: 1.5rem !important;
  text-align: center;
}

.home-products .home-card .fs-1 {
  color: var(--brand);
  line-height: 1;
  font-weight: 400;
}

/* blocos com fundo leve */
.home-products,
.home-resellers {
  background: rgba(255, 255, 255, 0.28);
}

.home-brands .bg-light {
  background: #fff !important;
  border: 1px solid var(--stroke);
  border-radius: var(--r);
  box-shadow: var(--shadow);
}

.home-brands ul {
  margin: 0;
  padding-left: 1.2rem;
}

.home-brands li {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.home-brands li:last-child {
  margin-bottom: 0;
}

/* CTA */
.home-cta .container {
  max-width: 920px;
  background: white;
  border-radius: var(--r);
  padding: 2.75rem 1.5rem;
  box-shadow: var(--shadow-soft);
  border: solid 1px rgba(15, 23, 42, 0.16) !important;
}

.home-cta .container::before,
.home-cta .container::after {
  display: none;
}

.home-cta h2 {
  color: var(--brand);
}

.home-cta p {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.95;
  color: var(--text)
}

.home-cta .btn-outline-primary:hover,
.home-cta .btn-outline-primary:focus,
.home-cta .btn-outline-primary:active {
  background: #fff !important;
  color: var(--brand) !important;
  border-color: var(--brand) !important;
}

/* acessibilidade */
a:focus-visible,
.btn:focus-visible {
  outline: 3px solid rgba(1, 213, 251, 0.28);
  outline-offset: 3px;
}

/* animação hero */
@keyframes heroFloat {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
  100% {
    transform: translateY(0);
  }
}

.hero-visual-main {
  animation: heroFloat 4.5s ease-in-out infinite;
}

.hero-floating-card-2 {
  animation-delay: 0.8s;
}

/* responsive */
@media (max-width: 991.98px) {
  .home-hero {
    padding-top: 2.75rem !important;
    padding-bottom: 3.25rem !important;
  }

  .home-hero h1 {
    font-size: clamp(2.2rem, 6.8vw, 3.2rem);
    max-width: 12ch;
  }

  .hero-visual {
    min-height: auto;
    margin-top: 1rem;
  }

  .hero-visual-main {
    width: 100%;
  }

  .hero-floating-card-1 {
    top: 1rem;
    right: 1rem;
  }

  .hero-floating-card-2 {
    bottom: 1rem;
    left: 1rem;
  }
}

@media (max-width: 767.98px) {
  .home-hero h1 {
    font-size: clamp(2rem, 9vw, 2.7rem);
    line-height: 1.05;
    max-width: 100%;
  }

  .home-hero h2 {
    font-size: 1rem !important;
  }

  .hero-trust span {
    font-size: 0.86rem;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-visual-main {
    padding: 1rem;
    border-radius: var(--r);
  }

  .hero-floating-card {
    position: static;
    max-width: none;
    margin-top: 0.75rem;
    animation: none;
  }

  .home-services .home-card > div,
  .home-products .home-card > div,
  .home-brands .bg-light,
  .home-cta .container {
    padding: 1.25rem !important;
  }

  .btn {
    width: 100%;
  }

  .home-hero .d-flex,
  .home-cta .d-flex {
    gap: 0.75rem !important;
  }
}

.hero-shine-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero-shine-card > *:not(.hero-shine) {
  position: relative;
  z-index: 1;
}

.hero-shine {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition:
    opacity 0.22s ease,
    background 0.12s ease;
  background:
    radial-gradient(
      220px 220px at 50% 50%,
      rgba(255, 255, 255, 0.28),
      rgba(255, 255, 255, 0.12) 22%,
      rgba(255, 255, 255, 0.00) 60%
    );
}

h2 {
	font-size: 45px;
	color: var(--brand);
	font-weight: 800;
}

.imagem {
	width: 100%;
	height: auto;
	text-align: center;
	border-radius: 10px;
}

/* ===== HERO COPY BOX ===== */

.home-hero .col-lg-6:first-child {
  position: relative;
  z-index: 2;
}

.hero-copy-box {
  max-width: 720px;
  padding: 2rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: calc(var(--r) + 8px);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-copy-box h1,
.hero-copy-box h2,
.hero-copy-box p {
  max-width: none;
}

.hero-copy-box h1 {
  margin-bottom: 1rem;
}

.hero-copy-box h2 {
  margin-bottom: 1.25rem;
}

.hero-copy-box p:last-of-type {
  margin-bottom: 0;
}

.hero-copy-box .d-flex {
  margin-top: 1.75rem !important;
}
/* box apenas no conteúdo textual do hero */
.hero-copy-box {
  padding: 2rem 2rem 1.75rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: calc(var(--r) + 8px);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-copy-box h1,
.hero-copy-box h2,
.hero-copy-box p {
  max-width: none;
}

.hero-copy-box h1 {
  margin-bottom: 1rem;
}

.hero-copy-box h2 {
  margin-bottom: 1.25rem;
}

.hero-copy-box p:last-of-type {
  margin-bottom: 0;
}

.hero-copy-box .d-flex {
  margin-top: 1.75rem !important;
}

@media (max-width: 991.98px) {
  .hero-copy-box {
    padding: 1.5rem 1.35rem;
  }
}

@media (max-width: 767.98px) {
  .hero-copy-box {
    padding: 1.25rem 1rem;
    border-radius: var(--r);
  }
}

.hero-shine-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--r);
}

.hero-shine-card .hero-tilt-target,
.hero-shine-card > div,
.hero-shine {
  border-radius: inherit;
}