/* ===== BC DIGITAL SERVICES · RESPONSIVE ===== */

/* Tablettes (768px - 1023px) */
@media (max-width: 1023px) {
  .container-custom {
    padding: 0 1.5rem;
  }
  
  h1 {
    font-size: 2.5rem !important;
  }
  
  h2 {
    font-size: 2rem !important;
  }
  
  .mega-panel {
    display: none !important;
  }
  
  .nav-item:hover .mega-panel {
    display: none !important;
  }
}

/* Mobiles larges (640px - 767px) */
@media (max-width: 767px) {
  h1 {
    font-size: 2rem !important;
  }
  
  h2 {
    font-size: 1.75rem !important;
  }
  
  .grid {
    gap: 1.5rem !important;
  }
  
  .hero-section {
    min-height: 600px !important;
  }
  
  .slider-btn {
    width: 40px !important;
    height: 40px !important;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Petits mobiles (< 640px) */
@media (max-width: 639px) {
  body {
    font-size: 15px;
  }
  
  h1 {
    font-size: 1.8rem !important;
  }
  
  .px-6 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .slider-btn {
    width: 36px !important;
    height: 36px !important;
  }
  
  .slider-dot {
    width: 8px !important;
    height: 8px !important;
  }
  
  .slider-dot.active {
    width: 24px !important;
  }
  
  .mobile-drawer {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .footer-grid {
    grid-template-columns: 1fr !important;
  }
  
  .team-card img {
    width: 100px !important;
    height: 100px !important;
  }
}

/* Ajustements pour le menu mobile */
@media (max-width: 1023px) {
  .desktop-only {
    display: none !important;
  }
}

@media (min-width: 1024px) {
  .mobile-only {
    display: none !important;
  }
}

/* Hauteur de l'écran pour le hero */
@media (min-height: 800px) {
  .hero-section {
    min-height: 800px;
  }
}

@media (max-height: 600px) {
  .hero-section {
    min-height: 500px;
  }
}

/* Ajustements pour les images */
@media (max-width: 767px) {
  img {
    max-width: 100%;
    height: auto;
  }
  
  .rounded-2xl {
    border-radius: 1rem !important;
  }
}

/* Optimisations tactiles */
@media (hover: none) and (pointer: coarse) {
  button, a {
    min-height: 44px;
  }
  
  .footer-link:hover {
    transform: none;
  }
  
  .hover-lift:hover {
    transform: none;
  }
}