/* ===== ESTILOS RESPONSIVOS PARA DISPOSITIVOS MÓVEIS ===== */
@media (max-width: 768px) {

  /* ===== AJUSTES GLOBAIS ===== */
  body {
    font-size: 14px;
    line-height: 1.4;
  }

  .container {
    padding: 0 15px;
  }

  .main-content-section {
    padding: 0 15px;
  }

  /* ===== TIPOGRAFIA RESPONSIVA ===== */
  h1 {
    font-size: 26px;
    line-height: 1.3;
  }

  .custom-title-academy {
    line-height: 1.3;
    padding: 10px 0;
  }

  .title-word {
    font-weight: 200;
  }

  .custom-subtitle-academy {
    font-size: 18px;
    line-height: 1.4;
  }

  .titulo-diferenciais {
    line-height: 1.3;
    padding: 10px 0;
  }

  .subtitulo-diferenciais {
    font-size: 18px;
  }

  .custom-title-jornada {
    line-height: 1.3;
    padding: 10px 0;
  }

  /* ===== CARROSSEL ===== */
  .carousel-container {
    padding: 0 15px;
  }

  .carousel-item {
    flex: 0 0 calc(100% / 1.5 - 7px);
  }

  .carousel-card {
    min-height: 250px;
    width: 100%;
  }

  .card-title {
    font-size: 20px;
  }

  /* ===== SEÇÃO DE VÍDEOS ===== */
  .video-main,
  .video-sidebar-frame {
    height: 400px !important;
    /* Altura menor em mobile */
  }

  .academy-section {
    padding: 40px 15px;
  }

  .video-buttons {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    gap: 12px;
    padding: 10px 15px 15px 15px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .video-buttons::-webkit-scrollbar {
    height: none;
  }

  .video-btn {
    flex: 0 0 auto;
    min-width: 200px;
    width: auto;
    max-width: none;
    scroll-snap-align: start;
    padding: 12px 20px;
    font-size: 0.9rem;
    white-space: nowrap;
  }

  .video-btn .btn-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0) saturate(100%) invert(100%);
  }

  .video-btn:hover .btn-icon,
  .video-btn.active .btn-icon {
    filter: brightness(0) saturate(100%) invert(18%) sepia(20%) saturate(1123%) hue-rotate(156deg) brightness(93%) contrast(88%);
  }

  .bg-container {
    background: #204553;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* height: 360px; */
  }

  .video-container {
    flex-direction: column;
    align-items: center;

  }

  .video-sidebar-frame {
    flex: 0 0 100%;
    width: 100%;
  }

  .video-player {
    height: 250px;
  }

  .video-main {
    flex: 1 0 100% !important;
    max-width: 100% !important;
    margin-top: 22px;
  }

  .video-sidebar-frame {
    flex: 0 0 100%;
    /* flex: 1; RETIRADO */
    width: 100%;
  }

  /* ===== SEÇÃO COMO LEVAR ===== */
  .como-levar-section {
    margin: 0 20px;
  }

  .implementacao-container {
    background-image: url("https://assets.bradesco/content/dam/portal-bradesco/html/corporate/solucoes-integradas/open-cash-hub/img/ComoLevarOpenCashHub-Mobile.jpg");
    padding: 15px;
    min-height: 600px;
    justify-content: flex-end;
  }

  .cards-container {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 20px;
    padding: 10px 0 20px 0;
    margin-top: 20px;
    max-width: 100%;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .cards-container::-webkit-scrollbar {
    display: none;
  }

  .card {
    flex: 0 0 auto;
    min-width: 280px;
    scroll-snap-align: start;
    margin: 0 10px;
  }

  /* ===== SEÇÃO FORMULÁRIO ===== */
  .form-section {
    padding: 40px 15px;
    display: none;
  }

  .form-container {
    padding: 0 15px;
    flex-direction: column;
  }

  .form-group input {
    max-width: 100%;
  }

  .form-image {
    display: none;
  }

  .submit-btn {
    max-width: 60%;
    background-color: #335973 !important;
  }

  /* ===== SEÇÃO FAQ ===== */
  .faq-section {
    padding: 40px 15px;
    overflow: hidden;
  }

  .faq {
    padding: 0 15px;
  }

  .faq-container {
    padding: 0;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 100%;
  }

  .faq-categories {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 10px;
    padding: 10px 15px 15px 15px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }

  .faq-categories::-webkit-scrollbar {
    height: none;
  }

  .category-btn {
    flex: 0 0 auto;
    min-width: 160px;
    white-space: nowrap;
    scroll-snap-align: start;
    padding: 12px 15px;
    font-size: 0.9rem;
  }

  .category-btn .btn-icon {
    width: 20px;
    height: 20px;
  }

  .faq-content {
    width: 100%;
    min-width: auto;
    padding: 0 15px;
  }

  .faq-question {
    padding: 15px;
  }

  .faq-question h4 {
    font-size: 0.95rem;
    margin-right: 10px;
  }

  .faq-answer {
    padding: 0 15px;
  }

  .faq-item.active .faq-answer {
    padding: 0 15px 15px;
  }

  /* ===== DIVISORES ===== */
  .divider-left {
    margin: 10px 0;
  }

  /* ===== MODAL ===== */
  .modal-content {
    padding: 25px 20px;
    margin: 0 15px;
  }

  .modal-title {
    font-size: 1.3rem;
  }

  /* ===== CORREÇÕES ESPECÍFICAS ===== */
  .custom-title,
  .custom-subtitle,
  .custom-title-academy,
  .titulo-diferenciais,
  .subtitulo-diferenciais,
  .custom-title-como-levar,
  .custom-title-jornada,
  .custom-ficou-duvida,
  .card-title,
  .card-text,
  .faq-question h4,
  .faq-answer p {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .diferenciais-section,
  .form-section,
  .faq-section {
    padding: 30px 0;
  }

  .carousel-card,
  .card,
  .faq-item {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .card {
    width: 280px;
    margin: 0;
  }

  .main-image {
    width: 100%;
    height: auto;
  }

  .category-btn .btn-icon {
    filter: brightness(0) saturate(100%);
  }

  .category-btn:hover .btn-icon {
    filter: brightness(0) saturate(100%) invert(18%) sepia(20%) saturate(1123%) hue-rotate(156deg) brightness(93%) contrast(88%);
  }

  .category-btn.active .btn-icon {
    filter: brightness(0) saturate(100%) invert(100%);
  }

  .category-btn.active:hover .btn-icon {
    filter: brightness(0) saturate(100%) invert(100%);
  }

  .cards-integracao {
    flex-direction: column;
    gap: 20px;
  }
}

/* ===== ESTILOS PARA TELAS MUITO PEQUENAS ===== */
@media (max-width: 480px) {
  .card {
    min-width: 250px;
    padding: 20px;
  }

  .submit-btn {
    max-width: 170px;
    padding: 12px 25px;
  }

  .category-btn {
    min-width: 140px;
    padding: 10px 12px;
    font-size: 0.85rem;
  }

  .modal-content {
    padding: 20px 15px;
    margin: 0 10px;
  }
}

/* ===== ESTILOS PARA ORIENTAÇÃO LANDSCAPE ===== */
@media (max-width: 768px) and (orientation: landscape) {
  .image-container {
    aspect-ratio: 16 / 9;
  }

  .breadcrumbs {
    margin-bottom: 30%;
  }

  .video-player {
    height: 200px;
  }

  .implementacao-container {
    min-height: 400px;
  }
}

.container-bia-qrcode .title {
  font-family: 'BradescoSans', serif !important;
}

.container-bia-qrcode .subtitle {
  font-family: 'BradescoSans', serif !important;
}

.container-bia-qrcode .description {
  font-family: 'BradescoSans', serif !important;
}

.modal-busca {
  top: 0 !important;
}

/* MOB MENU*/

@media (max-width: 1024px) {
  header.headerMobile {
    background: #335973;
    background: linear-gradient(90deg, #335973 0%, #032d3f 100%);
    border-bottom: unset;
    width: 100%;
    padding: 10px 24px;
  }
}

@media (max-width: 1024px) {
  .comboSegmentos h2 {
    color: #fff;
    font-size: 16px;
  }
}

@media (max-width: 1024px) {

  #wrapper,
  .wrapper {
    width: 100%;
    padding: 0 24px;
  }
}

@media (max-width: 1024px) {
  .comboSegmentos h2 {
    position: relative;
  }

  div.comboSegmentos.active h2 {
    color: #000;
    margin-bottom: 8px;
  }
}

@media only screen and (max-width: 1279px) {
  div#topBar div.holder {
    width: 1024px;
  }

  div#topBar div.holderMobile {
    width: 1024px;
  }

  div.area-restrita {
    right: 172px;
  }

  #wrapper,
  .wrapper {
    width: 1024px;
  }

  header.mainHeader {
    width: calc(100% - 240px);
  }

  header.mainHeader ul.navSeg {
    max-width: calc(100% - 230px);
  }

  header.headerMobile {
    width: 1024px;
  }

  header.headerMobile h1 img {
    margin-top: -8px;
  }

  section.mainContent {
    width: 786px;
  }

  footer.mainFooter {
    width: 1024px;
  }

  footer.mainFooter div.holderFooter ul li {
    padding: 0 !important;
  }

  footer.mainFooter div.holderFooter ul li:nth-child(1) {
    width: 340px;
  }

  footer.mainFooter div.holderFooter ul li:nth-child(1) h3 {
    font-size: 14px;
  }

  footer.mainFooter div.holderFooter ul li:nth-child(1) h3 span {
    font-size: 13px;
  }

  footer.mainFooter div.holderFooter ul li:nth-child(1) p {
    font-size: 13px;
    margin-top: 5px;
  }

  footer.mainFooter div.holderFooter ul li:nth-child(2) {
    width: 173px;
  }

  footer.mainFooter div.holderFooter ul li:nth-child(2) h6 {
    font-size: 15px;
  }

  footer.mainFooter div.holderFooter ul li:nth-child(3) {
    width: 230px;
  }

  footer.mainFooter div.holderFooter ul li:nth-child(4) {
    width: 239px;
  }

  div.mapa-barra ul li {
    padding: 0 30px;
  }

  .destaque-area .description .left {
    float: left;
    width: 90%;
  }

  .destaque-area .description .right {
    float: left;
    width: 10%;
  }

  .destaque-area .description .right .saiba-mais {
    margin-top: 0;
  }

  body.tablet div#topBar {
    padding: 0 20px;
  }

  body.tablet div#topBar div.holder .top-bar-center {
    right: 40px;
    display: block !important;
  }

  body.tablet div#topBar div.holder div.ico-cadeado {
    left: 0;
  }

  body.tablet div#topBar div.btn-parceiros,
  body.tablet div#topBar div.nao-correntista,
  body.tablet div#topBar div.canal-consorciado {
    right: 280px;
  }

  body.tablet footer.mainFooter div.holderFooter {
    display: none;
    height: auto;
    margin-top: 35px;
  }

  body.tablet footer.mainFooter h6.atendimento {
    cursor: pointer;
    box-sizing: border-box;
    padding: 0;
    font-size: 15px;
    margin: 0 auto;
    position: relative;
    display: block;
  }

  body.tablet footer.mainFooter h6.atendimento span {
    position: absolute;
    top: 5px;
    right: 0;
    width: 10px;
    height: 7px;
    display: block;
    background: url(https://assets.bradesco/content/dam/portal-bradesco/assets/exclusive/img/footer/seta-atendimento.png) 0 0 no-repeat;
  }

  body.tablet footer.mainFooter h6.atendimento.active span {
    background: url(https://assets.bradesco/content/dam/portal-bradesco/assets/exclusive/img/footer/seta-atendimento.png) 0 -7px no-repeat;
  }
}

@media only screen and (max-width: 1199px) {
  footer .list__links {
    margin: 20px 15px;
  }

  footer .list__fones {
    margin: 20px 15px;
  }

  footer .box__red {
    padding: 20px 15px;
  }

  footer .box__blue {
    padding: 20px 15px;
  }
}

@media only screen and (max-width: 1023px) {
  div#topBar div.holder {
    width: 768px;
  }

  div#topBar div.holder div.como-usar {
    display: none;
  }

  div#topBar div.holder form legend {
    left: 10px;
  }

  div#topBar div.holder form fieldset>ul {
    right: 180px;
    left: auto;
  }

  div#topBar div.holder div.top-bar-center {
    right: 20px;
  }

  div#topBar div.holder div.ico-cadeado {
    left: 20px;
  }

  div#topBar div.holderMobile {
    width: 768px;
  }

  div#topBar div.btn-parceiros,
  div#topBar div.nao-correntista,
  div#topBar div.canal-consorciado {
    display: none !important;
  }

  body.cartoesSec div#topBar div.top-bar-center,
  body.consorciosSec div#topBar div.top-bar-center,
  body.imoveisSec div#topBar div.top-bar-center {
    display: block;
  }

  #wrapper,
  .wrapper {
    width: 768px;
  }

  .menu__lateral {
    display: none;
  }

  header.mainHeader {
    display: none;
  }

  ul.navSeg {
    max-width: calc(100% - 10px);
    transform: translate(0, 0);
  }

  div.holderFixed {
    display: block;
  }

  header.headerMobile {
    width: 768px;
    padding: 20px 0 20px 20px;
    display: block;
  }

  header.headerMobile a.mobileMenu {
    right: 20px;
  }

  header.headerMobile div.busca {
    right: 72px;
  }

  header.headerMobile div.busca #textobusca {
    max-width: 300px;
  }

  nav#mainMenu {
    display: none;
  }

  div.breadcrumb {
    display: none;
  }

  nav.navSegMobile {
    display: table;
  }

  section.mainContent {
    width: 100%;
  }

  div.mapa-barra ul li {
    padding: 0 13px;
  }

  footer .hidden__br {
    display: none;
  }

  footer .list__fones .col-lg-2.left-border:after {
    display: none;
  }
}

