/* Optimisations responsives supplémentaires */

/* Styles pour tablettes */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .card-container {
    justify-content: center;
  }
  
  .card {
    max-width: 450px;
  }
  
  .feature-container {
    gap: 1.5rem;
  }
  
  .feature {
    max-width: 250px;
  }
  
  .footer-section {
    min-width: 200px;
  }
}

/* Styles pour mobiles */
@media (max-width: 768px) {
  .container {
    width: 95%;
    padding: 0 10px;
  }
  
  .hero {
    padding: 3rem 0;
  }
  
  .hero-content {
    padding: 1.5rem;
  }
  
  .hero h1 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
  }
  
  .hero p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .section-title h2 {
    font-size: 1.6rem;
  }
  
  .card {
    max-width: 100%;
  }
  
  .feature {
    max-width: 100%;
    flex-basis: 100%;
  }
  
  .values-container {
    flex-direction: column;
    gap: 0.8rem;
  }
  
  .value-item {
    width: 100%;
  }
  
  .btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .contact-info {
    flex-direction: column;
  }
  
  .map-container {
    height: 300px;
  }
  
  .news-title {
    font-size: 1.3rem;
  }
  
  .qr-code img {
    max-width: 150px;
  }
}

/* Styles pour petits mobiles */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.5rem;
  }
  
  .logo img {
    height: 40px;
  }
  
  .logo-text {
    font-size: 1.2rem;
  }
  
  .section-title h2 {
    font-size: 1.4rem;
  }
  
  .card-title {
    font-size: 1.2rem;
  }
  
  .social-icons {
    gap: 0.5rem;
  }
  
  .social-icon {
    width: 35px;
    height: 35px;
  }
  
  .footer-title {
    font-size: 1.1rem;
  }
  
  .footer-section {
    flex: 100%;
  }
}

/* Améliorations d'accessibilité */
:focus {
  outline: 3px solid var(--primary-color);
  outline-offset: 2px;
}

.btn:focus {
  box-shadow: 0 0 0 3px rgba(255, 108, 181, 0.5);
}

/* Optimisations de performance */
img {
  max-width: 100%;
  height: auto;
}

/* Animations optimisées */
@media (prefers-reduced-motion: reduce) {
  .animate {
    animation: none !important;
    transition: none !important;
  }
  
  .btn:hover {
    transform: none !important;
  }
  
  .card:hover {
    transform: none !important;
  }
}

/* Amélioration pour l'impression */
@media print {
  header, footer, .cta, .hero, .values, .btn {
    display: none !important;
  }
  
  body, .container, section {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .card, .card-content {
    box-shadow: none !important;
    border: 1px solid #ddd !important;
  }
  
  h1, h2, h3, p {
    color: black !important;
  }
}
