/* ==========================================================================
   GAURISSON - RESPONSIVE STYLES & MOBILE OPTIMIZATIONS
   ========================================================================== */

/* --- Large Displays & Laptops (<= 1200px) --- */
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
  .footer-brand-col {
    grid-column: span 3;
    max-width: 600px;
  }
}

/* --- Tablets & Medium Screens (<= 992px) --- */
@media (max-width: 992px) {
  :root {
    --header-height: 72px;
  }

  .nav-menu, .top-bar-right, .navbar-actions .btn-primary {
    display: none;
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-content-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-cta-group, .hero-quick-contact {
    justify-content: center;
  }

  .hero-floating-stat {
    position: static;
    margin-top: 1rem;
    display: inline-flex;
  }

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

  .flow-nodes-container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .flow-line-bar {
    display: none;
  }

  .calc-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .timeline-track::before {
    left: 28px;
  }

  .timeline-step-item, .timeline-step-item:nth-child(even) {
    flex-direction: row;
    padding-left: 70px;
  }

  .timeline-node {
    left: 28px;
  }

  .timeline-content {
    width: 100%;
  }
}

/* --- Mobile Devices (<= 640px) --- */
@media (max-width: 640px) {
  .section {
    padding: 4.5rem 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

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

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

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

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

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

  .calculator-card {
    padding: 1.5rem;
  }

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

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

  .footer-brand-col {
    grid-column: span 1;
  }

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

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

  .modal-dialog {
    padding: 1.75rem 1.25rem;
  }
}
