/* Loaded after mavip.com.br stylesheets to enforce official brand palette.
   The external CSS uses these CSS variables — overriding them cascades to
   every rule that reads them. */
#mavip-home-clone,
#mavip-home-clone * {
  --Roxo-Mavip: #9B59B6;
  --Roxo-Mavip-Boto-Normal: #9B59B6;
  --Roxo-Mavip-Boto-Hover: #8E44AD;
  --Laranja-Mavip: #D35400;
  --Cinza-Mavip: #7F8C8D;
}

/* Belt-and-suspenders: force literal hex values used inline by the external CSS. */
#mavip-home-clone .Button-CtaHome,
#mavip-home-clone .Header--home .Button-CtaHome {
  background: #9B59B6 !important;
  background-color: #9B59B6 !important;
  background-image: none !important;
  border-color: #9B59B6 !important;
  color: #ffffff !important;
}
#mavip-home-clone .Button-CtaHome:hover,
#mavip-home-clone .Header--home .Button-CtaHome:hover {
  background-color: #8E44AD !important;
}

#mavip-home-clone .Header,
#mavip-home-clone .Header--home,
#mavip-home-clone .Section--homeSponsors {
  background-color: #9B59B6 !important;
}

#mavip-home-clone .Header-title span,
#mavip-home-clone .Cta-Title span,
#mavip-home-clone h1 span,
#mavip-home-clone h2 span {
  color: #D35400 !important;
}

/* Fonts */
#mavip-home-clone,
#mavip-home-clone p,
#mavip-home-clone a,
#mavip-home-clone li,
#mavip-home-clone span,
#mavip-home-clone div,
#mavip-home-clone label,
#mavip-home-clone input,
#mavip-home-clone button {
  font-family: "Fira Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
}
#mavip-home-clone h1,
#mavip-home-clone h2,
#mavip-home-clone h3,
#mavip-home-clone h4,
#mavip-home-clone h5,
#mavip-home-clone h6,
#mavip-home-clone .Header-title,
#mavip-home-clone .Cta-Title,
#mavip-home-clone .Button-CtaHome {
  font-family: "Bree Serif", Georgia, serif !important;
}

/* Hero avatars row — .d-flex base rule missing from hotlinked CSS */
#mavip-home-clone .Header-cards .d-flex {
  display: flex !important;
  align-items: center;
}

/* Background images from external home.css — swap to local optimized webp */
#mavip-home-clone .Header--home {
  background-image: url(/hero-bg.webp) !important;
}
#mavip-home-clone .Section--homeCta {
  background-image: url(/cta-bg.webp) !important;
}

/* Desktop-only line breaks in section titles */
#mavip-home-clone .desktop-break { display: none; }
#mavip-home-clone .Faq-title { white-space: normal !important; max-width: none !important; }
@media (min-width: 992px) {
  #mavip-home-clone .desktop-break { display: block; }
  #mavip-home-clone .Section--homeCta .Cta-Title,
  #mavip-home-clone .Section--homeProcess .HomeTitle-h2,
  #mavip-home-clone .Section--homeTestimonials .HomeTitle-h2 {
    white-space: nowrap !important;
  }
  /* Group 2: force exactly 2 lines split at <br class="desktop-break"> */
  #mavip-home-clone .Section--homeVideo .HomeTitle-h2,
  #mavip-home-clone .Section--homeCtaFinal .CtaFinal-title,
  #mavip-home-clone .HomeTitle-h2--reconhecimento,
  #mavip-home-clone .Section--homeCtaUrgencia .CtaUrgencia-title {
    white-space: nowrap !important;
    max-width: none !important;
    overflow: visible !important;
  }
}

/* Process section: native scroll-snap carousel (touch swipe + arrows) */
#mavip-home-clone .Section--homeProcess .carousel-container {
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: x mandatory !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding-bottom: 8px !important;
}
#mavip-home-clone .Section--homeProcess .carousel-container::-webkit-scrollbar {
  display: none !important;
  height: 0 !important;
  width: 0 !important;
}
#mavip-home-clone .Section--homeProcess .carousel-track {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: 20px !important;
  transform: none !important;
  transition: none !important;
  width: max-content !important;
  max-width: none !important;
  padding: 0 16px !important;
  box-sizing: content-box !important;
}
#mavip-home-clone .Section--homeProcess .Process-Card {
  flex: 0 0 320px !important;
  width: 320px !important;
  max-width: 90vw !important;
  min-width: 0 !important;
  scroll-snap-align: start !important;
  box-sizing: border-box !important;
}
#mavip-home-clone .Section--homeProcess .Process-Arrow { display: none !important; }
#mavip-home-clone .Section--homeProcess .process-carousel-nav {
  display: inline-flex !important;
  cursor: pointer;
}
@media (max-width: 767px) {
  #mavip-home-clone .Section--homeProcess .Process-Card {
    flex: 0 0 85vw !important;
    width: 85vw !important;
    max-width: 85vw !important;
  }
  #mavip-home-clone .Section--homeProcess .process-carousel-nav { display: none !important; }
}

