/* ============================================================
   HOME / INDEX — dark consistente (alinhado a Infinity/Edutech)
   Verde Vox #9AC31C · navy #00365F
   Sobrescreve os fundos claros do style.css e adiciona
   os componentes novos (vitrine, clientes, reels).
   ============================================================ */

.home-page {
  --h-bg: #061320;
  --h-bg2: #0A1B2B;
  --h-panel: #0E2133;
  --h-line: rgba(120, 175, 215, .15);
  --h-text: rgba(235, 244, 250, .92);
  --h-soft: rgba(185, 208, 226, .62);
  background: var(--h-bg);
  color: var(--h-text);
}

/* Nav com 7 itens: não quebrar linha, gap um pouco menor */
.home-page .nav__links { gap: 22px; }
.home-page .nav__links > a { white-space: nowrap; }

/* Destaque em verde sólido (substitui os degradês do style.css) */
.home-page .everde { color: var(--verde); }
.home-page h2 { color: var(--white); }
.home-page .eyebrow { color: var(--verde); }
.home-page .section__sub { color: var(--h-soft); }

/* Fachada como fundo do hero (abaixo das partículas) */
.hero__bg {
  position: absolute;
  inset: 0;
  background: url('../assets/fachada-hero.jpg') center right / cover no-repeat;
  opacity: .5;
  z-index: 0;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--h-bg) 0%, rgba(6,19,32,.72) 42%, rgba(6,19,32,.35) 100%),
    linear-gradient(180deg, rgba(6,19,32,.5) 0%, transparent 30%, transparent 60%, var(--h-bg) 100%);
}
.home-page #heroCanvas { z-index: 1; }
.home-page .hero__content { z-index: 3; }
.home-page .hero__glow { z-index: 1; }

/* Faixa de prova no hero */
.hero__proof { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 30px; }
.hero__proof span { color: rgba(255,255,255,.66); font-size: .9rem; font-weight: 500; }

/* ============ MARQUEE ============ */
.hmarquee {
  background: linear-gradient(90deg, var(--verde) 0%, #AFD43C 100%);
  overflow: hidden;
  padding: 14px 0;
}
.hmarquee__track {
  display: flex;
  align-items: center;
  gap: 30px;
  width: max-content;
  animation: hmarquee 32s linear infinite;
}
.hmarquee__track span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .92rem;
  color: var(--deep);
  white-space: nowrap;
}
.hmarquee__track i { font-style: normal; color: rgba(0, 30, 53, .45); }
@keyframes hmarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ NÚMEROS ============ */
.home-page .stats {
  background: var(--h-bg2);
  border-bottom: 1px solid var(--h-line);
}

/* ============ QUEM SOMOS (dark) ============ */
.home-page .about { background: var(--h-bg); }
.home-page .about__text p { color: var(--h-soft); }
.home-page .about__text p strong { color: var(--white); }
.home-page .about__values li {
  color: var(--h-text);
  background: rgba(154, 195, 28, .12);
  border-color: rgba(154, 195, 28, .4);
}
.home-page .about__photo figcaption { color: var(--h-soft); }
.home-page .mv__card {
  background: linear-gradient(160deg, var(--h-panel), #0A1826);
  border: 1px solid var(--h-line);
  border-left: 4px solid var(--verde);
}

/* ============ SOLUÇÕES — vitrine ============ */
.home-page .products { background: var(--h-bg2); border-block: 1px solid var(--h-line); }
.hprod__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 46px;
}
.hprod {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3.5vw, 40px);
  border-radius: 22px;
  background: linear-gradient(165deg, var(--h-panel) 0%, #0A1826 100%);
  border: 1px solid var(--h-line);
  text-decoration: none;
  overflow: hidden;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.hprod::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--acc, var(--verde));
  opacity: .0;
  transition: opacity .35s ease;
}
.hprod:hover {
  transform: translateY(-8px);
  border-color: color-mix(in srgb, var(--acc, var(--verde)) 55%, transparent);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .45);
}
.hprod:hover::before { opacity: 1; }
.hprod__glow {
  position: absolute;
  width: 260px; height: 260px;
  border-radius: 50%;
  top: -120px; right: -100px;
  background: radial-gradient(circle, color-mix(in srgb, var(--acc) 22%, transparent), transparent 70%);
  pointer-events: none;
}
.hprod--infinity { --acc: #377CBE; }
.hprod--edutech { --acc: #9AC31C; }
.hprod--movel { --acc: #0FA88F; }
.hprod--guardian { --acc: #E0A63C; }
.hprod--wide { grid-column: span 1; }
.hprod__tag {
  align-self: flex-start;
  font-family: var(--font-head);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--deep);
  background: var(--verde);
  padding: 5px 13px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hprod__icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--acc) 16%, transparent);
  color: var(--acc);
  margin-bottom: 20px;
}
.hprod__icon svg { width: 32px; height: 32px; }
.hprod__icon--img { background: transparent; }
.hprod__icon--img img { width: 100%; height: 100%; object-fit: contain; }
.hprod h3 { color: var(--white); font-size: 1.6rem; margin-bottom: 4px; }
.hprod__kicker {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .92rem;
  color: var(--acc);
  margin-bottom: 14px;
}
.hprod__desc { color: var(--h-soft); font-size: .97rem; margin-bottom: 22px; flex: 1; }
.hprod__link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  color: var(--white);
  transition: gap .3s ease;
}
.hprod:hover .hprod__link { color: var(--acc); }