@media only screen and (max-width: 979px) {
  footer .box__red .list__icones ul li {
    padding-right: 4px;
  }

  footer .list__links a span {
    height: 45px;
  }
}

@media only screen and (max-width: 767px) {
  div#topBar div.holder {
    width: 640px;
  }

  div#topBar div.holder div.como-usar {
    display: none;
  }

  div#topBar div.holderMobile {
    width: 640px;
  }

  div#topBar div.top-bar-center {
    display: none !important;
  }

  div#topBar div.area-restrita {
    right: 10px;
    left: auto;
  }

  #wrapper,
  .wrapper {
    width: 640px;
  }

  header.mainHeader {
    display: none;
  }

  div.holderFixed {
    display: block;
  }

  header.headerMobile {
    width: 640px;
  }

  body.mobile nav.navSegMobile {
    display: none;
  }

  nav.navSegMobile {
    display: none;
  }

  div.comboSegmentos {
    display: block;
  }

  section.mainContent {
    width: 100%;
  }

  footer .item__info-uteis,
  footer .item__fones {
    display: block;
    margin: 20px 25px;
  }

  footer .list__links,
  footer .list__fones {
    display: none;
    border: none;
    margin: 20px 36px;
  }

  footer .overflow__x {
    overflow-x: auto;
    height: auto;
  }

  footer .box__red .list__icones {
    display: block;
    width: 500px;
    margin-left: 0px;
  }

  footer .box__red .list__icones ul {
    text-align: center;
  }

  footer .box__red .list__icones ul li {
    padding-right: 15px;
  }

  footer .end__text {
    color: #3C3C3C;
    margin: 20px 20px;
    display: block;
    font-size: 14px;
    text-align: center;
    letter-spacing: 1.5px;
  }

  footer .logo__footer {
    text-align: center;
  }
}

