/* Responsive Styles */

/* Tablettes et petits écrans */
@media screen and (max-width: 992px) {
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-content,
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-img-container {
    order: -1;
  }
  
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-about {
    grid-column: 1 / -1;
  }
}

/* Téléphones mobiles */
@media screen and (max-width: 768px) {
  .section {
    padding: 50px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero {
    padding-top: 120px;
    padding-bottom: 70px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: white;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    overflow-y: auto;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-item {
    margin: 15px 0;
  }
  
  .mobile-toggle {
    display: block;
    position: relative;
    z-index: 1002;
  }
  
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    visibility: hidden;
    opacity: 0;
    transition: var(--transition);
    z-index: 1000;
  }
  
  .overlay.active {
    visibility: visible;
    opacity: 1;
  }
  
  .mobile-menu-icon, 
  .mobile-menu-icon::before, 
  .mobile-menu-icon::after {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--color-text);
    position: relative;
    transition: var(--transition);
  }
  
  .mobile-menu-icon::before, 
  .mobile-menu-icon::after {
    content: '';
    position: absolute;
    left: 0;
  }
  
  .mobile-menu-icon::before {
    top: -8px;
  }
  
  .mobile-menu-icon::after {
    bottom: -8px;
  }
  
  .mobile-toggle.active .mobile-menu-icon {
    background-color: transparent;
  }
  
  .mobile-toggle.active .mobile-menu-icon::before {
    top: 0;
    transform: rotate(45deg);
  }
  
  .mobile-toggle.active .mobile-menu-icon::after {
    bottom: 0;
    transform: rotate(-45deg);
  }
  
  .services-grid,
  .benefits-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .form-container {
    padding: 30px 20px;
  }
}

/* Petits téléphones */
@media screen and (max-width: 480px) {
  .section-title {
    font-size: 1.8rem;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .about-title {
    font-size: 1.8rem;
  }
  
  .service-card {
    padding: 20px;
  }
  
  .policy-container {
    padding: 30px 20px;
    margin: 100px auto 40px;
  }
  
  .policy-title {
    font-size: 1.8rem;
  }
  
  .cookie-notice {
    left: 10px;
    right: 10px;
    padding: 15px;
  }
}
