.elementor-kit-5{--e-global-color-primary:#102039;--e-global-color-secondary:#101820;--e-global-color-text:#4A4A4A;--e-global-color-accent:#FFFFFF;--e-global-typography-primary-font-family:"DM Sans";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"DM Sans";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"DM Sans";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"DM Sans";--e-global-typography-accent-font-weight:500;color:#102039;font-family:"DM Sans", Sans-serif;font-size:1rem;font-weight:400;line-height:1.6em;}.elementor-kit-5 e-page-transition{background-color:#FFBC7D;}.elementor-kit-5 h1{color:#102039;font-family:"DM Sans", Sans-serif;font-size:48px;font-weight:700;line-height:1.2em;}.elementor-kit-5 h2{color:#102039;font-family:"DM Sans", Sans-serif;font-size:36px;font-weight:700;line-height:1.3em;}.elementor-kit-5 h3{color:#102039;font-family:"DM Sans", Sans-serif;font-size:24px;font-weight:500;line-height:1.4em;}.elementor-kit-5 h4{font-family:"DM Sans", Sans-serif;font-size:20px;font-weight:500;line-height:1.4em;}.elementor-kit-5 button,.elementor-kit-5 input[type="button"],.elementor-kit-5 input[type="submit"],.elementor-kit-5 .elementor-button{font-family:"DM Sans", Sans-serif;font-size:1rem;font-weight:500;border-radius:8px 8px 8px 8px;padding:18px 24px 18px 24px;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1200px;}.e-con{--container-max-width:1200px;--container-default-padding-top:0px;--container-default-padding-right:0px;--container-default-padding-bottom:0px;--container-default-padding-left:0px;}.elementor-widget:not(:last-child){--kit-widget-spacing:24px;}.elementor-element{--widgets-spacing:24px 24px;--widgets-spacing-row:24px;--widgets-spacing-column:24px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:1240px){.elementor-kit-5 h1{font-size:40px;}.elementor-kit-5 h2{font-size:30px;}.elementor-kit-5 h3{font-size:22px;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-kit-5 h1{font-size:32px;}.elementor-kit-5 h2{font-size:24px;}.elementor-kit-5 h3{font-size:20px;}.elementor-kit-5 h4{font-size:18px;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//* Header flex control total */
.header-logo,
.header-actions {
  flex: 0 0 auto;   /* não cresce, não encolhe */
  white-space: nowrap;
}

.header-menu {
  flex: 1 1 auto;   /* cresce e encolhe */
  min-width: 0;     /* CRÍTICO: evita que empurre os outros */
}

/* Esconde os itens marcados como mobile-only no DESKTOP */
@media (min-width: 1025px){
  li.menu-mobile-only,
  .menu-mobile-only{
    display: none !important;
  }
}


@media (max-width: 1240px){

  /* =========================
     ÁREA CLIENTE (secundário)
     - sem fundo por defeito
     - pill só em hover/focus
     ========================= */

  .elementor-nav-menu--dropdown li.menu-secondary > a,
  .elementor-nav-menu--dropdown li.menu-secondary.current-menu-item > a,
  .elementor-nav-menu--dropdown li.menu-secondary.current_page_item > a{
    background: transparent !important;

    display: block !important;
    width: min(560px, calc(100% - 48px)) !important;
    margin: 12px auto 0 !important;

    padding: 14px 18px !important;
    border-radius: 999px !important;
    text-align: center !important;

    font-weight: 600;
  }

  .elementor-nav-menu--dropdown li.menu-secondary > a:hover,
  .elementor-nav-menu--dropdown li.menu-secondary > a:focus{
    background: #e8f0ff !important; /* pill */
    color: #102039 !important;      /* TEXTO EM HOVER */
  }

  /* =========================
     PEDIR ACONSELHAMENTO (CTA)
     ========================= */

  .elementor-nav-menu--dropdown li.menu-cta > a{
    display: block !important;
    width: min(560px, calc(100% - 48px)) !important;
    margin: 12px auto 0 !important;

    padding: 16px 18px !important;
    border-radius: 999px !important;

    background: #0b2a4a !important;
    color: #ffffff !important;
    font-weight: 700;
    text-align: center !important;
  }
}


@media (max-width: 1240px){

  /* Dá “respiro” no fim do painel do dropdown */
  .elementor-nav-menu--dropdown{
    padding-bottom: 24px !important;
  }

  /* Garante espaço abaixo do botão CTA */
  .elementor-nav-menu--dropdown li.menu-cta{
    margin-bottom: 10px !important;
  }
}



/* =========================
   ESTADO NORMAL (TOPO)
========================= */

.ba-header .logo-full { 
  display: block !important; 
}

.ba-header .logo-compact { 
  display: none !important; 
}

/* Transições premium */
.ba-header {
  transition:
    padding 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    min-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Transição suave do logo */
.ba-header .logo-full img,
.ba-header .logo-compact img {
  transition:
    transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease;
}

/* =========================
   ESTADO SCROLL
========================= */

html.ba-scrolled .ba-header .logo-full { 
  display: none !important; 
}

html.ba-scrolled .ba-header .logo-compact { 
  display: block !important; 
}

html.ba-scrolled .ba-header {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  min-height: 72px !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

/* Logo ligeiramente mais elegante */
html.ba-scrolled .ba-header .logo-full img,
html.ba-scrolled .ba-header .logo-compact img {
  transform: scale(0.93);
}/* End custom CSS */