:root {
  --vin: #6E122B;
  --beige: #FDD59A;
  --bordeaux: #8B3C42;
  --rouge-profond: #690B26;
  --rouge-fonce: #6D112A;
}

body {
  font-family: 'Open Sans', sans-serif;
  
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


.header {
  display: flex;
  justify-content: center; /* Centrage horizontal */
  align-items: center;     /* Centrage vertical */
  padding: 0 2rem;
  height: 5rem;
  background: var(--vin);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header__logo {
  margin-right: auto; /* pousse la nav au centre à gauche */
}

.navbar {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  margin: 0 auto;
  overflow: hidden;
}


.navbar__menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}


.header__logo img{
  height: 70px;
  width: 70px;
}


.navbar__menu {
  position: relative;
  display: flex;
}

.navbar__link {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: center;
  justify-content: center;
  height: 4rem;
  width: 10rem;
  color: var(--beige);
  transition: 250ms ease all;
  text-decoration: none;
  text-transform: uppercase;
}

.navbar__link:hover svg {
  color: white;
}

.navbar__link:hover span,
.navbar:not(:hover) .navbar__link:focus span {
  opacity: 1;
  transform: translate(0);
    color: white;

}

.burger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  cursor: pointer;
  z-index: 15;
}

.burger span {
  height: 4px;
  background: white;
  border-radius: 2px;
  transition: 0.3s;
}

@media (max-width: 768px) {
  .burger {
    display: flex;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
  }

  .navbar {
    position: absolute;
    top: 5rem;
    left: 0;
    width: 100%;
    background: var(--vin);
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
    gap: 1.5rem;
    z-index: 12;
  }

  .navbar.active {
    display: flex;
  }

  .navbar__menu {
    flex-direction: column;
    gap: 1rem;
  }

  .navbar__link {
    width: 100%;
    text-align: center;
    font-size: 1.2rem;
  }
}


/* Footer */
.footer {
  
  position: relative;
  margin-top: 50px;
  padding: 3rem 0;
  color: #fff;
  background: var(--vin);
}

.footer__columns {
  display: flex;
  justify-content: space-between;
  width: 1200px;
  padding-left: 100px;
  
}

.footer__col-title {
  font-size: 1.6rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  display: flex;
  align-items: center;
}

.footer__col-title * ~ span {
  margin-left: 1rem;
}

.footer a {
  display: flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
}

.footer a * ~ span {
  margin-left: 1rem;
}

.footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer__copyrights {
  padding-top: 3rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer__copyrights p {
  display: flex;
    margin-left: 0.5rem;

}

/* TEST */

 .exposants-hero{
      padding: 3.2rem 0;
      text-align: center;
      background: linear-gradient(90deg, rgba(110,18,43,0.06), rgba(139,60,66,0.02));
    }
    .exposants-hero h1{ font-size: clamp(1.6rem, 3.4vw, 2.6rem); color: var(--vin); margin-bottom: 0.4rem; }
    .exposants-hero p{ color: #4b4446; margin-bottom: 0; }

    .container--wide{ max-width:1200px; margin: 0 auto; padding: 0 1rem; }

    .exhibitors-grid{
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
      gap: 1rem;
      margin-top: 1.2rem;
    }

    .exhibitor-card{
      background: #fff;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 8px 20px rgba(0,0,0,0.06);
      border: 1px solid rgba(0,0,0,0.03);
      display:flex;
      flex-direction:column;
      transition: transform .15s ease, box-shadow .15s ease;
      min-height: 300px;
    }
    .exhibitor-card:hover{ 
      transform: translateY(-8px); 
      box-shadow: 0 18px 40px rgba(0,0,0,0.10); 
    }

    .exhibitor-media{
      height: 200px;
      display:flex;
      align-items:center;
      justify-content:center;
      background: linear-gradient(90deg, rgba(110,18,43,0.03), rgba(139,60,66,0.01));
      border-bottom: 1px solid rgba(0,0,0,0.03);
      padding: 16px;
    }

    .exhibitor-media img{ 
      max-height:150px; 
      max-width:92%; 
      object-fit:contain; 
      border-radius:6px; 
    }

    .placeholder-logo{
      width:180px; height:150px; border-radius:10px;
      display:flex; align-items:center; justify-content:center;
      background: rgba(110,18,43,0.06); color: var(--vin); font-weight:700;
      border: 2px dashed rgba(110,18,43,0.12);
    }

    .exhibitor-body{ 
      padding: 14px; display:flex; flex-direction:column; gap:10px; flex:1; 
    }
    .exhibitor-name{ 
      color: var(--vin); font-size:1.05rem; margin:0; 
    }
    .exhibitor-desc{ 
      color: #5b5556; font-size:0.95rem; margin:0; flex:1; overflow:hidden; max-height:4.5em;
     }
    .exhibitor-meta{ 
      list-style:none; padding:0; margin:0; display:flex; gap:8px; flex-wrap:wrap; font-size:0.9rem; color:#6b6465;
     }
    .exhibitor-meta li strong{ 
      color:#333; margin-right:6px; font-weight:600; 
    }
    .exhibitor-meta a{ 
      color: var(--vin); text-decoration:none; 
    }
    .card-actions{ 
      margin-top:6px; display:flex; gap:8px; align-items:center;
     }

    .btn--secondary{
      background: transparent; border: 1px solid rgba(110,18,43,0.12); padding:6px 10px; border-radius:8px; color:var(--vin); text-decoration:none; font-size:0.9rem;
    }
    .btn--primary{
      background: var(--vin); color: white; padding:6px 10px; border-radius:8px; text-decoration:none; font-size:0.9rem; border: none;
    }

    @media (max-width:600px){
      .exhibitor-media{ height:110px; padding:10px; }
      .exhibitor-desc{ max-height:3.2em; }
    }

/* FIN TEST  */

@media (max-width: 1024px) {
  .header {
    flex-direction: column;
    height: auto;
    padding: 1rem;
    gap: 1rem;
  }

  .header__logo {
    margin: 0 auto;
  }

  .navbar {
    justify-content: center;
  }

  .navbar__menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .navbar__link {
    width: auto;
    padding: 0.5rem;
  }
}

@media (max-width: 768px) {
   .navbar {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: auto;
    background: var(--vin); /* Ou var(--vin) */
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 6rem 1rem 2rem;
    gap: 1.5rem;
    z-index: 1000;
    transition: transform 0.3s ease;
  }

  .navbar.active {
    display: flex;
  }

  .navbar__menu {
    flex-direction: column;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .navbar__item {
    width: 100%;
    text-align: center;
  }

  .navbar__link {
    width: 100%;
    padding: 1rem 0;
    color: #fff;
    background: transparent;
    font-size: 1.2rem;
    transition: background 0.2s;
  }

  .navbar__link:hover {
    background: var(--rouge-profond);
  }

  .header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1010;
    background: var(--vin); /* ou var(--vin) */
  }

  .burger {
    display: flex;
    position: relative;
    z-index: 1011; /* au-dessus du menu */
  }

  .footer__columns {
    flex-direction: column;
    padding-left: 0;
    padding: 0 2rem;
    gap: 2rem;
    width: 100%;
  }

  .footer__col-title {
    justify-content: center;
  }

  .footer__nav-list {
    align-items: center;
  }

  .footer__copyrights p {
    justify-content: center;
    margin-left: 0;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .navbar {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--vin);
  display: none;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

  .navbar.active {
    display: flex;
  }

  .navbar__menu {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .navbar__item {
    width: 100%;
    text-align: center;
  }

  .navbar__link {
    width: 100%;
    padding: 0.8rem 0;
    color: white;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .navbar__link:hover {
    background-color: var(--rouge-profond);
  }

  .burger {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 25px;
    height: 20px;
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    z-index: 1011;
  }

  .burger span {
    height: 0px;
    width: 100%;
    background-color: white;
    border-radius: 2px;
    transition: 0.3s ease;
  }

  .header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    height: 4rem;
    background: var(--vin);
  }

  .header__logo img {
    height: 50px;
    width: auto;
  }

  .footer {
    padding: 2rem 1rem;
  }

  .footer__columns {
    padding: 0 1rem;
  }

  .footer__col-title {
    font-size: 1.2rem;
  }

  .footer__nav-list {
    gap: 1rem;
  }
}








