/* ============================================================
   RESPONSIVE — Alfa Confecção
============================================================ */

/* ── Large Desktop (1400px+) ── */
@media (min-width: 1400px) {
  :root {
    --container-max: 1360px;
  }
}

/* ── Tablet Landscape / Small Desktop (max 1024px) ── */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-list {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }

  .step-connector {
    display: none;
  }

  .step {
    padding-right: 0;
  }

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

  .testimonials-grid .testimonial-card:last-child {
    grid-column: 1 / -1;
    max-width: 500px;
    margin-inline: auto;
    width: 100%;
  }
}

/* ── Tablet (max 768px) ── */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
    --fs-5xl: 4rem;
    --fs-6xl: 5rem;
  }

  /* Header */
  .main-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
  }

  /* Hero */
  .hero-stats {
    gap: var(--space-5);
  }

  .stat-divider {
    display: none;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-visual {
    max-width: 400px;
    margin-inline: auto;
  }

  /* Steps */
  .steps-list {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item--large {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .gallery-item--wide {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid .testimonial-card:last-child {
    max-width: 100%;
  }

  /* Quote */
  .quote-container {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-main {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

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

  .footer-bottom .container {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }
}

/* ── Mobile (max 540px) ── */
@media (max-width: 540px) {
  :root {
    --fs-6xl: 4rem;
  }

  /* Hero */
  .hero-title {
    font-size: clamp(2.8rem, 12vw, 4.5rem);
  }

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

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

  /* Form */
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-nav {
    grid-template-columns: 1fr;
  }

  /* WhatsApp */
  .whatsapp-float {
    bottom: var(--space-4);
    right: var(--space-4);
    width: 50px;
    height: 50px;
  }
}

/* ── Very small (max 360px) ── */
@media (max-width: 360px) {
  :root {
    --container-pad: 1rem;
  }

  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
  }
}

/* ── Print ── */
@media print {
  .site-header,
  .whatsapp-float,
  .hero-scroll-indicator,
  .hero-bg,
  .mobile-menu {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .section-padding {
    padding-block: 2rem;
  }
}
