/* ============================================
   ZEM CONFECÇÕES - Responsive Stylesheet
   ============================================ */

/* --- Tablet (max-width: 992px) --- */
@media (max-width: 992px) {
  .nav-desktop,
  .header-nav { display: none; }
  .hamburger,
  .mobile-menu-toggle { display: flex; }
  .nav-mobile,
  .header > .mobile-menu { display: block; }

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

  .content-block.reverse {
    direction: ltr;
  }

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

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

  .category-card {
    height: auto;
  }

  .category-card img {
    height: 200px;
  }

  h1 { font-size: 30px; }
  h2 { font-size: 22px; }
  .section-title h2 { font-size: 28px; }
  .section { padding: 60px 0; }
}

/* --- Mobile (max-width: 768px) --- */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .logo img {
    height: 42px;
  }

  .header.scrolled .logo img {
    height: 36px;
  }

  h1 { font-size: 26px; }
  h2 { font-size: 20px; }
  .section-title h2 { font-size: 24px; }
  .section { padding: 40px 0; }

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

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

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

  .footer-grid,
  .footer-content {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .category-card img {
    height: 180px;
  }

  .cta-section h2 {
    font-size: 22px;
  }

  .cta-section .btn-whatsapp {
    font-size: 15px;
    padding: 14px 28px;
  }

  .page-hero {
    padding: 30px 0;
  }

  .page-hero h1 {
    font-size: 26px;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: 16px;
    right: 16px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
  }

  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }

  .cookie-banner-inner {
    flex-direction: column;
    text-align: center;
  }

  /* 2-col layouts stack on mobile */
  .contact-layout,
  .location-layout {
    grid-template-columns: 1fr;
  }

  .location-layout .map-container iframe {
    min-height: 300px;
  }
}

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

  h1 { font-size: 22px; }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .testimonial-card {
    padding: 20px;
  }
}

/* --- Large Desktop (min-width: 1400px) --- */
@media (min-width: 1400px) {
  :root {
    --max-width: 1320px;
  }
}
