/* ===== 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("../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%);
  }
}

/* ===== 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;
}

#MainMenuMobile {
  display: none !important;
}