/* ================================================================
   ALIANCAJUD — Responsividade Mobile
   ================================================================ */

/* ----------------------------------------------------------------
   TABLET (≤ 1024px)
   ---------------------------------------------------------------- */
@media (max-width: 1024px) {
  :root {
    --section-py: 70px;
  }

  .hero > .container > .hero-row {
    flex-direction: column;
    gap: 40px;
  }

  .hero-card {
    max-width: 100%;
  }

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

  .steps-grid {
    flex-wrap: wrap;
  }

  .step-connector {
    display: none;
  }

  .step-card {
    flex: 1 1 calc(33% - 16px);
    min-width: 200px;
  }
}

/* ----------------------------------------------------------------
   MOBILE GRANDE (≤ 768px)
   ---------------------------------------------------------------- */
@media (max-width: 768px) {
  :root {
    --section-py: 56px;
    --section-py-sm: 40px;
  }

  /* Navbar mobile */
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10,22,40,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    border-bottom: 1px solid rgba(201,168,76,0.15);
    gap: 4px;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-link {
    width: 100%;
    padding: 12px 16px;
  }

  .nav-actions {
    width: 100%;
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
    flex-direction: column;
  }

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

  .burger {
    display: flex;
  }

  /* Hero mobile */
  .hero {
    min-height: auto;
    padding: 80px 0 60px;
  }

  .hero-stats {
    gap: 24px;
  }

  .hero-stat-number { font-size: 1.8rem; }

  .hero-ctas {
    flex-direction: column;
  }

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

  /* Steps mobile */
  .steps-grid {
    flex-direction: column;
  }

  /* Advogados grid mobile */
  .advogados-grid {
    grid-template-columns: 1fr;
  }

  /* Features grid mobile */
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Depoimentos mobile */
  .depoimentos-grid {
    grid-template-columns: 1fr;
  }

  /* CTA Parceiro */
  .cta-parceiro {
    padding: 48px 28px;
    border-radius: var(--radius-lg);
  }

  .cta-vantagens {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  /* Footer mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-desc { max-width: 100%; }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Seção header */
  .section-header { margin-bottom: 36px; }
}

/* ----------------------------------------------------------------
   MOBILE PEQUENO (≤ 480px)
   ---------------------------------------------------------------- */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.7rem; }

  .hero-trust {
    justify-content: center;
  }

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

  .filtros-wrap {
    flex-direction: column;
  }

  .filtro-group {
    min-width: 100%;
  }

  .areas-chips {
    gap: 8px;
  }

  .area-chip {
    font-size: 0.82rem;
    padding: 8px 16px;
  }

  .hero-card { padding: 24px; }
  .cta-parceiro { padding: 36px 20px; }
  .cta-parceiro h2 { font-size: 1.8rem; }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
    font-size: 1.3rem;
  }

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

/* ----------------------------------------------------------------
   BURGER ANIMATIONS
   ---------------------------------------------------------------- */
.burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ----------------------------------------------------------------
   PRINT
   ---------------------------------------------------------------- */
@media print {
  .header, .whatsapp-float, .hero-ctas { display: none; }
  body { background: white; color: black; }
}
