/* ==========================================================================
   RESPONSIVE STYLESHEET - MULTIBANCA EXPRESS (v3.5)
   ========================================================================== */

.mobile-only-action {
  display: none;
}

/* --- Desktop Small / High Laptop (max-width: 1180px) --- */
@media screen and (max-width: 1180px) {
  .nav-wa-btn {
    display: none !important;
  }
  .nav-links {
    gap: 12px;
  }
  .nav-link {
    font-size: 0.88rem;
  }
}

/* --- Medium Screen / Tablet Landscape (max-width: 990px) --- */
@media screen and (max-width: 990px) {
  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    flex-direction: column;
    padding: 24px 20px;
    gap: 14px;
    transform: translateY(-160%);
    transition: transform var(--transition-smooth);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
    max-height: calc(100vh - 65px);
    overflow-y: auto;
  }

  .nav-links.nav-active {
    transform: translateY(0);
  }

  .mobile-menu-btn {
    display: block;
  }

  .mobile-only-action {
    display: block !important;
  }

  .nav-actions {
    gap: 6px;
  }

  .nav-actions .btn-crm-nav {
    padding: 6px 10px !important;
    font-size: 0.78rem !important;
  }

  .nav-actions .nav-reg-btn {
    padding: 6px 12px !important;
    font-size: 0.78rem !important;
  }
}

/* --- Tablet Devices (max-width: 1024px) --- */
@media screen and (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-badge-container, .hero-cta-group {
    justify-content: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-stats-row {
    max-width: 600px;
    margin: 0 auto;
  }

  .hero-mockup-wrapper {
    max-width: 650px;
    margin: 0 auto;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .feature-detail-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .calculator-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

  .pricing-card.featured {
    transform: none;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .ecosystem-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hardware-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .matrix-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* --- Mobile Devices (max-width: 768px) --- */
@media screen and (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .hero-section {
    padding: 100px 0 50px;
  }

  .mobile-sticky-bar {
    display: block;
  }

  body {
    padding-bottom: 70px;
  }

  .hero-stats-row {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
  }

  .hero-stat-item h3 {
    justify-content: center;
  }

  .calculator-card {
    padding: 24px 20px;
  }

  .calc-result-panel {
    padding: 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .lead-modal {
    padding: 28px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-brand p {
    margin: 14px auto 0;
  }

  .floating-pill {
    display: none;
  }

  .toast-container {
    left: 20px;
    right: 20px;
    bottom: 80px;
  }

  .ecosystem-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hardware-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .matrix-table {
    min-width: 580px;
  }
}

/* --- Small Mobile (max-width: 480px) --- */
@media screen and (max-width: 480px) {
  .brand-logo-img {
    height: 30px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .features-tabs-container {
    flex-direction: column;
  }

  .tab-btn {
    width: 100%;
    justify-content: center;
  }

  .pricing-card {
    padding: 30px 20px;
  }
}

@media screen and (max-width: 640px) {
  .hero-cta-group {
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: 100%;
  }
}
