/* ==========================================================================
   LAVA PLACA SOLAR - RESPONSIVIDADE (responsive.css)
   Media Queries Limpas para Mobile, Tablet e Telas Médias
   ========================================================================== */

/* Notebooks & Telas Médias (<= 1024px) */
@media (max-width: 1024px) {
  .section {
    padding: 72px 0;
  }

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

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

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

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

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }

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

  .stat-card {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 24px;
  }

  .stat-card:nth-child(2), .stat-card:last-child {
    border-bottom: none;
  }

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

/* Tablets (<= 768px) */
@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr !important;
  }
  
  .diff-card {
    padding: 16px !important;
    gap: 12px !important;
    word-break: break-word;
  }
  
  .diff-icon {
    width: 44px !important;
    height: 44px !important;
    flex-shrink: 0 !important;
  }
  
  .hero-tag {
    white-space: nowrap !important;
    font-size: 0.75rem !important;
    padding: 6px 12px !important;
  }
  
  .benefit-badge {
    white-space: nowrap !important;
    width: 100% !important;
    justify-content: center !important;
  }

  .policy-card {
    padding: 0 16px !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .footer-separator {
    display: none;
  }

  .footer-rights-text {
    display: block;
    margin-top: 4px;
  }

  .topbar {
    display: none; /* Esconde topbar em telas pequenas para economizar espaço */
  }

  .navbar-container {
    height: 70px;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 24px;
    gap: 24px;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
  }

  .nav-menu.open {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 1.125rem;
    width: 100%;
  }

  .nav-actions {
    display: none; /* Transferido para dentro do menu mobile se necessário */
  }

  .hero {
    padding: 60px 0;
    min-height: auto;
  }

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

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

  .services-grid,
  .services-grid-4,
  .sobre-atuacao-grid {
    grid-template-columns: 1fr;
  }

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

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

  .ba-slider {
    height: 340px;
  }

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

  .cta-badge-tradicao,
  .cta-badge-especializados {
    flex-direction: column;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 24px;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

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

  .section {
    padding: 56px 0;
  }

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

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

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

  .btn {
    width: 100%;
  }

  .hero-card {
    padding: 24px 18px;
  }

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

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

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

  .ba-slider {
    height: 280px;
  }

  .testimonial-card {
    padding: 28px 18px;
  }

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

  .whatsapp-tooltip {
    display: none;
  }
}