@media only screen and (max-width: 639px) {
  .destaque-area .description .left {
    float: none;
    width: 100%;
  }

  .destaque-area .description .right {
    float: none;
    width: 100%;
  }

  .destaque-area .description .right .saiba-mais {
    margin-top: 15px;
  }

  div#topBar div.holder {
    width: 480px;
  }

  div#topBar div.holder a.abrirLogin {
    display: block;
  }

  div#topBar div.top-bar-center {
    display: none;
  }

  div#topBar div.holderMobile {
    width: 480px;
  }

  div#topBar div.holderMobile p {
    padding: 6px 20px;
    font-size: 12px;
  }

  div#topBar div.holderMobile p span {
    display: block;
  }

  #wrapper,
  .wrapper {
    width: 480px;
  }

  header.headerMobile {
    width: 480px;
  }

  header.headerMobile a.buscaMobile {
    display: block;
  }

  header.headerMobile div.busca {
    display: none;
  }

  header.headerMobile div.busca.active {
    display: block;
    top: 79px;
    right: 0;
    height: 50px;
    width: 100% !important;
    background: #f5f4ef;
  }

  header.headerMobile div.busca.active input[type="text"] {
    min-width: 85% !important;
    max-width: 250px;
    height: 48px !important;
    line-height: 48px;
    box-sizing: border-box;
    padding-left: 20px;
    float: left;
  }

  header.headerMobile div.busca.active input.btn-buscar {
    width: 45px;
    height: 48px !important;
    background: url(https://assets.bradesco/content/dam/portal-bradesco/assets/corporate/img/lupa-mobile.png) center center no-repeat;
  }

  header.headerMobile div.busca.active div.search-autocomplete2 {
    top: 49px !important;
  }

  nav.navSegMobile ul.navSeg {
    display: none;
  }

  div.comboSegmentos {
    display: block;
  }

  footer.mainFooter {
    width: 100%;
    padding: 20px 0 85px 0;
  }

  footer.mainFooter ul.redes-sociais {
    display: table;
    margin: 0 auto;
    float: none;
  }

  footer.mainFooter ul.redes-sociais li.acompanhe {
    clear: both;
    float: none;
    text-align: center;
    margin-bottom: 10px;
  }

  footer.mainFooter div.holderFooter ul {
    max-width: 300px;
    margin: 0 auto;
  }

  footer.mainFooter div.holderFooter ul li:nth-child(1),
  footer.mainFooter div.holderFooter ul li:nth-child(2),
  footer.mainFooter div.holderFooter ul li:nth-child(3),
  footer.mainFooter div.holderFooter ul li:nth-child(4) {
    width: 100%;
    margin-bottom: 30px;
    min-height: auto;
  }

  footer.mainFooter div.holderFooter ul li:nth-child(3) {
    margin-bottom: 20px;
  }

  footer.mainFooter div.holderFooter ul li:nth-child(4) {
    margin-bottom: 0;
  }

  footer.mainFooter address {
    max-width: 300px;
    margin: 0 auto;
  }

  footer.mainFooter h6.atendimento {
    width: 300px;
  }
}

