:root {
  --theme-bg: #ffffff;
  --theme-surface-dark: #1d1f25;
  --theme-text: #2a2a26;
  --theme-ink: #2a2a26;
  --mb-accent: #d36a1d;
  --mb-accent-hover: #39569d;
  --theme-header-h: 72px;
  --theme-page-pad: 15px;
  --theme-block-radius: 20px;
  --theme-btn-radius: 10px;
}

@media (min-width: 1024px) {
  :root {
    --theme-page-pad: 25px;
    --theme-header-h: 85px;
  }
}

body {
  background: var(--theme-bg);
  color: var(--theme-text);
  font-family: "Red Hat Text", system-ui, ui-sans-serif, sans-serif;
  padding-left: var(--theme-page-pad);
  padding-right: var(--theme-page-pad);
  box-sizing: border-box;
}

.mb-page-before-layout-models,
.mb-page-after-layout-models {
  display: flex;
  flex-direction: column;
  gap: 35px;
  margin: 0;
}

.mb-page-before-layout-models__item,
.mb-page-after-layout-models__item {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.mb-page-after-layout-models .implog+.imphero,
.mb-page-after-layout-models .imphero+.implog,
.mb-page-after-layout-models__item .implog+.imphero {
  margin-top: 0;
}

.imphero+.mb-form {
  margin-top: 0;
}

.imphero+.impsv {
  margin-top: 0;
}

.impsv+.impet {
  margin-top: 0;
}

.impet+.impds {
  margin-top: 0;
}

.imphero.imphero--has-border {
  border-width: var(--imphero-border-w, 2px) !important;
  border-style: solid !important;
  border-color: var(--imphero-border-c, #39569d) !important;
  box-sizing: border-box;
}

.theme-container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}

.theme-header {
  background: transparent;
  position: sticky;
  top: 0;
  z-index: 31;
  width: 100%;
  max-width: none;
  padding: 25px 0;
  box-sizing: border-box;
}

.theme-header__inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  max-width: none;
  min-height: var(--theme-header-h);
  background: #f5f5f3;
  border-radius: var(--theme-block-radius);
  box-shadow: 0 2px 18px rgba(42, 42, 38, 0.08);
  overflow: hidden;
}

.theme-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 10px 20px 10px 22px;
}

.theme-header .custom-logo-link,
.theme-header .custom-logo-link img,
.theme-header img.custom-logo {
  max-height: 48px;
  max-width: 200px;
  width: auto;
  height: auto;
  display: block;
}

.theme-logo a {
  color: var(--theme-ink);
  text-decoration: none;
  font-family: "Red Hat Display", system-ui, ui-sans-serif, sans-serif;
  font-weight: 700;
}

.theme-nav__list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: stretch;
  height: 100%;
  font-family: "Red Hat Display", system-ui, ui-sans-serif, sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.02em;
  justify-content: flex-start;
  flex: 1 1 auto;
  min-width: 0;
}

.theme-nav__list>li {
  display: flex;
  align-items: stretch;
  margin: 0;
  height: 100%;
}

.theme-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  height: 100%;
  padding: 0 20px;
  color: var(--theme-ink);
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    background-color 0.18s ease,
    color 0.18s ease;
}

.theme-nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--mb-accent);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.theme-nav__list>li>a.theme-nav__link:hover,
.theme-nav__list>li>a.theme-nav__link:focus-visible,
.theme-nav__list>li.current-menu-item>a.theme-nav__link,
.theme-nav__list>li.current_page_item>a.theme-nav__link,
.theme-nav__list>li.current-menu-ancestor>a.theme-nav__link,
.theme-nav__list>li.current-page-ancestor>a.theme-nav__link {
  background: var(--mb-primary);
  color: #fff;
  opacity: 1;
}

.theme-nav__list>li>a.theme-nav__link:hover::after,
.theme-nav__list>li>a.theme-nav__link:focus-visible::after,
.theme-nav__list>li.current-menu-item>a.theme-nav__link::after,
.theme-nav__list>li.current_page_item>a.theme-nav__link::after,
.theme-nav__list>li.current-menu-ancestor>a.theme-nav__link::after,
.theme-nav__list>li.current-page-ancestor>a.theme-nav__link::after {
  opacity: 1;
}

.theme-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  flex-shrink: 0;
  margin: 12px 16px 12px 8px;
  padding: 12px 22px;
  border-radius: var(--theme-btn-radius, 10px);
  background: var(--mb-accent);
  color: #fff;
  font-family: "Red Hat Display", system-ui, ui-sans-serif, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.theme-header__cta:hover,
.theme-header__cta:focus-visible,
.theme-header__cta.is-active {
  background: var(--mb-primary);
  color: #fff;
}

.theme-header__cta.theme-header__cta--desktop {
  border-radius: 5px;
}

.theme-header__cta--mobile {
  display: none;
}

