/* ============================================
   CENTRAL DAS BATERIAS - RESPONSIVE STYLES
   Mobile First Approach
   ============================================ */

/* --- Tablet (768px and below) --- */
@media (max-width: 768px) {
  .menu-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--black);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 32px 32px;
    gap: 0;
    transition: right var(--transition);
    box-shadow: -4px 0 30px rgba(0,0,0,0.3);
    overflow-y: auto;
  }
  .nav-menu.open { right: 0; }
  .nav-menu a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 1rem;
  }
  .nav-menu a::after { display: none; }
  .nav-cta {
    margin-top: 16px;
    text-align: center;
    display: block;
    width: 100%;
  }

  .hero-content { padding-top: 80px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .hero-stat-number { font-size: 1.8rem; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }

  .contact-grid { grid-template-columns: 1fr; }
  .about-content { grid-template-columns: 1fr; gap: 30px; }
  .about-image { order: -1; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .footer-brand { grid-column: 1 / -1; }

  .flow-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }

  .sos-banner-content { flex-direction: column; gap: 12px; }

  .cookie-banner-inner { flex-direction: column; text-align: center; }
  .cookie-banner-buttons { width: 100%; }
  .cookie-banner-buttons .cookie-btn { flex: 1; }
}

/* --- Mobile (480px and below) --- */
@media (max-width: 480px) {
  .section { padding: 50px 0; }

  .hero { min-height: 90vh; }
  .hero h1 { font-size: 2rem; }
  .hero-description { font-size: 1rem; }
  .hero-badge { font-size: 0.75rem; padding: 6px 14px; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .about-highlights { grid-template-columns: 1fr; }

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

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

  .page-hero { padding: 50px 0 40px; }
  .page-hero h1 { font-size: 1.8rem; }
}

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

/* --- Prefers reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* --- Print --- */
@media print {
  .header, .footer, .whatsapp-float, .cookie-banner, .sos-banner { display: none; }
  body { color: #000; background: #fff; }
  .hero { min-height: auto; padding: 40px 0; }
  .hero-overlay { display: none; }
  .hero h1, .hero-description { color: #000; }
}