@media only screen and (max-width: 479px) {
  div#topBar div.holder {
    width: 100%;
    min-width: 320px;
  }

  div#topBar div.holder form fieldset>ul li.lembrar {
    display: none;
  }

  div#topBar div.holderMobile {
    width: 100%;
  }

  header.headerMobile {
    width: 100%;
    min-width: 320px;
  }

  #wrapper,
  .wrapper {
    width: 100%;
    min-width: 320px;
  }

  footer .list-itens-footer {
    padding: 10px 60px;
  }

  footer .box__red .overflow__x {
    display: block;
  }

  footer .box__red .list__icones ul {
    text-align: initial;
    margin-left: 15px;
  }

  footer .box__red .list__icones ul li {
    padding-right: 8px;
  }
}

@media only screen and (max-width: 375px) {
  .mfp-title {
    padding: 10px 90px 10px 20px;
  }

  div#topBar div.holderMobile p {
    padding: 8px 20px;
    font-size: 11px;
  }

  footer.mainFooter ul.redes-sociais li {
    margin-right: 4px;
  }
}

@media all and (-ms-high-contrast: none),
(-ms-high-contrast: active) {

  /* IE10+ CSS styles go here */
  /* For Responsive deisgn 2015 */
  /* To allow IE 10 or newer to display mmenu correctly once clicked... */
  html.mm-opened .mm-page #menumobheader {
    position: relative;
  }

  html.mm-opened .mm-page #prewrapper {
    margin-top: -50px;
  }
}

@media only screen and (max-width: 320px) {
  footer.mainFooter div.holderFooter ul {
    max-width: 270px;
  }

  footer.mainFooter address {
    max-width: 270px;
  }

  footer.mainFooter ul.redes-sociais li {
    margin-right: 2px;
  }

  h6.atendimento {
    max-width: 270px;
    margin: 0 auto;
  }
}


div.comboSegmentos>h2 {
  color: #ffffff;
  font-family: 'BradescoSans', serif !important;
  font-size: 15px;
  cursor: pointer;
  position: relative;
}


@media (max-width: 1024px) {
  header.headerMobile {
    background: #335973;
    background: linear-gradient(90deg, #335973 0%, #032d3f 100%);
    border-bottom: unset;
    width: 100%;
    padding: 10px 24px;
  }
}

@media (min-width: 960px) {
  header.headerMobile {
    display: none
  }

  ;
}