:root {
  /* === Paleta Ofertas Bombando === */
  /* base logo: fundo preto, laranja vibrante, branco forte */

  /* Laranjas / fogo */
  --orange-300: #ffc36a;
  --orange-400: #ffac3b;
  --orange-500: #ff7a1a; /* laranja principal da logo */
  --orange-600: #ff5a00;
  --orange-700: #e14a00;

  /* Amarelo explosão (faíscas) */
  --blast-400: #ffd96a;
  --blast-500: #ffe27f;

  /* Fundo / cinzas */
  --bomb-900: #050608; /* fundo principal */
  --bomb-800: #080b10;
  --bomb-700: #11141c;
  --bomb-600: #191d26;

  --text-strong: #ffffff;
  --text-weak: rgba(255, 255, 255, 0.7);

  /* mapeamentos antigos para não quebrar nada */
  --bg-900: var(--bomb-900);
  --bg-800: var(--bomb-800);

  /* usados em .btn-telegram / .btn-whatsapp */
  --rose-500: var(--orange-500); /* vira CTA laranja principal */
  --peach-500: var(--orange-400); /* laranja mais claro */

  --card-glass: rgba(255, 255, 255, 0.04);
  --stroke-glass: rgba(255, 255, 255, 0.12);

  /* anel/realce */
  --ring: rgba(255, 122, 26, 0.42);
}

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;
  color: var(--text-strong);
  background: var(--bg-900);
}

/* ======= BACKGROUND ======= */
.bg-fixed {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: radial-gradient(
      1100px 700px at 70% -10%,
      rgba(255, 122, 26, 0.22),
      transparent 60%
    ),
    radial-gradient(
      900px 600px at 10% 110%,
      rgba(255, 217, 106, 0.18),
      transparent 60%
    ),
    linear-gradient(180deg, var(--bg-900), var(--bg-800) 60%, var(--bg-900));
}
.bg-fixed::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(
      transparent 97%,
      rgba(255, 255, 255, 0.04) 98%
    ),
    linear-gradient(90deg, transparent 97%, rgba(255, 255, 255, 0.04) 98%);
  background-size: 24px 24px, 24px 24px;
  -webkit-mask-image: radial-gradient(
    70% 60% at 50% 40%,
    #000 60%,
    transparent 100%
  );
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 60%, transparent 100%);
  opacity: 0.55;
}
.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.22;
  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(10px);
  background: rgba(5, 6, 8, 0.82);
  border-bottom: 1px solid var(--stroke-glass);
}
.navbar-brand img {
  height: 36px;
  width: 36px;
  border-radius: 8px;
}
.navbar-dark .navbar-nav .nav-link {
  color: var(--text-weak);
}
.navbar-dark .navbar-nav .nav-link:hover {
  color: var(--orange-300);
}

/* ======= HERO ======= */
.hero {
  padding-block: clamp(48px, 7vw, 96px);
  text-align: center;
}
.logo-wrap img {
  height: auto;
  filter: drop-shadow(0 12px 36px rgba(0, 0, 0, 0.9));
}
.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;
  font-size: 2.8rem;
  line-height: 1.2;
  display: block;
  margin: 0 auto;
}
.kpi small {
  display: block;
  margin-top: 0.25rem;
  color: var(--text-weak);
}

/* Accordion */
.accordion-button {
  background-color: transparent !important;
  color: var(--text-strong) !important;
  box-shadow: none !important;
}
.accordion-body {
  background-color: transparent !important;
}
.accordion-button:not(.collapsed) {
  background-color: rgba(255, 122, 26, 0.06) !important;
  color: var(--orange-300) !important;
}

@media (max-width: 1024px) {
  .logo-wrap img {
    max-width: 600px;
  }
}
@media (max-width: 576px) {
  .logo-wrap img {
    max-width: 400px;
  }
}
@media (max-width: 375px) {
  .logo-wrap img {
    max-width: 300px;
  }
}

/* ======= 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;
  font-size: 1.3rem;
  font-weight: 700;
  border-radius: 12px;
  color: #050608;
  background: linear-gradient(90deg, var(--orange-500), var(--orange-300));
  text-transform: uppercase;
  letter-spacing: 0.03em;
  animation: glowPulse 2s infinite ease-in-out;
}
.btn-cta:hover {
  box-shadow: 0 0 0 10px rgba(255, 122, 26, 0.18);
  animation-duration: 1s;
  transform: translateY(-2px);
}

/* “Telegram” / “WhatsApp” viram variações de laranja */
.btn-telegram {
  --bs-btn-bg: var(--orange-500);
  --bs-btn-border-color: var(--orange-500);
  --bs-btn-hover-bg: var(--orange-600);
  --bs-btn-hover-border-color: var(--orange-600);
  --bs-btn-color: #050608;
}
.btn-whatsapp {
  --bs-btn-bg: var(--orange-400);
  --bs-btn-border-color: var(--orange-400);
  --bs-btn-hover-bg: var(--orange-500);
  --bs-btn-hover-border-color: var(--orange-500);
  --bs-btn-color: #050608;
}