/* ============ TECNOLOGIA (IA & Nuvem) ============ */
.home-page .tech {
  background:
    radial-gradient(60% 60% at 80% 0%, rgba(55, 124, 190, .16), transparent 60%),
    var(--h-bg);
}
.tcard--hl {
  background: linear-gradient(160deg, rgba(154, 195, 28, .16), rgba(55, 124, 190, .1));
  border-color: rgba(154, 195, 28, .45);
}

/* ============ SUPORTE ============ */
.support {
  background:
    radial-gradient(55% 60% at 90% 10%, rgba(154, 195, 28, .12), transparent 60%),
    var(--h-bg);
}
.support__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}
.support__text .btn { margin-top: 26px; }
.support__feats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.sfeat { display: flex; gap: 14px; }
.sfeat__icon {
  width: 46px; height: 46px;
  flex-shrink: 0;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: rgba(154, 195, 28, .14);
  color: var(--verde);
}
.sfeat__icon svg { width: 24px; height: 24px; }
.sfeat h3 { color: var(--white); font-size: 1rem; margin-bottom: 4px; }
.sfeat p { color: var(--h-soft); font-size: .88rem; }
.support__shot {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--h-line);
  box-shadow: 0 34px 90px rgba(0, 0, 0, .5);
  background: #0B1B2C;
}
.support__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 16px;
  background: #0B1B2C;
  border-bottom: 1px solid var(--h-line);
}
.support__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.16); }
.support__bar i:nth-child(1) { background: #E0645C; }
.support__bar i:nth-child(2) { background: #E0A63C; }
.support__bar i:nth-child(3) { background: #7CB94F; }
.support__bar span { margin-left: 8px; font-size: .76rem; color: var(--h-soft); font-weight: 500; }
.support__shot img { width: 100%; display: block; }
.support__live {
  position: absolute;
  top: 54px; right: 16px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .74rem;
  font-weight: 600;
  color: var(--verde);
  background: rgba(4, 12, 20, .8);
  border: 1px solid rgba(154, 195, 28, .4);
  border-radius: 999px;
  padding: 5px 12px;
}
.support__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--verde);
  box-shadow: 0 0 0 0 rgba(154, 195, 28, .7);
  animation: livePulse 1.8s ease-out infinite;
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(154, 195, 28, .6); }
  100% { box-shadow: 0 0 0 10px rgba(154, 195, 28, 0); }
}

/* Faixa de confiança */
.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: clamp(40px, 5vw, 60px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--h-line);
}
.trust__item { display: flex; align-items: center; gap: 16px; }
.trust__icon {
  width: 54px; height: 54px;
  flex-shrink: 0;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(154,195,28,.18), rgba(55,124,190,.12));
  border: 1px solid rgba(154, 195, 28, .3);
  color: var(--verde);
}
.trust__icon svg { width: 28px; height: 28px; }
.trust__item strong { display: block; font-family: var(--font-head); color: var(--white); font-size: 1.02rem; }
.trust__item span { color: var(--h-soft); font-size: .85rem; }

