/* =========================================================
   EasyManage — Responsividade
   Breakpoints: 320, 375, 390, 414, 768, 1024, 1280, 1440, 1920
   ========================================================= */

/* Large desktops */
@media (min-width: 1400px) {
  .container {
    max-width: 1180px;
  }
}

/* Notebook / tablet landscape */
@media (max-width: 1199.98px) {
  .price-card.popular {
    transform: none;
  }

  .price-card.popular:hover {
    transform: translateY(-4px);
  }

  .float-badge {
    display: none;
  }

  .hero-visual {
    padding: 0;
  }
}

@media (max-width: 991.98px) {
  :root {
    --em-header-h: 68px;
  }

  .navbar-collapse {
    background: var(--em-surface);
    border: 1px solid var(--em-border);
    border-radius: 16px;
    padding: 1rem;
    margin-top: 0.75rem;
    box-shadow: var(--em-shadow);
  }

  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 0.75rem;
    gap: 0.55rem;
  }

  .nav-actions .btn {
    width: 100%;
    text-align: center;
  }

  .nav-actions .theme-toggle {
    align-self: flex-end;
    width: 42px;
  }

  .hero {
    padding: 48px 0 64px;
  }

  .section,
  .dashboard-section,
  .cta-band,
  .final-cta {
    padding: 72px 0;
  }

  .steps-timeline {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .steps-timeline::before {
    display: none;
  }

  .step {
    text-align: left;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
  }

  .step-num {
    margin-bottom: 0;
    flex-shrink: 0;
  }

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

  .stat-tile.wide {
    grid-column: span 2;
  }

  .audience-grid {
    grid-template-columns: 1fr;
  }

  .dash-charts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .hero-title {
    font-size: 2rem;
  }

  .impact-title {
    font-size: 1.75rem;
  }

  .dash-kpis {
    grid-template-columns: 1fr;
  }

  .big-dash-grid {
    grid-template-columns: 1fr;
  }

  .stat-tile.wide {
    grid-column: span 1;
  }

  .pricing-row .col-lg-4 {
    max-width: 100%;
  }

  .contact-form {
    padding: 1.35rem;
  }

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

  .section-head {
    margin-bottom: 36px;
  }

  .resource-card h3 {
    font-size: 1rem;
  }

  .resource-card p {
    font-size: 0.85rem;
  }
}

/* Phones — 414 / 390 / 375 */
@media (max-width: 414px) {
  .hero {
    padding: 36px 0 48px;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .kpi-value {
    font-size: 0.98rem;
  }

  .price-value .amount {
    font-size: 2.2rem;
  }

  .footer-top .col-6 {
    width: 50%;
  }
}

/* Very small — 320 */
@media (max-width: 359.98px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .brand-logo {
    height: 40px;
  }

  .brand-logo-footer {
    height: 48px;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .audience-item {
    font-size: 0.9rem;
    padding: 0.85rem;
  }

  .billing-btn {
    padding: 0.5rem 0.9rem;
    font-size: 0.9rem;
  }
}

/* Prevent horizontal overflow */
@media (max-width: 1024px) {
  .dash-mockup,
  .big-dash,
  .price-card,
  .hero-visual {
    max-width: 100%;
  }
}

/* Touch targets */
@media (hover: none) {
  .btn,
  .nav-link,
  .audience-item,
  .billing-btn {
    min-height: 44px;
  }
}
