/* ============================= */
/* Structure principale : header */
/* ============================= */

.header {
    background-color: var(--primary-color);
    height: var(--header-height-desktop);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
  }
  
  /* ============================= */
  /* Organisation du logo et de la navigation principale */
  /* ============================= */
  .logo img {
    background-color: antiquewhite;
    border-radius: 50%;
    max-width: 100px;
    /* height: 50px; */
  }
  .menu {
    padding: 20px;
    border-radius: 5px;
    margin: 1px;
    font-size: 20px;
  }
  
  .menu ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 20px;
  }
  
  .menu ul a {
    text-decoration: none;
    color: var(--text-light);
    padding: 10px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
  }
  
  .menu ul a:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
  
  /* ============================= */
  /* Structure main */
  /* ============================= */
  
  main {
    position: relative;
    background-color: var(--light-bg);
    flex: 1;
    width: 100%;
  }
  
  /* ============================= */
  /* Structure footer */
  /* ============================= */
  
  .footer {
    background-color: var(--primary-color);
    width: 100%;
    color: var(--text-light);
    padding: 0;
    margin: 0;
  }
  
  /* ============================= */
  /* Disposition des blocs du footer */
  /* ============================= */
  
  .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
  }
  
  .footer-logo {
    display: flex;
    align-items: flex-start;
  }
  
  .footer-logo img {
    max-width: 150px;
    height: auto;
  }
  
  .footer h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.75rem;
  }
  
  .footer h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
  }
  
  .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-links ul li {
    margin-bottom: 0.75rem;
  }
  
  .footer-links ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: opacity 0.3s ease;
    display: inline-block;
    position: relative;
  }
  
  .footer-links ul li a:hover {
    opacity: 0.8;
  }
  
  .footer-links ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 1px;
    background-color: var(--text-light);
    transition: width 0.3s ease;
  }
  
  .footer-links ul li a:hover::after {
    width: 100%;
  }
  
  .footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
  }
  
  .footer-contact i {
    width: 20px;
    text-align: center;
  }
  
  .social-media {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
  }
  
  .social-media a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    transition: all 0.3s ease;
  }
  
  .social-media a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
  }
  
  .footer-bottom {
    padding: 1rem;
    text-align: center;
    font-size: 0.9rem;
  }
  
  /* ============================= */
  /* Media queries pour responsive layout */
  /* ============================= */
  
  @media screen and (max-width: 768px) {
    .footer-content {
      grid-template-columns: 1fr;
      text-align: center;
      padding: 2rem 1rem;
    }
  
    .footer-logo {
      justify-content: center;
      margin-bottom: 1rem;
    }
  
    .footer h3::after {
      left: 50%;
      transform: translateX(-50%);
    }
  
    .footer-contact p {
      justify-content: center;
    }
  
    .social-media {
      justify-content: center;
    }
  }
  
  @media screen and (max-width: 480px) {
    .footer-content {
      padding: 1.5rem 1rem;
      gap: 1.5rem;
    }
  
    .footer-logo img {
      max-width: 120px;
    }
  
    .social-media a {
      width: 34px;
      height: 34px;
    }
  }
  