/* Centurial Site Stylesheet */


/*General Styles*/
.button-icon-right a {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.fade-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.fade-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Header Styles */
.centurial-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    z-index: 999;
    overflow: visible;
}

.centurial-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: transparent;
    z-index: -1;
    pointer-events: none;
    opacity: 0;
    transition:
        background-color 0.4s ease,
        backdrop-filter 0.4s ease,
        -webkit-backdrop-filter 0.4s ease,
        opacity 0.4s ease;
}

.centurial-header.scrolled::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #07152C58;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    pointer-events: none;
    opacity: 1;
    transition:
        background-color 0.4s ease,
        backdrop-filter 0.4s ease,
        -webkit-backdrop-filter 0.4s ease,
        opacity 0.4s ease;
    z-index: -1;
}

.centurial-header.simulacao-home::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #5c351c4c;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    pointer-events: none;
    opacity: 1;
    transition:
        background-color 0.4s ease,
        backdrop-filter 0.4s ease,
        -webkit-backdrop-filter 0.4s ease,
        opacity 0.4s ease;
    z-index: -1;
}

body.page-id-59 .centurial-header.scrolled::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #5c351c4c;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    pointer-events: none;
    opacity: 1;
    transition:
        background-color 0.4s ease,
        backdrop-filter 0.4s ease,
        -webkit-backdrop-filter 0.4s ease,
        opacity 0.4s ease;
    z-index: -1;
}

body.page-id-55 .centurial-header.scrolled::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #5c351c4c;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    pointer-events: none;
    opacity: 1;
    transition:
        background-color 0.4s ease,
        backdrop-filter 0.4s ease,
        -webkit-backdrop-filter 0.4s ease,
        opacity 0.4s ease;
    z-index: -1;
}

.header-search-desktop div {
    background: rgba(72, 72, 72, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-left: 1rem;
}

.header-search-desktop button {
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
    padding-left: 0.15rem;
    padding-right: 0.15rem;
    margin-left: 0.4rem;
}

.header-search-desktop input {
    color: #FFFFFF;
    background: transparent;
    padding-left: 0.75rem;
    padding-right: 0.75rem;;
}

.centurial-header-mobile {
    display: none;
}

.wp-block-navigation__responsive-container-close svg, .wp-block-navigation__responsive-container-open svg {
    width: 40px;
    height: 40px;
}

@media (max-width: 768px) {
  .centurial-header-mobile {
    display: block; 
  }

  .centurial-header-desktop {
    display: none;
  }
}

/* Footer Styles */
.centurial-footer-desktop {
    background: #040D16;
    margin-top: 0px;
}

@media (max-width: 767px) {
    .footer-content-all {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }

    .footer-infos{
        flex-direction: column;
        align-items: flex-start;
    }
 
    .footer-nav {
        align-items: flex-start;
    }

    .footer-nav-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .footer-social {
        align-items: flex-start;
    }
}

/* Home Page Styles */
.centurial-home-viewport-content {
    z-index: 2;
}

.centurial-home-viewport::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #07152C;
    opacity: 0.85;
    z-index: 1;
}

body.page-id-21 .form-simulacao form {
    margin-top: 10px;
}

@media (max-width: 767px) {
    .secao-beneficios{
        width: 100%;;
    }

    .secao-processo {
        width: 100%;
    }

    .secao-conheca {
        flex-basis: 100%;
    }

    .simulacao-introducao {
        flex-direction: column;
        gap: 0px;
    }

    .simulacao-introducao-img {
        min-height: 180px;
    }

    .beneficios-itens {
    overflow-x: auto;
    display: flex;
    width: 100%;
    gap: 16px; /* ajuste se quiser espaçamento entre os cards */
    padding-bottom: 1rem;
    margin-left: -1rem; /* compensação opcional se tiver padding lateral no container */
    margin-right: -1rem;
    scroll-snap-type: x mandatory; /* rolagem "travada" nos itens, opcional */
  }

  .beneficios-itens > * {
    flex: 0 auto;
    min-width: 220px; /* ou o tamanho que você quiser no mobile */
    scroll-snap-align: start; /* alinha início do item ao scroll, opcional */
  }

    .itens-mobile-hide {
    display: none !important;
  }
}

/* Simulação de Financiamento Styles */
.form-simulacao form {
    margin-top: 60px;
}

.form-simulacao label {
    color: #FFFFFF;
    font-weight: 300;
    font-size: 1rem;
}

.form-simulacao input {
    color: #ffffff;
    background: #ffffff12;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 0.5rem 1rem;
    border: 1px solid #ffffff28;
    border-radius: 4px;
    font-size: 1.02rem;
    font-weight: 300;
}

.form-simulacao select {
    color: #ffffff;
    background: #ffffff12;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 0.5rem 1rem;
    border: 1px solid #ffffff28;
    border-radius: 4px;
    font-size: 1.02rem;
    font-weight: 300;
}

.form-simulacao select option {
    color: #000000;
}

.form-simulacao-entrada {
    margin-bottom: 2px !important;
}

.fluentform .ff-el-group {
    margin-bottom: 12px;
}

form.fluent_form_3 .wpf_has_custom_css.ff-btn-submit {
    padding: 0.8rem 1rem;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    margin-bottom: 0.2rem;
}

