/* ==========================================================================
   ELETROLUZ — RESPONSIVIDADE & MEDIA QUERIES MOBILE-FIRST
   ========================================================================== */

/* Telas Grandes & Laptops (Max 1200px) */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 2.75rem;
  }

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

/* Tablets e Desktops Menores (Max 992px) */
@media (max-width: 992px) {
  .nav-desktop {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero {
    padding: 60px 0 80px 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    max-width: 540px;
    margin: 0 auto;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    divide-x: none;
    gap: 24px;
  }

  .stat-item {
    padding: 0;
  }

  .location-wrapper {
    grid-template-columns: 1fr;
  }

  .location-info {
    padding: 32px;
  }

  .map-container {
    min-height: 350px;
  }
}

/* Smartphones e Tablets Pequenos (Max 768px) */
@media (max-width: 768px) {
  .section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .section-title {
    font-size: 1.875rem;
  }

  .top-bar-items {
    justify-content: center;
    width: 100%;
  }

  .top-bar .container {
    justify-content: center;
    text-align: center;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-highlights {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .stats-bar {
    padding: 24px 20px;
    margin-top: -30px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .stat-item {
    border-bottom: 1px solid var(--slate-100);
    padding-bottom: 16px;
  }

  .stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

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

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

  .form-group.col-span-2 {
    grid-column: span 1;
  }

  .testimonial-card {
    padding: 24px;
  }

  .testimonial-text {
    font-size: 1rem;
  }

  .modal-content {
    padding: 24px 18px;
  }

  .whatsapp-float-wrap {
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-tooltip {
    display: none; /* Oculta tooltip em mobile para não cobrir a tela */
  }

  .whatsapp-pulse-btn {
    width: 54px;
    height: 54px;
  }
}

/* Telas Muito Pequenas (Max 480px / 320px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.875rem;
  }

  .page-hero-title {
    font-size: 2rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .header-actions .btn-whatsapp span.btn-text-full {
    display: none;
  }

  .header-actions .btn-whatsapp {
    padding: 10px 14px;
  }

  .filter-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 8px;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }

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