@media screen and (max-width: 768px) {
  /* Styles for mobile devices */
  .navbar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    position: relative;
  }

  .logo {
    flex: none;
  }

  .logo img {
    height: 50px; /* Réduction du logo */
    width: auto;
  }

  .burger {
     display: flex;
    position: absolute;
    top: 2rem;
    right: 1rem;
    z-index: 1000;
  }

  .navLinks {
    display: none;
    flex-direction: column;
    gap: 1rem;
    position: absolute;
    top: 70px; /* sous le logo + burger */
    left: 0;
    width: 100%;
    background-color: white;
    padding: 1rem 1rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 999;
  }

  .navLinks.active {
    display: flex;
  }

  .appointementButton {
    display: none;
  }

  .navLinks.active + .appointementButton {
    display: block;
    margin-top: 1rem;
    text-align: center;
  }

  .appointementButton .btn {
    background-color: #e94e1b;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.5s ease;
  }

  .appointementButton .btn:hover {
    background-color: #164283;
  }

  .appointementButton{
    position: absolute;
    z-index: 999;
    top: 10rem;
    right: 3rem;
  }

  /* .footer__contentUP {
    flex-direction: column;
    gap: 2rem;
    padding: 1rem;
  }

  .footer__contentItems,
  .footer__contentServices,
  .footer__contentEntreprise,
  .footer__contentConatct {
    min-width: 100%;
  }

  .footer__links {
    flex-direction: column;
    gap: 0.5rem;
  } */

  .footer__contentUP {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  /* .footer__contentItems,
  .footer__contentServices,
  .footer__contentEntreprise,
  .footer__contentConatct {
    align-items: center;
  } */

  .footer__contentItems p {
    max-width: 100%;
  }

  .footer__contentItemsSocialIcons {
    justify-content: center;
  }

  .footer__contentConatctSocialIcons {
    justify-content: center;
  }
}