/* ========================= MODES D’OUVERTURE ========================= */

/* mode fenêtré */
.wacc-mm.panel-mode-windowed .wacc-mm-overlay {
  padding: 16px;
  align-items: flex-start;
  justify-content: flex-end;
}

.wacc-mm.panel-mode-windowed .wacc-mm-panel {
  width: 92%;
  max-width: 420px;
  height: 88vh;
  border-radius: 16px;
}

/* mode cover */
.wacc-mm.panel-mode-cover .wacc-mm-overlay {
  padding: 0;
  align-items: stretch;
  justify-content: flex-end;
}

.wacc-mm.panel-mode-cover .wacc-mm-panel {
  width: 100%;
  max-width: 100%;
  height: 100vh;
  border-radius: 0;
}

/* variante cover mais garde une largeur contrôlée */
.wacc-mm.panel-mode-cover.wacc-mm-drawer .wacc-mm-panel {
  width: min(100%, 420px);
  max-width: 420px;
  height: 100vh;
  border-radius: 0;
}

.wacc-lock {
  overflow: hidden;
}

.wacc-mm-wrap {
  display: inline-block;
  width: 100%;
}

.wacc-mm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border-radius: 999px;
  border: 0;
  padding: 0.65rem 1rem;
  line-height: 1;
  background: #0e1530;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.wacc-mm-btn:hover {
  transform: translateY(-1px);
}

.wacc-mm-btn.size-sm {
  padding: 0.45rem 0.8rem;
  font-size: 0.9rem;
}

.wacc-mm-btn.size-lg {
  padding: 0.85rem 1.2rem;
  font-size: 1.05rem;
}

.wacc-mm-btn.icon-only {
  padding: 0;
  width: 52px;
  height: 52px;
  min-width: 52px;
}

.wacc-mm-btn-icon,
.wacc-mm-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.wacc-mm-btn-icon img,
.wacc-mm-contact-icon img {
  display: block;
  max-width: 100%;
  height: auto;
}

.wacc-mm-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.2);
}

.wacc-mm-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.wacc-mm-panel {
  width: 92%;
  max-width: 420px;
  height: 88vh;
  background: #f3efe9;
  color: #425148;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(-8px);
  transition: transform 0.25s ease;
}

.wacc-mm-overlay.is-open .wacc-mm-panel {
  transform: translateY(0);
}

.wacc-mm-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 24px 24px 12px;
  flex: 0 0 auto;
  gap: 16px;
}

.wacc-mm-head-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  flex: 1 1 auto;
}

.wacc-mm-brand {
  display: block;
  width: 100%;
}

.wacc-mm-brand img {
  display: block;
  width: 170px;
  max-width: 100%;
  height: auto;
}

.wacc-mm-close {
  min-height: 44px;
  border-radius: 999px;
  background: #425148;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  line-height: 1;
  flex: 0 0 auto;
  padding: 0 16px;
  white-space: nowrap;
}

.wacc-mm-close-text {
  display: inline-block;
}

.wacc-mm-close-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
}

.wacc-mm-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 8px 24px 24px;
  overflow-y: auto;
  min-height: 0;
}

.wacc-mm-lang {
  margin: 0;
}

.wacc-mm-nav {
  width: 100%;
}

.wacc-mm-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ========================= RESET FORT NAV / MENU ========================= */

.wacc-mm-nav,
.wacc-mm-nav nav,
.wacc-mm-nav ul,
.wacc-mm-nav li,
.wacc-mm-nav a {
  margin: 0 !important;
  padding-left: 0 !important;
  text-indent: 0 !important;
  list-style: none !important;
}

.wacc-mm-nav nav,
.wacc-mm-nav .menu,
.wacc-mm-nav .wacc-mm-menu {
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  float: none !important;
}

.wacc-mm-nav ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.wacc-mm-nav li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

.wacc-mm-nav a {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  text-align: center !important;
  float: none !important;
  position: relative;
  left: auto !important;
  right: auto !important;
  transform: none !important;
}

.wacc-mm-menu > li > a {
  display: block !important;
  width: 100% !important;
  padding: 18px 0 !important;
  margin: 0 !important;
  text-decoration: none;
  color: inherit;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.2;
  border-bottom: 1px solid rgba(66, 81, 72, 0.20);
  transition: color 0.2s ease;
  text-align: center !important;
}

.wacc-mm-nav a:hover,
.wacc-mm-nav .current-menu-item > a,
.wacc-mm-nav .current-menu-ancestor > a {
  color: #f36c21;
}

.wacc-mm-contact-wrap {
  display: flex;
  width: 100%;
  padding-top: 24px;
}

.wacc-mm-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  background: #425148;
  color: #fff;
  font-size: 18px;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
}

/* ... (fin inchangée, simplement formatée) */