@media (min-width: 1024px) {
  .mb-nav-overlay {
    display: none !important;
  }

  #mb-primary-navigation.mb-primary-nav {
    display: flex;
    flex: 1 1 auto;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    min-width: 0;
    height: auto;
    align-self: stretch;
  }

  .theme-header__cta--mobile {
    display: none !important;
  }
}

.theme-burger {
  background: transparent;
  color: var(--theme-ink);
  border: 0;
  display: none;
  position: relative;
  z-index: 32;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  margin-right: 12px;
  cursor: pointer;
}

.mb-btn-primary,
.mb-btn-secondary,
.mb-btn-tertiary {
  border-radius: var(--theme-btn-radius, 10px) !important;
  font-family: "Red Hat Text", system-ui, ui-sans-serif, sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
}

.theme-footer {
  margin-top: 35px;
  margin-bottom: var(--theme-page-pad, 15px);
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  background: #e8ecf5;
  color: #2a2a26;
  border-radius: var(--theme-block-radius, 20px);
  padding: 56px 48px 28px;
}

.theme-footer__inner {
  width: 100%;
  max-width: none;
}

.theme-footer__grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.55fr) repeat(3, minmax(0, 0.85fr));
  column-gap: 48px;
  row-gap: 2rem;
  align-items: start;
}

.theme-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  width: fit-content;
  max-width: 420px;
  text-align: center;
}

.theme-footer__logo-slot {
  max-width: 280px;
}

.theme-footer__logo-link {
  display: inline-block;
  line-height: 0;
}

.theme-footer__logo-link--text {
  color: #2a2a26;
  text-decoration: none;
  font-family: "Red Hat Display", system-ui, ui-sans-serif, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.2;
}

.theme-footer .theme-footer__logo-slot .custom-logo-link {
  display: inline-block;
  line-height: 0;
}

.theme-footer__logo-img,
.theme-footer__logo-slot .custom-logo-link img,
.theme-footer__logo-slot img.custom-logo {
  max-width: 280px;
  max-height: 88px;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
}

.theme-footer__about {
  margin: 0;
  font-family: "Red Hat Text", system-ui, ui-sans-serif, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  color: #464646;
  text-align: center;
  max-width: 340px;
}

.theme-footer__social-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.theme-footer .mb-social-icon--footer {
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #39569d;
}

.theme-footer .mb-social-icon--footer svg {
  display: block;
  width: 20px;
  height: 20px;
}

.theme-footer .mb-social-icon--footer:hover,
.theme-footer .mb-social-icon--footer:focus-visible {
  background: transparent;
  color: #2a4178;
}

.theme-footer .theme-footer__col-title {
  margin: 0 0 18px;
  font-family: "Red Hat Display", system-ui, ui-sans-serif, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #2a2a26;
}

.theme-footer__menu {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.theme-footer__menu a {
  font-family: "Red Hat Text", system-ui, ui-sans-serif, sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  color: #2a2a26;
  opacity: 0.88;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.theme-footer__menu a:hover,
.theme-footer__menu a:focus-visible {
  color: #39569d;
  opacity: 1;
}

.theme-footer__rule {
  margin: 36px 0 0;
  border: 0;
  border-top: 1px solid rgba(57, 86, 157, 0.28);
}

.theme-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 20px;
  flex-wrap: wrap;
}

.theme-footer__copyright {
  margin: 0;
  font-family: "Red Hat Display", system-ui, ui-sans-serif, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  color: #2a2a26;
  opacity: 1;
}

.theme-footer__dev {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
  opacity: 1;
}

.theme-footer__dev:hover,
.theme-footer__dev:focus-visible {
  opacity: 0.85;
}

.theme-footer__dev-logo {
  display: block;
  width: 118px;
  height: 31px;
  max-width: 118px;
  object-fit: contain;
}

#primary {
  min-height: 40vh;
  display: flex;
  flex-direction: column;
  gap: 35px;
}

