/* ==========================================================
 * Blog Hero (slider)
 * - Full bleed 100vw
 * - Conteúdo central 1224px
 * ========================================================== */

.inv-blog-hero,
.inv-blog-hero * {
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  box-sizing: border-box;
}

/* ✅ Força o hero a ocupar a tela inteira, ignorando max-width do tema/Elementor */
.inv-blog-hero {
  position: relative;
  width: 100vw !important;
  max-width: none !important;

  /* técnica full-bleed robusta */
  left: 50%;
  right: 50%;
  margin-left: -50vw !important;
  margin-right: -50vw !important;

  overflow: hidden;
}

/* Viewport e trilho do slider */
.inv-blog-hero__viewport {
  width: 100% !important;
  max-width: none !important;
  overflow: hidden;
  position: relative;
}

.inv-blog-hero__track {
  display: flex;
  width: 100% !important;
  max-width: none !important;
  transition: transform 420ms ease;
  will-change: transform;
}

/* ✅ Cada slide ocupa exatamente 100vw (tela inteira) */
.inv-blog-hero__slide {
  position: relative;
  display: block;
  width: 100vw !important;
  min-width: 100vw !important;
  max-width: 100vw !important;
  height: 420px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

/* Background */
.inv-blog-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  transform: scale(1.03);
}

/* Overlay */
.inv-blog-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.35) 58%,
    rgba(0, 0, 0, 0.05) 100%
  );
}

/* ✅ Conteúdo alinhado ao site (1224px), mas dentro de um slide full-bleed */
.inv-blog-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1224px;
  margin: 0 auto;
  padding: 0 16px;
  height: 100%;

  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.inv-blog-hero__pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.2px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(232, 15, 134, 0.90);
  color: #fff;
}

.inv-blog-hero__title {
  margin: 0;
  color: #fff;
  font-weight: 800;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -0.6px;
  max-width: 760px;
}

.inv-blog-hero__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.88);
  font-weight: 600;
  font-size: 13px;
}

.inv-blog-hero__meta-dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,0.55);
}

/* Controles */
.inv-blog-hero__controls {
  position: absolute;
  z-index: 5;
  left: 50%;
  transform: translateX(-50%);
  bottom: 14px;
  width: 100%;
  max-width: 1224px;
  padding: 0 16px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.inv-blog-hero__nav {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(0,0,0,0.25);
  color: #fff;
  cursor: pointer;
}

.inv-blog-hero__nav:hover {
  background: rgba(0,0,0,0.36);
}

.inv-blog-hero__dots {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  flex: 1;
}

.inv-blog-hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.45);
  border: 0;
  cursor: pointer;
}

.inv-blog-hero__dot.is-active {
  background: rgba(232, 15, 134, 0.95);
}

/* Responsivo */
@media (max-width: 980px) {
  .inv-blog-hero__slide { height: 380px; }
  .inv-blog-hero__title { font-size: 34px; max-width: 640px; }
}

@media (max-width: 560px) {
  .inv-blog-hero__slide { height: 320px; }
  .inv-blog-hero__title { font-size: 28px; max-width: 100%; }
  .inv-blog-hero__controls {
    bottom: 10px;
  }
}
