/* ═══════════════════════════════════════════════════════════════
   SERGIO MGON — RESPONSIVE
   Mobile-first breakpoints
   ═══════════════════════════════════════════════════════════════ */

/* ── TABLET LANDSCAPE / SMALL DESKTOP (< 1024px) ─────────────── */
@media (max-width: 1024px) {

  :root { --nav-h: 64px; }

  .sobre-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .servicos-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-inline: auto;
  }
  .servico-destaque { transform: scale(1); }
  .servico-destaque:hover { transform: translateY(-4px); }

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

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

  .steps-row {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .step-connector:nth-child(2),
  .step-connector:nth-child(6) {
    display: none;
  }
  .step-connector:nth-child(4) {
    display: none;
  }

  .contato-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

/* ── TABLET PORTRAIT (< 768px) ───────────────────────────────── */
@media (max-width: 768px) {

  .section { padding: 72px 0; }

  /* Navbar */
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(17,17,17,0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: stretch;
    padding: 24px 24px 32px;
    gap: 4px;
    border-bottom: 1px solid var(--clr-border);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
    pointer-events: none;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-link {
    padding: 12px 16px;
    font-size: 1rem;
    text-align: center;
  }
  .nav-link.nav-cta {
    margin-top: 8px;
    text-align: center;
  }
  .nav-hamburger { display: flex; }

  /* Hero */
  .hero-title { font-size: clamp(2.8rem, 12vw, 5rem); }
  .hero-stats {
    gap: 20px;
    flex-wrap: wrap;
  }
  .stat-divider { display: none; }
  .stat-item { padding: 0; }
  .stat-number { font-size: 2rem; }

  /* Sobre */
  .sobre-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .sobre-img-frame { max-width: 420px; margin-inline: auto; }
  .sobre-cref-badge { right: 0; }

  /* Serviços */
  .servicos-grid { max-width: 100%; }

  /* Transformações */
  .transf-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* Depoimentos */
  .dep-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-inline: auto;
  }

  /* Metodologia */
  .steps-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .step-connector { display: none; }

  /* Contato */
  .form-row { grid-template-columns: 1fr; }
  .contato-form { padding: 28px 24px; }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ── MOBILE (< 480px) ────────────────────────────────────────── */
@media (max-width: 480px) {

  .section { padding: 56px 0; }

  .hero-title { font-size: clamp(2.4rem, 13vw, 3.5rem); }
  .hero-subtitle { font-size: 0.95rem; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .btn.btn-ghost { width: auto; }

  .hero-stats { gap: 16px; }

  .section-title { font-size: clamp(1.75rem, 8vw, 2.5rem); }

  .transf-grid { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; }

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

  .hero-actions .btn { font-size: 0.85rem; padding: 12px 20px; }
}

/* ── REDUCED MOTION ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