@media (max-width: 1023px) {
  body {
    padding-left: 12px;
    padding-right: 12px;
  }

  body.is-mb-mobile-nav-open {
    overflow: hidden;
  }

  .theme-header {
    padding: 12px 0;
  }

  .theme-header__cta--desktop {
    display: none !important;
  }

  .theme-header__inner {
    min-height: 60px;
  }

  .theme-logo {
    padding: 8px 12px 8px 14px;
  }

  .theme-header .custom-logo-link,
  .theme-header .custom-logo-link img,
  .theme-header img.custom-logo {
    max-height: 40px;
    max-width: 160px;
  }

  .theme-burger {
    margin-left: auto;
    display: inline-flex;
  }

  .mb-nav-overlay:not(.hidden) {
    display: block !important;
    position: fixed;
    inset: 0;
    z-index: 29;
    cursor: pointer;
    background: rgba(42, 42, 38, 0.45);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
  }

  #mb-primary-navigation.mb-primary-nav:not(.hidden) {
    display: flex !important;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    z-index: 30;
    box-sizing: border-box;
    width: min(320px, 90vw);
    max-width: min(320px, 100vw);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: calc(env(safe-area-inset-top, 0px) + 5.25rem) 1.35rem max(1.25rem, env(safe-area-inset-bottom, 0px)) max(1rem, env(safe-area-inset-left, 0px));
    background: #f5f5f3;
    border-top-left-radius: 14px;
    border-bottom-left-radius: 14px;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    box-shadow: -12px 0 48px rgba(0, 0, 0, 0.18);
    animation: mb-theme-nav-drawer-in 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  }

  @keyframes mb-theme-nav-drawer-in {
    from {
      transform: translateX(103%);
      opacity: 0.96;
    }

    to {
      transform: translateX(0);
      opacity: 1;
    }
  }

  .theme-nav__list {
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0.2rem;
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    height: auto;
    text-align: left;
  }

  .theme-nav__list>li {
    height: auto;
  }

  .theme-nav__list>li>a.theme-nav__link {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    padding: 0.85rem 0.75rem;
    border-radius: 8px;
  }

  .theme-nav__list>li>a.theme-nav__link::after {
    display: none;
  }

  .theme-header__cta--mobile {
    display: inline-flex;
    margin: 1rem 0 0;
    width: 100%;
    align-self: stretch;
    min-height: 48px;
  }

  .theme-footer {
    margin-top: 24px;
    padding: 36px 24px 20px;
  }

  .mb-page-before-layout-models,
  .mb-page-after-layout-models,
  .mb-page-before-layout-models__item,
  .mb-page-after-layout-models__item {
    gap: 24px;
  }

  .theme-footer__grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 28px;
    row-gap: 1.75rem;
  }

  .theme-footer__brand {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 420px;
    align-items: center;
    margin-inline: auto;
  }

  .theme-footer__col {
    text-align: center;
  }

  .theme-footer .theme-footer__col-title {
    text-align: center;
  }

  .theme-footer__menu {
    align-items: center;
  }

  .theme-footer__bottom {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
  }

  .theme-footer__copyright {
    text-align: center;
  }

  #primary {
    gap: 24px;
  }
}

@media (max-width: 639px) {
  body {
    padding-left: 10px;
    padding-right: 10px;
  }

  .theme-footer {
    margin-top: 18px;
    border-radius: 16px;
    padding: 28px 16px 18px;
  }

  .theme-footer__grid {
    grid-template-columns: 1fr;
  }

  .mb-page-before-layout-models,
  .mb-page-after-layout-models,
  .mb-page-before-layout-models__item,
  .mb-page-after-layout-models__item {
    gap: 18px;
  }

  #primary {
    gap: 18px;
  }
}




/* CUSTOM */
.imphero-slide__inset {
  max-width: 1460px;
  padding: 0 80px;
}

.imphero.imphero--slider {

  /* Container das setas: ocupa o slider inteiro, setas nas laterais.
    Se você já estiliza o .imphero__arrows-rail, pode remover este bloco. */

  /* Botão da seta (círculo) */
  .imphero__arrow {
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease, opacity 0.2s ease;
  }

  .imphero__arrow:hover {
    background: rgba(0, 0, 0, 0.75);
  }

  .imphero__arrow:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
  }

  .imphero__arrow:disabled {
    opacity: 0.35;
    cursor: default;
  }

  /* Ícone da seta (chevron desenhado com bordas) */
  .imphero__arrow-icon {
    display: block;
    width: 12px;
    height: 12px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(-135deg); /* aponta para a esquerda (anterior) */
    margin-left: 4px;           /* ajuste óptico para centralizar */
  }

  .imphero__arrow-icon--next {
    transform: rotate(45deg);   /* aponta para a direita (próximo) */
    margin-left: 0;
    margin-right: 4px;
  }
  .imphero__dots {
    bottom: 20px !important;
  }
  .implp__card-image {
    border-radius: 20px;
    aspect-ratio: 1 / 1;
    max-width: 600px;
    margin-left: auto;
  }

  .imphero-slide__title {
    position: relative;
    padding: 1rem;
    padding-left: 0;
  }
  
  .imphero-slide__title:after {
    content: '';
    position: absolute;
    width: 200%;
    right: 0;
    background: var(--mb-accent);
    display: block;
    z-index: -1;
    height: 100%;
    top: 0;
    /* transform: translateX(30%); */
  }
  /* a.mb-btn-primary.imphero-slide__cta.is-full {
      background: var(--mb-accent);
  } */
   
}


.implc {
  padding-left: 20px;
  padding-right: 20px;
}

.impst__item {
  justify-content: center;
}

@media (max-width: 1536px) {

  .impabt {
    zoom: .85;
  }
}

@media (max-width: 1199px) {
  .imphero-slide__inset {
    padding: 0 40px;
  }
}

@media (max-width: 991px) {
  .impabt {
    zoom: 1;
  }

  .impst__item {
    justify-content: start;
  }

  .impst__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .implc {
    padding-left: 16px;
    padding-right: 16px;
  }

  .imphero-slide__inset {
    padding: 0 16px;
  }
}


/* CUSTOM */
html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 150px;
}