:root {
  --bg-900: #050b14;
  --bg-800: #0a1627;
  --blue-500: #229ed9;
  --green-500: #25d366;
  --text-weak: rgba(255, 255, 255, 0.7);
  --card-glass: rgba(255, 255, 255, 0.06);
  --stroke-glass: rgba(255, 255, 255, 0.08);
  --ring: rgba(34, 158, 217, 0.4);
}

html,
body {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

/* ======= BACKGROUND ======= */
.bg-fixed {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: radial-gradient(
      1200px 800px at 70% -10%,
      rgba(34, 158, 217, 0.16),
      transparent 60%
    ),
    radial-gradient(
      900px 600px at 10% 110%,
      rgba(37, 211, 102, 0.14),
      transparent 60%
    ),
    linear-gradient(180deg, var(--bg-900), var(--bg-800) 60%, var(--bg-900));
}
/* subtle grain + circuit grid */
.bg-fixed::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(
      transparent 97%,
      rgba(255, 255, 255, 0.05) 98%
    ),
    linear-gradient(90deg, transparent 97%, rgba(255, 255, 255, 0.05) 98%);
  background-size: 24px 24px, 24px 24px;
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 60%, transparent 100%);
  opacity: 0.5;
}
.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.18;
  mix-blend-mode: overlay;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="160" height="160" viewBox="0 0 160 160"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="2" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23n)" opacity="0.45"/></svg>');
}

/* ======= NAVBAR ======= */
.navbar-blur {
  backdrop-filter: blur(8px);
  background: rgba(3, 11, 23, 0.6);
  border-bottom: 1px solid var(--stroke-glass);
}
.navbar-brand img {
  height: 36px;
  width: 36px;
  border-radius: 8px;
}

/* ======= HERO ======= */
.hero {
  padding-block: clamp(48px, 7vw, 96px);
  text-align: center;
}
.logo-wrap img {
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.6));
}
.kpis .kpi {
  border: 1px solid var(--stroke-glass);
  background: var(--card-glass);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  text-align: center;
}
.counter {
  font-variant-numeric: tabular-nums;
  font-weight: 900; /* mais grosso */
  font-size: 2.8rem;
  line-height: 1.2;
  display: block;
  margin: 0 auto;
}
.kpi small {
  display: block;
  margin-top: 0.25rem;
}

.accordion-button {
  background-color: transparent !important;
  color: #fff; /* mantém texto branco */
  box-shadow: none !important;
}

/* Remove fundo da área expandida */
.accordion-body {
  background-color: transparent !important;
}

/* Cor do texto quando expandido */
.accordion-button:not(.collapsed) {
  background-color: transparent !important;
  color: #0dcaf0; /* opcional: cor chamativa quando aberto */
}
@media (max-width: 1024px) {
  .logo-wrap img {
    max-width: 600px; /* reduz no celular */
  }
}
@media (max-width: 576px) {
  .logo-wrap img {
    max-width: 400px; /* reduz no celular */
  }
}
@media (max-width: 375px) {
  .logo-wrap img {
    max-width: 300px; /* reduz no celular */
  }
}

/* ======= BUTTONS ======= */
.btn-cta {
  position: relative;
  isolation: isolate;
  transition: transform 0.12s ease, box-shadow 0.2s ease;
  box-shadow: 0 0 0 0 var(--ring);
  padding: 1.2rem 2.8rem; /* aumenta altura/largura */
  font-size: 1.3rem; /* aumenta a fonte */
  font-weight: 700; /* deixa a tipografia mais forte */
  border-radius: 12px; /* mais arredondado */
  animation: glowPulse 2s infinite ease-in-out;
}
.btn-cta:hover {
  box-shadow: 0 0 0 8px rgba(0, 0, 0, 0);
  animation-duration: 1s;
  transform: translateY(-2px);
}
.btn-telegram {
  --bs-btn-bg: var(--blue-500);
  --bs-btn-border-color: var(--blue-500);
  --bs-btn-hover-bg: #1f8fca;
  --bs-btn-hover-border-color: #1f8fca;
  --bs-btn-color: #fff;
}
.btn-whatsapp {
  --bs-btn-bg: var(--green-500);
  --bs-btn-border-color: var(--green-500);
  --bs-btn-hover-bg: #20be59;
  --bs-btn-hover-border-color: #20be59;
  --bs-btn-color: #07160b;
}
@keyframes glowPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }
  50% {
    box-shadow: 0 0 15px 6px rgba(255, 255, 255, 0.3);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }
}

/* ======= SECTIONS ======= */
.section {
  padding-block: clamp(40px, 6vw, 80px);
}
.card-glass {
  background: var(--card-glass);
  border: 1px solid var(--stroke-glass);
  border-radius: 16px;
}
.card-clean {
  background: transparent;
  border: 1px solid transparent;
}

/* Carrossel de prints tipo celular */
.phone-img {
  width: 360px;
  max-width: 86vw;
  height: 560px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--stroke-glass);
}
.carousel-control-prev,
.carousel-control-next {
  width: 12%;
}

/* Sticky CTA (mobile) */
.sticky-cta {
  position: sticky;
  bottom: 12px;
  z-index: 50;
}

footer a {
  color: var(--text-weak);
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  .btn-cta {
    transition: none;
  }
}

/* Destaque da faixa de métricas */
.metrics-band {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(
    180deg,
    rgba(10, 22, 39, 0.7),
    rgba(10, 22, 39, 0.5)
  );
  border: 1px solid var(--stroke-glass);
}
.metrics-band::before,
.metrics-band::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(
    closest-side,
    rgba(34, 158, 217, 0.18),
    transparent 70%
  );
  filter: blur(30px);
  animation: float 12s ease-in-out infinite;
}
.metrics-band::after {
  background: radial-gradient(
    closest-side,
    rgba(37, 211, 102, 0.16),
    transparent 70%
  );
  animation-duration: 14s;
  animation-direction: reverse;
}
@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) rotate(0);
  }
  50% {
    transform: translate(10%, -6%) rotate(10deg);
  }
}
.headline-xl {
  letter-spacing: 0.3px;
  text-transform: uppercase;
  font-weight: 800;
  background: linear-gradient(90deg, #e9f2ff, #9fd8ff 40%, #baffd0 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
}
/* Carrossel multi-itens */
.carousel.multi .carousel-item {
  transition: transform 0.6s ease;
}
.phone-img {
  width: 360px;
  max-width: 86vw;
  height: 560px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--stroke-glass);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.phone-img:hover {
  transform: translateY(-4px) rotate(-1deg);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.45);
}