@keyframes glowPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 122, 26, 0.7);
  }
  50% {
    box-shadow: 0 0 20px 10px rgba(255, 122, 26, 0.35);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 122, 26, 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 prints tipo celular */
.phone-img {
  width: 360px;
  max-width: 86vw;
  height: 560px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.phone-img:hover {
  transform: translateY(-4px) rotate(-1deg);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.9);
}
.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;
  }
}

/* ======= Métricas ======= */
.metrics-band {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(
    180deg,
    rgba(8, 11, 16, 0.95),
    rgba(8, 11, 16, 0.9)
  );
  border: 1px solid var(--stroke-glass);
}
.metrics-band::before,
.metrics-band::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(
    closest-side,
    rgba(255, 122, 26, 0.22),
    transparent 70%
  );
  filter: blur(32px);
  animation: float 12s ease-in-out infinite;
}
.metrics-band::after {
  background: radial-gradient(
    closest-side,
    rgba(255, 217, 106, 0.18),
    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 com degradê inspirado na explosão */
.headline-xl {
  letter-spacing: 0.3px;
  text-transform: uppercase;
  font-weight: 800;
  background: linear-gradient(
    90deg,
    #ffffff,
    #ffe8b5 35%,
    #ffb663 65%,
    #ff7a1a 90%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 6px 22px rgba(0, 0, 0, 0.65);
}

/* Carrossel multi-itens */
.carousel.multi .carousel-item {
  transition: transform 0.6s ease;
}

/* ======= Banner/CTA específicos ======= */
.og-flash-banner {
  display: block;
  text-align: center;
  border-radius: 0.8rem;
  padding: 0.9rem 1.1rem;
  color: #050608;
  font-weight: 800;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  background: linear-gradient(
    90deg,
    var(--orange-500),
    var(--blast-400),
    var(--orange-600)
  );
  background-size: 200% 100%;
  animation: og-slide 1.5s linear infinite,
    og-blink 1.2s steps(2, start) infinite;
  box-shadow: 0 0 0.9rem rgba(255, 122, 26, 0.65),
    0 0 1.7rem rgba(255, 217, 106, 0.45);
}
@keyframes og-slide {
  to {
    background-position: 200% 0;
  }
}
@keyframes og-blink {
  50% {
    filter: brightness(1.15);
  }
}

/* Botão CTA principal */
.btn.og-cta,
.og-cta.btn {
  position: relative;
  font-weight: 800;
  letter-spacing: 0.2px;
  border: 0;
  color: #050608 !important;
  background: linear-gradient(
    90deg,
    var(--orange-500),
    var(--orange-300)
  ) !important;
  background-color: var(--orange-500) !important;
  box-shadow: 0 0 0 0.15rem rgba(255, 122, 26, 0.4),
    0 0.6rem 1.4rem rgba(0, 0, 0, 0.7);
}
.btn.og-cta:focus,
.og-cta.btn:focus {
  outline: none;
  box-shadow: 0 0 0 0.25rem rgba(255, 122, 26, 0.52),
    0 0.6rem 1.5rem rgba(0, 0, 0, 0.85);
}
.btn.og-cta::after,
.og-cta.btn::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 14px;
  border: 2px solid rgba(255, 122, 26, 0.65);
  animation: og-pulse 1.4s ease-out infinite;
  pointer-events: none;
}
@keyframes og-pulse {
  0% {
    opacity: 0.85;
    transform: scale(0.97);
  }
  70% {
    opacity: 0;
    transform: scale(1.12);
  }
  100% {
    opacity: 0;
    transform: scale(1.12);
  }
}

/* Subtítulo */
.og-subtle {
  color: var(--text-weak);
}

/* Modal z-index */
.modal .og-flash-banner,
.modal .og-cta {
  position: relative;
  z-index: 2;
}

/* Respeitar prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .og-flash-banner,
  .btn.og-cta,
  .og-cta.btn {
    animation: none !important;
  }
}
