/* Site 4.4.0: tema pelo CMS, faixa superior opcional e transicao do banner. */
header.m4-site-header.m4-layout-header-normal {
  position: relative;
  top: auto;
  background: #17181b;
  border-bottom: 1px solid #ffffff26;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.theme-white header.m4-site-header.m4-layout-header-normal {
  background: #fff;
  border-bottom-color: #e4e1dc;
}
header.m4-site-header.m4-layout-header-transparente {
  position: absolute;
  top: 44px;
  background: linear-gradient(180deg, #101114d9, #101114a6);
  border-bottom: 1px solid #ffffff40;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.m4-site-header.m4-layout-header-transparente .menu span { background: #fff; }
@media (min-width: 901px) {
  .m4-site-header.m4-layout-header-transparente .m4-main-nav { color: #fff; }
}
/* O slider ja reserva espaco para sobreposicao; no modo normal basta o respiro. */
header.m4-site-header.m4-layout-header-normal ~ main #m4-revolution .m4-layout { padding-top: 44px; }
@media (max-width: 760px) {
  header.m4-site-header.m4-layout-header-normal ~ main #m4-revolution .m4-layout { padding-top: 28px; }
}

/* Sem o banner Fixo, os cards continuam sobre o fundo da proxima secao. */
.features.m4-features-sobre-benefits { background: linear-gradient(to bottom, transparent 35px, #f7f5f2 35px); }
.theme-white .features { background: transparent; }
.theme-white .features.m4-features-sobre-benefits { background: linear-gradient(to bottom, transparent 35px, #f6f5f2 35px); }
@media (max-width: 600px) {
  .features.m4-features-sobre-benefits { background: #f7f5f2; }
  .theme-white .features.m4-features-sobre-benefits { background: #f6f5f2; }
}
.m4-site-header .m4-nav-link:focus-visible,
.m4-site-header .m4-more-button:focus-visible {
  outline: 2px solid var(--theme-color);
  outline-offset: 3px;
}
@media (min-width: 901px) {
  header.m4-site-header.m4-topo-centralizado > .nav,
  header.m4-site-header.m4-topo-destaque > .nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-rows: 112px 60px;
    height: auto;
    align-items: center;
  }
  .m4-site-header.m4-topo-centralizado .m4-menu-overlay,
  .m4-site-header.m4-topo-destaque .m4-menu-overlay { display: none; }
  .m4-site-header.m4-topo-centralizado > .nav > .logo {
    grid-column: 2;
    grid-row: 1;
    justify-content: center;
    width: 250px;
    height: 104px;
  }
  .m4-site-header.m4-topo-centralizado > .nav > .logo img {
    width: auto;
    max-width: 240px;
    max-height: 88px;
    object-position: center;
  }
  header.m4-site-header.m4-topo-destaque > .nav { grid-template-rows: 128px 60px; }
  .m4-site-header.m4-topo-destaque > .nav > .logo {
    grid-column: 1 / 3;
    grid-row: 1;
    width: 300px;
    height: 116px;
  }
  .m4-site-header.m4-topo-destaque > .nav > .logo img { width: auto; max-width: 290px; max-height: 104px; }
  .m4-site-header.m4-topo-centralizado > .nav > .contact,
  .m4-site-header.m4-topo-destaque > .nav > .contact { grid-column: 3; grid-row: 1; justify-self: end; margin-left: 0; }
  .m4-site-header.m4-topo-centralizado > .nav > .m4-main-nav,
  .m4-site-header.m4-topo-destaque > .nav > .m4-main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
    width: 100%;
    margin: 0;
    border-top: 1px solid #ffffff26;
  }
  .m4-site-header.m4-topo-destaque > .nav > .m4-main-nav { background: #ffffff0a; border-radius: 8px 8px 0 0; }
  .m4-site-header.m4-topo-centralizado .m4-nav-items,
  .m4-site-header.m4-topo-destaque .m4-nav-items { height: 60px; align-items: center; }
  .m4-site-header.m4-topo-centralizado .m4-nav-items > .m4-nav-link,
  .m4-site-header.m4-topo-destaque .m4-nav-items > .m4-nav-link { padding-top: 12px; padding-bottom: 12px; }
  .m4-site-header.m4-topo-centralizado .m4-nav-items > .m4-nav-link:after,
  .m4-site-header.m4-topo-destaque .m4-nav-items > .m4-nav-link:after { bottom: 3px; }
  .m4-site-header.m4-topo-centralizado .m4-more,
  .m4-site-header.m4-topo-destaque .m4-more { height: 44px; }
  .m4-site-header.m4-topo-centralizado .m4-more-list,
  .m4-site-header.m4-topo-destaque .m4-more-list { top: calc(100% + 8px); }
  .theme-white .m4-site-header.m4-layout-header-normal > .nav > .m4-main-nav { border-top-color: #e4e1dc; }
  .theme-white .m4-site-header.m4-topo-destaque.m4-layout-header-normal > .nav > .m4-main-nav { background: #f6f5f2; }
  header.m4-site-header.m4-topo-centralizado.m4-layout-header-transparente ~ main #m4-revolution .m4-layout { padding-top: 216px; }
  header.m4-site-header.m4-topo-destaque.m4-layout-header-transparente ~ main #m4-revolution .m4-layout { padding-top: 232px; }
  header.m4-site-header.m4-topo-centralizado.m4-layout-header-transparente ~ main .hero-slider .slide > .wrap { padding-top: 216px; }
  header.m4-site-header.m4-topo-destaque.m4-layout-header-transparente ~ main .hero-slider .slide > .wrap { padding-top: 232px; }
  .m4-site-header.m4-layout-header-transparente .m4-main-nav {
    color: #fff;
    background: transparent;
  }
  .m4-site-header.m4-layout-menu-blocos .m4-nav-items {
    align-items: center;
    gap: 6px;
  }
  .m4-site-header.m4-layout-menu-blocos .m4-nav-items > .m4-nav-link,
  .m4-site-header.m4-layout-menu-blocos .m4-more-button {
    min-height: 44px;
    padding: 12px 14px;
    border-radius: 8px;
    transition: background .2s, color .2s;
  }
  .m4-site-header.m4-layout-menu-blocos .m4-nav-items > .m4-nav-link:after { display: none; }
  .m4-site-header.m4-layout-menu-blocos .m4-nav-items > .m4-nav-link:hover,
  .m4-site-header.m4-layout-menu-blocos .m4-nav-items > .m4-nav-link.current,
  .m4-site-header.m4-layout-menu-blocos .m4-more-button:hover,
  .m4-site-header.m4-layout-menu-blocos .m4-more.open .m4-more-button {
    background: var(--theme-color);
    color: #fff;
  }
  .m4-site-header.m4-layout-menu-blocos .m4-more { height: 44px; }
  .m4-site-header.m4-layout-menu-blocos .m4-more-list { top: calc(100% + 8px); }
  .m4-site-header.m4-layout-menu-compacto .m4-nav-items {
    align-items: center;
    gap: 16px;
  }
  .m4-site-header.m4-layout-menu-compacto .m4-nav-items > .m4-nav-link,
  .m4-site-header.m4-layout-menu-compacto .m4-more-button {
    min-height: 44px;
    padding: 12px 0;
    gap: 5px;
    font-size: 12px;
    letter-spacing: .035em;
    text-transform: uppercase;
  }
  .m4-site-header.m4-layout-menu-compacto .m4-nav-items > .m4-nav-link:after { bottom: 2px; }
  .m4-site-header.m4-layout-menu-compacto .m4-more { height: 44px; }
  .m4-site-header.m4-layout-menu-compacto .m4-more-list { top: calc(100% + 8px); }
}
@media (max-width: 900px) {
  .m4-site-header.m4-topo-centralizado > .nav { position: relative; justify-content: center; }
  .m4-site-header.m4-topo-centralizado > .nav > .logo { justify-content: center; max-width: calc(100% - 80px); }
  .m4-site-header.m4-topo-centralizado > .nav > .logo img { width: auto; max-width: 100%; max-height: 66px; object-position: center; }
  .m4-site-header.m4-topo-centralizado > .nav > .menu { position: absolute; right: 0; }
  .m4-site-header.m4-topo-destaque > .nav > .logo { width: 220px; max-width: calc(100% - 70px); }
  .m4-site-header.m4-topo-destaque > .nav > .logo img { width: auto; max-width: 100%; max-height: 76px; }
}
@media (prefers-reduced-motion: reduce) {
  .m4-site-header.m4-layout-menu-blocos .m4-nav-items > .m4-nav-link,
  .m4-site-header.m4-layout-menu-blocos .m4-more-button { transition: none; }
}

/* Padrao V4: apresentacao original, sem linha inferior nem faixa sobre o banner. */
header.m4-site-header.m4-topo-padrao { border-bottom: 0; box-shadow: none; }
header.m4-site-header.m4-topo-padrao.m4-layout-header-transparente { background: transparent; }

/* Foco no contato: painel flutuante; logo e CTA acima da navegacao. */
header.m4-site-header.m4-topo-conversao { background: transparent; border-bottom: 0; box-shadow: none; }
.m4-site-header.m4-topo-conversao > .nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: 96px 56px;
  align-items: center;
  width: calc(100% - 40px);
  max-width: 1040px;
  height: auto;
  margin: 16px auto;
  padding: 0 24px;
  background: #17181bf5;
  border: 1px solid #ffffff24;
  border-radius: 20px;
  box-shadow: 0 16px 42px #0004;
}
.m4-site-header.m4-topo-conversao > .nav > .logo {
  grid-column: 1;
  grid-row: 1;
  width: 210px;
  max-width: 100%;
  height: 90px;
}
.m4-site-header.m4-topo-conversao > .nav > .logo img { width: auto; max-width: 100%; max-height: 72px; }
.m4-site-header.m4-topo-conversao > .nav > .contact {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  justify-content: center;
  min-height: 54px;
  margin: 0;
  padding: 17px 26px;
  border-radius: 14px;
  font-size: 14px;
}
.theme-white .m4-site-header.m4-topo-conversao > .nav { background: #fffffff5; border-color: #e4e1dc; box-shadow: 0 16px 42px #1112161a; }
@media (min-width: 901px) {
  .m4-site-header.m4-topo-conversao > .nav > .m4-menu-overlay { display: none; }
  .m4-site-header.m4-topo-conversao > .nav > .m4-main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    margin: 0;
    justify-content: flex-start;
    color: #fff;
    background: transparent;
    border-top: 1px solid #ffffff26;
  }
  .m4-site-header.m4-topo-conversao .m4-nav-items { height: 56px; align-items: center; }
  .m4-site-header.m4-topo-conversao .m4-nav-items > .m4-nav-link { padding-top: 12px; padding-bottom: 12px; }
  .m4-site-header.m4-topo-conversao .m4-nav-items > .m4-nav-link:after { bottom: 3px; }
  .m4-site-header.m4-topo-conversao .m4-more { height: 44px; }
  .m4-site-header.m4-topo-conversao .m4-more-list { top: calc(100% + 8px); }
  .theme-white .m4-site-header.m4-topo-conversao > .nav > .m4-main-nav { color: #24262b; border-top-color: #e4e1dc; }
  header.m4-site-header.m4-topo-conversao.m4-layout-header-transparente ~ main #m4-revolution .m4-layout { padding-top: 228px; }
  header.m4-site-header.m4-topo-conversao.m4-layout-header-transparente ~ main .hero-slider .slide > .wrap { padding-top: 228px; }
}
@media (max-width: 900px) {
  .m4-site-header.m4-topo-conversao > .nav {
    grid-template-rows: 80px auto;
    width: calc(100% - 24px);
    margin: 12px auto;
    padding: 0 16px 12px;
    border-radius: 16px;
  }
  .m4-site-header.m4-topo-conversao > .nav > .logo { width: 180px; height: 80px; }
  .m4-site-header.m4-topo-conversao > .nav > .logo img { max-height: 62px; }
  .m4-site-header.m4-topo-conversao > .nav > .menu { grid-column: 2; grid-row: 1; }
  .m4-site-header.m4-topo-conversao > .nav > .contact { display: flex; grid-column: 1 / -1; grid-row: 2; width: 100%; min-height: 44px; padding: 12px 16px; font-size: 13px; }
  header.m4-site-header.m4-topo-conversao.m4-layout-header-transparente ~ main #m4-revolution .m4-layout { padding-top: 184px; }
  header.m4-site-header.m4-topo-conversao.m4-layout-header-transparente ~ main .hero-slider .slide > .wrap { padding-top: 184px; }
}

/* Institucional: faixa superior e menu deixam a imagem do banner visivel. */
.top.m4-top-v3.m4-top-institucional { height: 28px; font-size: 11px; border: 0; box-shadow: none; }
.top.m4-top-v3.m4-top-institucional.m4-top-sobre-banner {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 19;
  width: 100%;
  background: transparent;
}
.m4-top-institucional .m4-top-message { flex: 1; min-width: 0; max-height: 26px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.m4-top-institucional .m4-top-message p { display: inline; margin: 0; }
.top.m4-top-v3.m4-top-institucional .top-links { flex: 0 1 auto; margin-left: auto; }
.m4-top-institucional .top-links .icon { width: 12px; height: 12px; flex: 0 0 12px; }
header.m4-site-header.m4-topo-horizontal { border: 0; box-shadow: none; }
header.m4-site-header.m4-topo-horizontal.m4-layout-header-transparente { top: 28px; background: transparent; }
.m4-site-header.m4-topo-horizontal > .nav { height: 84px; }
.m4-site-header.m4-topo-horizontal > .nav > .logo { width: 210px; height: 84px; }
.m4-site-header.m4-topo-horizontal > .nav > .logo img { width: auto; max-width: 100%; max-height: 76px; }
.m4-site-header.m4-topo-horizontal .m4-header-social { display: flex; flex: none; gap: 4px; margin-left: 16px; }
.m4-header-social .m4-social-link { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #ffffff40; border-radius: 50%; color: #ddd; }
.m4-header-social .m4-social-name { display: none; }
.m4-header-social .m4-social-glyph { display: contents; }
.m4-header-social .m4-social-icon { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.m4-header-social .m4-social-link:hover,.m4-header-social .m4-social-link:focus-visible { color: var(--theme-color); border-color: var(--theme-color); }
.m4-header-social .m4-social-link:focus-visible { outline: 2px solid var(--theme-color); outline-offset: 3px; }
.theme-white .m4-site-header.m4-topo-horizontal.m4-layout-header-normal .m4-header-social a { color: #555; border-color: #d8d5cf; }
.theme-white .top.m4-top-institucional.m4-top-sobre-banner { color: #bbb; }
.theme-white .m4-top-sobre-banner .top-links a:hover { color: #fff; }
@media (min-width: 901px) {
  .m4-site-header.m4-topo-horizontal .m4-nav-items { height: 84px; }
  .m4-site-header.m4-topo-horizontal.m4-layout-menu-classico .m4-nav-items > .m4-nav-link { padding-top: 28px; padding-bottom: 28px; }
  .m4-site-header.m4-topo-horizontal.m4-layout-menu-classico .m4-nav-items > .m4-nav-link:after { bottom: 18px; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .m4-site-header.m4-topo-horizontal > .nav > .logo { width: 180px; }
  .m4-site-header.m4-topo-horizontal .m4-header-social { gap: 2px; margin-left: 8px; }
  .m4-site-header.m4-topo-horizontal .m4-header-social a { width: 26px; height: 26px; }
  .m4-site-header.m4-topo-horizontal .contact { padding: 12px; font-size: 12px; }
}
@media (max-width: 900px) {
  .m4-top-institucional .m4-top-message { display: none; }
  .top.m4-top-v3.m4-top-institucional > .wrap { justify-content: center; }
  .top.m4-top-v3.m4-top-institucional .top-links { flex: 0 1 auto; margin-left: 0; }
  .m4-site-header.m4-topo-horizontal .m4-header-social { display: none; }
  .m4-site-header.m4-topo-horizontal > .nav > .logo { width: 170px; }
  .m4-site-header.m4-topo-horizontal > .nav > .logo img { max-height: 66px; }
}

/* Sem faixa de contatos, o cabecalho ocupa o inicio da capa. */
header.m4-site-header.m4-sem-faixa.m4-layout-header-transparente { top: 0; }
