/* ==============================
   FICHIER responsive.css ENTIER
   ============================== */

/* --- TABLETTES --- */
@media (max-width: 992px) {
  h1 {
    font-size: 2.2rem;
  }

  .hero {
    padding: 4rem 0;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- MOBILES --- */
@media (max-width: 768px) {
  .navbar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    position: relative;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #fff;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }

  .nav-links.show {
    display: flex;
  }

  .nav-link {
    padding: 0.5rem 0;
    text-align: center;
  }

  .mobile-menu-toggle {
    display: block;
    font-size: 1.8rem;
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .form-container {
    padding: 1rem;
  }
  
  .logo-img {
    height: 30px;
  }

  .logo-main {
    font-size: 1rem;
  }

  .logo-sub {
    font-size: 0.85rem;
  }

}

/* --- TRÈS PETITS ÉCRANS --- */
@media (max-width: 480px) {
  .cta-button {
    padding: 0.6rem 1.5rem;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
}

/* --- DESKTOP : Affichage horizontal --- */
@media (min-width: 769px) {
  .mobile-menu-toggle {
    display: none;
  }

  .nav-links {
    display: flex !important;
    flex-direction: row;
    gap: 1rem;
    position: static;
    background: none;
    box-shadow: none;
    padding: 0;
  }
}
