/* ============================================================
   Festival des CSE — styles spécifiques à exposer.html
   (barre mobile + adaptations responsive du header et du hero)
   ============================================================ */

.mbar {
  display: none !important;
}

/* Cartes « Pourquoi exposer » : animation au survol */
.why-card {
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.28s ease;
  will-change: transform;
  cursor: default;
}
.why-card:hover {
  transform: rotate(0deg) translateY(-8px) scale(1.03) !important;
}
.why-card:nth-child(1):hover {
  box-shadow: 0 16px 0 #ffb627 !important;
}
.why-card:nth-child(2):hover {
  box-shadow: 0 16px 0 #4a28c6 !important;
}
.why-card:nth-child(3):hover {
  box-shadow: 0 16px 0 #1c1250 !important;
}

@media (max-width: 760px) {
  .mbar {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    padding: 8px 10px !important;
  }
  .mbar a {
    flex: 1 1 0 !important;
    max-width: none !important;
    padding: 10px 4px !important;
    font-size: 13px !important;
    white-space: nowrap;
    border-width: 1.5px !important;
  }
  .mbar a:first-child {
    flex: 1.9 1 0 !important;
  }
  .dsk {
    display: none !important;
  }
  .hcta {
    display: none !important;
  }
  header > div {
    padding: 10px 16px !important;
    gap: 10px !important;
  }
  header img {
    width: 40px !important;
    height: 40px !important;
  }
  header nav {
    width: 100%;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    gap: 8px !important;
    font-size: 14px !important;
    padding-bottom: 2px;
  }
  header nav a {
    flex: none;
    white-space: nowrap;
    padding: 8px 14px;
    background: #ece8ff;
    border-radius: 999px;
  }
  #top > div {
    padding: 32px 20px 24px !important;
    gap: 24px !important;
  }
  #top > div > div:last-child {
    flex-basis: auto !important;
    padding: 8px 6px !important;
  }
  #top > div > div:last-child > div {
    aspect-ratio: 16 / 10 !important;
    max-height: 240px !important;
    transform: rotate(1deg) !important;
  }
  #top > div > div:last-child > img {
    width: 64px !important;
    height: 64px !important;
    top: -14px !important;
    left: -6px !important;
  }
}