.fluentform .ff-el-group.ff_list_buttons .ff-el-form-check label>span:hover {
    color: #0D1B49;
}

.fluentform .ff-el-group.ff_list_buttons .ff-el-form-check.ff_item_selected label>span:hover {
    color: #ffffff;
}

.fluentform .ff-el-group.ff_list_buttons .ff-el-form-check label>span {
    background-color: #F5EBDF;
    border-color: #F5EBDF;
}

.fluentform .ff-el-group.ff_list_buttons .ff-el-form-check:first-child label>span {
    border-left-color: #F5EBDF;
}

.fluentform .ff-el-group.ff_list_buttons .ff-el-form-check.ff_item_selected label>span {
    background-color: #0D1B49;
    border-color: #0D1B49;
}

.fluentform .ff-el-group.ff_list_buttons .ff-el-form-check.ff_item_selected:first-child label>span {
    border-left-color: #0D1B49;
}

.form-simulacao-termos {
    color: #FFFFFF;
    font-weight: 300;
    font-size: 0.8rem;
    margin: 0rem;
}

.form-simulacao-resultado {
  display: none;
  transition: all 0.3s ease-in-out;
  opacity: 0;
}

.form-simulacao-resultado.ativo {
  display: block;
  opacity: 1;
  margin-bottom: 1rem;
}

.form-resultado-simulacao-titulo {
    color: #FFFFFF;
    font-weight: 300;
    font-size: 1.4rem;
}

.form-resultado-simulacao-info {
    color: #FFFFFF;
    font-weight: 300;
    font-size: 0.8rem;
    line-height: 1.4;
    margin-top: 0.2rem;
    margin-bottom: 0.2rem;
}

.form-group-resultado-simulacao {
    display: flex;
    flex-direction: row;
}

.linha-entrada {
    margin-right: 5px;
    color: #FFFFFF;
    font-weight: 400;
    font-size: 1.6rem;
}

.linha-parcelas {
    color: #FFFFFF;
    font-weight: 400;
    font-size: 1.6rem;
}

@media (max-width: 768px) {
  .simulacao-content {
    display: flex;
    flex-direction: column; 
  }

  .form-group-resultado-simulacao {
    flex-direction: column;
  }

  .linha-entrada, .linha-parcelas {
    font-size: 1.4rem;
  }

  .form-resultado-simulacao-titulo {
    font-size: 1.2rem;
  }

  .form-simulacao form {
    margin-top: 4px;
  }

  .simulacao-content-title {
    padding-top: 90px;
  }
}

/* Quem Somos Styles */
@media (max-width: 767px) {
    .que-somos-secao-cuidardesi {
        width: 100%;;
    }

    .cuidardesi-itens {
    overflow-x: auto;
    display: flex;
    width: 100%;
    gap: 16px; /* ajuste se quiser espaçamento entre os cards */
    padding-bottom: 1rem;
    margin-left: -1rem; /* compensação opcional se tiver padding lateral no container */
    margin-right: -1rem;
    scroll-snap-type: x mandatory; /* rolagem "travada" nos itens, opcional */
  }

  .cuidardesi-itens > * {
    flex: 0 auto;
    min-width: 220px; /* ou o tamanho que você quiser no mobile */
    scroll-snap-align: start; /* alinha início do item ao scroll, opcional */
  }

  .quem-somos-acesso {
        flex-direction: column;
        gap: 0px;
  }

  .quem-somos-acesso-img {
        min-height: 260px;
  }
}

@media (min-width: 1240px) {
    .cuidardesi-itens {
        width: 70%;
    }
}

/*Como funciona style*/
@media (max-width: 767px) {
    .como-funciona-itens {
        flex-direction: column;
    }
    .como-funciona-secao-simulacao {
        flex-direction: column;
    }
    .como-funciona-secao-simulacao-img {
        min-height: 260px;
    }
}

/*Contato Styles*/
@media (max-width: 767px) {
    .contato-page-content {
        flex-direction: column;
    }
    .contato-page-title {
        padding-top: 80px;
    }
}

.form-contato {
    width: 100%;
}

.form-contato label {
    color: #FFFFFF;
    font-weight: 300;
    font-size: 1rem;
}

.form-contato input {
    color: #ffffff;
    background: #ffffff12;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 0.5rem 1rem;
    border: 1px solid #ffffff28;
    border-radius: 4px;
    font-size: 1.02rem;
    font-weight: 300;
}

.form-contato textarea {
    color: #ffffff;
    background: #ffffff12;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 0.5rem 1rem;
    border: 1px solid #ffffff28;
    border-radius: 4px;
    font-size: 1.02rem;
    font-weight: 300;
}

.form-contato select {
    color: #ffffff;
    background: #ffffff12;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 0.5rem 1rem;
    border: 1px solid #ffffff28;
    border-radius: 4px;
    font-size: 1.02rem;
    font-weight: 300;
}

.content-form-contato {
    background: #5c351c96;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-style: solid;
    border-color: #f5ebdf63;
    border-width: 0.6px;
}

form.fluent_form_1 .wpf_has_custom_css.ff-btn-submit {
    padding: 0.8rem 1rem;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    margin-bottom: 0.2rem;
}