/* ============ ABRANGÊNCIA ============ */
.home-page .reach { background: var(--h-bg2); border-block: 1px solid var(--h-line); }
.usercount { margin: 26px 0 30px; max-width: 420px; }
.usercount__head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.usercount__num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  color: var(--verde);
  line-height: 1;
}
.usercount__label { color: var(--h-soft); font-size: .95rem; }
.usercount__bar {
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
}
.usercount__bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #7FA716, var(--verde) 70%, var(--verde-claro));
  box-shadow: 0 0 14px rgba(154, 195, 28, .5);
}
.usercount__scale { display: flex; justify-content: space-between; margin-top: 7px; color: var(--h-soft); font-size: .78rem; }

/* ============ CLIENTES (carrossel) ============ */
.hclients { background: var(--h-bg); overflow: hidden; }
.hclients__carousel {
  margin-top: 40px;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.hclients__track {
  display: flex;
  gap: 20px;
  width: max-content;
  padding: 6px 0;
  animation: hclients 75s linear infinite;
}
.hclients__carousel:hover .hclients__track { animation-play-state: paused; }
@keyframes hclients { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.hcli {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 26px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--h-line);
  white-space: nowrap;
}
.hcli__b {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(154, 195, 28, .13);
  color: var(--verde);
  flex-shrink: 0;
}
.hcli__b svg { width: 26px; height: 26px; }
.hcli strong { display: block; font-family: var(--font-head); font-size: 1rem; color: var(--h-text); }
.hcli small { color: var(--h-soft); font-size: .78rem; }
.hcli--more { border-style: dashed; border-color: rgba(154, 195, 28, .45); }
.hcli--more strong { color: var(--verde); }

/* ============ REELS (carrossel) ============ */
.hreels { background: var(--h-bg2); border-block: 1px solid var(--h-line); }
.hreels__wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
}
.hreels__slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 10px 4px 22px;
  flex: 1;
}
.hreels__slider::-webkit-scrollbar { display: none; }
.hreel {
  flex: 0 0 min(300px, 78vw);
  scroll-snap-align: start;
  border-radius: 22px;
  overflow: hidden;
  background: #0B1B2C;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .5);
  transition: transform .3s ease, border-color .3s ease;
}
.hreel:hover { transform: translateY(-6px); border-color: rgba(154, 195, 28, .45); }
.hreel__inner {
  position: relative;
  aspect-ratio: 9 / 15.4;
  overflow: hidden;
  background: #fff;
}
.hreel__inner iframe {
  position: absolute;
  top: -2px; left: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  border: 0;
}
.hreels__arrow {
  width: 46px; height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--h-line);
  background: rgba(255, 255, 255, .05);
  color: var(--h-text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.hreels__arrow:hover { background: var(--verde); border-color: var(--verde); color: var(--deep); transform: scale(1.08); }
.hreels__follow { text-align: center; color: var(--h-soft); margin-top: 6px; }
.hreels__follow a { color: var(--h-text); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--verde); }
.hreels__follow a:hover { color: var(--verde); }

/* ============ CTA BANNER (verde — texto escuro) ============ */
.home-page .cta-banner h2 { color: var(--deep); }
.home-page .cta-banner p { color: rgba(0, 30, 53, .75); }

/* ============ CONTATO (dark) ============ */
.home-page .contact { background: var(--h-bg); }
.home-page .ccard {
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--h-line);
}
.home-page .ccard:hover { border-color: var(--verde); background: rgba(154, 195, 28, .06); }
.home-page .ccard__icon { background: rgba(154, 195, 28, .16); color: var(--verde); }
.home-page .ccard h3 { color: var(--white); }
.home-page .ccard p { color: var(--h-soft); }
.home-page .contact__portals {
  background: linear-gradient(160deg, var(--h-panel), #0A1826);
  border: 1px solid var(--h-line);
}
.home-page .contact__portals p { color: var(--white); }

/* ============ FOOTER ============ */
.home-page .footer { background: #040C14; }

/* ============ FOOTER (privacidade) ============ */
.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.footer__bottom-inner a { color: var(--h-soft); text-decoration: none; font-size: .85rem; }
.footer__bottom-inner a:hover { color: var(--verde-claro); }

/* ============ RESPONSIVO ============ */
@media (max-width: 860px) {
  .hprod__grid { grid-template-columns: 1fr; }
  .support__grid { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 560px) {
  .support__feats { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hreels__arrow { display: none; }
}
