/**
 * Footer global — même rendu sur toutes les pages (plugin + thème).
 * Chargé en dernier pour écraser l’ancien CSS thème.
 *
 * @package Maldives_Evasion
 */

.me-footer {
  --me-ft-bg: #F5EFE6;
  --me-ft-text: #1A2224;
  --me-ft-muted: #4A5560;
  --me-ft-title: #111518;
  --me-ft-link: #1A2224;
  --me-ft-hover: #0D6E75;
  --me-ft-fs: 0.8125rem;
  --me-ft-title-fs: 0.6875rem;
  --me-ft-about-fs: 0.8125rem;
  --me-ft-bottom-fs: 0.75rem;
  --me-ft-logo-h: 40px;
  --me-ft-pad-top: 2.25rem;
  --me-ft-pad-bottom: 1.5rem;
  --me-ft-gap: 2rem;
  --me-ft-col-gap: 2.5rem;
  --me-ft-brand-max: 36ch;
  --me-ft-content-max: 1120px;
  --me-ft-m-fs: 0.78rem;
  --me-ft-m-title-fs: 0.65rem;
  --me-ft-m-gap: 1.5rem;
  --me-ft-m-pad-top: 1.75rem;
  --me-ft-m-pad-bottom: 1.25rem;
  --me-ft-m-brand-max: 100ch;
  --me-ft-m-logo-h: 36px;
  background: var(--me-ft-bg) !important;
  color: var(--me-ft-text) !important;
  padding-top: var(--me-ft-pad-top);
  padding-bottom: 0;
  font-size: var(--me-ft-fs);
  line-height: 1.55;
  font-weight: 400;
  overflow-x: clip;
}

.me-footer__inner {
  width: min(100% - 2.5rem, var(--me-ft-content-max, var(--container, 1120px)));
  margin-inline: auto;
  max-width: 100%;
  box-sizing: border-box;
}

.me-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
  gap: var(--me-ft-gap) var(--me-ft-col-gap);
  padding-bottom: var(--me-ft-pad-bottom);
  align-items: start;
}

.me-footer__brand-col {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  min-width: 0;
  max-width: 100%;
}

.me-footer__brand {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap;
  gap: 0.55rem 0.75rem;
  margin: 0 0 0 !important;
  color: var(--me-ft-title) !important;
  font-size: inherit !important;
}

.me-footer__brand img {
  display: block;
  width: auto;
  height: auto;
  max-height: var(--me-ft-logo-h);
  max-width: min(160px, 100%);
  object-fit: contain;
}

.me-footer__brand-name {
  font-family: var(--font-serif, 'Cormorant Garamond', Georgia, serif);
  font-size: clamp(1rem, 1.05rem + 0.1vw, 1.2rem) !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  line-height: 1.15;
  color: var(--me-ft-title) !important;
}

.me-footer__about {
  margin: 0;
  max-width: var(--me-ft-brand-max);
  font-size: var(--me-ft-about-fs);
  line-height: 1.65;
  color: var(--me-ft-muted) !important;
  font-weight: 400;
}

.me-footer__legal-info {
  margin: 0;
  max-width: var(--me-ft-brand-max);
  font-size: calc(var(--me-ft-about-fs) * 0.92);
  line-height: 1.7;
  color: var(--me-ft-muted) !important;
  opacity: 0.88;
}

/* Legal postcard card — brand column only */
.me-footer__legal-card {
  --me-ft-lc-title: #F36F68;
  --me-ft-lc-text: #5A6068;
  --me-ft-lc-rule: #D8CFC2;
  --me-ft-lc-bg: #FFFCFA;
  --me-ft-lc-border: #E4DCD0;
  --me-ft-lc-title-size: 1.05rem;
  --me-ft-lc-text-size: 0.72rem;
  --me-ft-lc-title-weight: 700;
  --me-ft-lc-radius: 14px;
  --me-ft-lc-max: 100%;
  --me-ft-lc-pad-y: 1.2rem;
  --me-ft-lc-pad-x: 1.4rem;
  box-sizing: border-box;
  width: 100%;
  max-width: min(100%, var(--me-ft-lc-max));
  margin: 0;
  padding: var(--me-ft-lc-pad-y) var(--me-ft-lc-pad-x);
  background: var(--me-ft-lc-bg);
  border: 1px solid var(--me-ft-lc-border);
  border-radius: var(--me-ft-lc-radius);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset, 0 8px 22px rgba(17, 24, 28, 0.04);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

.me-footer__legal-card-name {
  margin: 0;
  font-family: var(--font-serif, 'Cormorant Garamond', Georgia, serif);
  font-size: var(--me-ft-lc-title-size);
  font-weight: var(--me-ft-lc-title-weight);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--me-ft-lc-title) !important;
}

.me-footer__legal-card-form {
  margin: 0;
  font-family: var(--font-sans, 'DM Sans', system-ui, sans-serif);
  font-size: calc(var(--me-ft-lc-text-size) * 1.05);
  font-weight: var(--me-ft-lc-title-weight);
  line-height: 1.4;
  color: var(--me-ft-lc-title) !important;
}

.me-footer__legal-card-rule {
  display: block;
  width: 100%;
  height: 0;
  margin: 0.35rem 0 0.15rem;
  border: 0;
  border-top: 1px solid var(--me-ft-lc-rule);
  opacity: 0.95;
}

.me-footer__legal-card-meta {
  display: grid;
  gap: 0.28rem;
  min-width: 0;
}

.me-footer__legal-card-meta p,
.me-footer__legal-card-copy {
  margin: 0;
  font-family: var(--font-sans, 'DM Sans', system-ui, sans-serif);
  font-size: var(--me-ft-lc-text-size);
  font-weight: 400;
  line-height: 1.55;
  color: var(--me-ft-lc-text) !important;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.me-footer__legal-card-copy {
  letter-spacing: 0.01em;
  opacity: 0.92;
}

.me-footer__col {
  min-width: 0;
}

.me-footer__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-sans, 'DM Sans', system-ui, sans-serif);
  font-size: var(--me-ft-title-fs) !important;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--me-ft-title) !important;
  line-height: 1.35;
}

/* Accordion controls — desktop/tablet: hidden; panels always open */
.me-footer__acc-btn {
  display: none;
}

.me-footer__acc-panel {
  display: block;
}

.me-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.me-footer__list a,
.me-footer__social a {
  color: var(--me-ft-link) !important;
  font-size: inherit;
  font-weight: 400;
  text-decoration: none;
  opacity: 0.82;
  transition: opacity 0.2s ease, color 0.2s ease;
  word-break: break-word;
}

.me-footer__list a:hover,
.me-footer__social a:hover {
  opacity: 1;
  color: var(--me-ft-hover) !important;
}

.me-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.9rem;
  margin-top: 0.85rem;
}

.me-footer__social--icons {
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.75rem;
}

.me-footer__social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  border: 1px solid rgba(17, 34, 36, 0.14);
  background: rgba(255, 252, 250, 0.55);
  color: var(--me-ft-link, #1A2224) !important;
  opacity: 0.92;
  transition: opacity 0.2s ease, color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
  text-decoration: none;
  box-sizing: border-box;
}

.me-footer__social-icon svg {
  display: block;
  width: 1.05rem;
  height: 1.05rem;
}

/* Couleurs officielles — une teinte par plateforme */
.me-footer__social a.me-footer__social-icon--whatsapp,
.me-footer__social-icon--whatsapp {
  color: #25D366 !important;
  border-color: rgba(37, 211, 102, 0.32);
}

.me-footer__social a.me-footer__social-icon--facebook,
.me-footer__social-icon--facebook {
  color: #1877F2 !important;
  border-color: rgba(24, 119, 242, 0.32);
}

.me-footer__social a.me-footer__social-icon--instagram,
.me-footer__social-icon--instagram {
  color: #E1306C !important;
  border-color: rgba(225, 48, 108, 0.28);
}

.me-footer__social-icon--instagram svg path {
  fill: url(#me-ig-grad);
}

.me-footer__social a.me-footer__social-icon--whatsapp:hover,
.me-footer__social-icon--whatsapp:hover {
  color: #1EBE57 !important;
  border-color: rgba(37, 211, 102, 0.55);
  background: rgba(37, 211, 102, 0.08);
  opacity: 1;
  transform: translateY(-1px);
}

.me-footer__social a.me-footer__social-icon--facebook:hover,
.me-footer__social-icon--facebook:hover {
  color: #0F66D9 !important;
  border-color: rgba(24, 119, 242, 0.55);
  background: rgba(24, 119, 242, 0.08);
  opacity: 1;
  transform: translateY(-1px);
}

.me-footer__social a.me-footer__social-icon--instagram:hover,
.me-footer__social-icon--instagram:hover {
  color: #C13584 !important;
  border-color: rgba(193, 53, 132, 0.5);
  background: rgba(225, 48, 108, 0.07);
  opacity: 1;
  transform: translateY(-1px);
}

.me-footer__social-icon:hover {
  opacity: 1;
  background: #FFFCFA;
  transform: translateY(-1px);
}

.me-footer__bottom {
  border-top: 1px solid rgba(17, 34, 36, 0.08);
  padding: 0.85rem 0 1.1rem;
  font-size: var(--me-ft-bottom-fs);
  color: var(--me-ft-muted) !important;
  line-height: 1.5;
}

.me-footer__bottom p {
  margin: 0;
  color: inherit !important;
}

.me-footer__disclaimer {
  padding: 1rem 0 1.35rem;
  border: 0;
  background: none;
}

.me-footer__disclaimer p {
  margin: 0 auto;
  max-width: min(42rem, 100%);
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 400;
  line-height: 1.55;
  color: #6B7280 !important;
}

@media (max-width: 1100px) {
  .me-footer__grid {
    grid-template-columns: minmax(0, 1.2fr) 1fr 1fr;
  }
  .me-footer__brand-col {
    grid-column: 1 / -1;
  }
  .me-footer__legal-card {
    max-width: min(100%, var(--me-ft-lc-t-max, var(--me-ft-lc-max)));
    padding: var(--me-ft-lc-t-pad-y, var(--me-ft-lc-pad-y)) var(--me-ft-lc-t-pad-x, var(--me-ft-lc-pad-x));
    border-radius: var(--me-ft-lc-t-radius, var(--me-ft-lc-radius));
  }
  .me-footer__legal-card-name {
    font-size: var(--me-ft-lc-t-title-size, var(--me-ft-lc-title-size));
  }
  .me-footer__legal-card-form {
    font-size: calc(var(--me-ft-lc-t-text-size, var(--me-ft-lc-text-size)) * 1.05);
  }
  .me-footer__legal-card-meta p,
  .me-footer__legal-card-copy {
    font-size: var(--me-ft-lc-t-text-size, var(--me-ft-lc-text-size));
  }
}

@media (max-width: 860px) {
  .me-footer {
    padding-top: var(--me-ft-m-pad-top);
    font-size: var(--me-ft-m-fs);
  }
  .me-footer__inner {
    width: min(100% - (var(--me-m-gutter, 1.1rem) * 2), var(--me-ft-content-max, 1120px));
  }
  .me-footer__grid {
    grid-template-columns: 1fr;
    gap: var(--me-ft-m-gap);
    padding-bottom: var(--me-ft-m-pad-bottom);
    text-align: left;
  }
  .me-footer__brand-col {
    grid-column: auto;
    gap: 0.95rem;
  }
  .me-footer__about,
  .me-footer__legal-info {
    max-width: min(100%, var(--me-ft-m-brand-max));
  }
  .me-footer__brand img {
    max-height: var(--me-ft-m-logo-h);
  }
  .me-footer__title {
    font-size: var(--me-ft-m-title-fs) !important;
    margin-bottom: 0.65rem;
  }
  .me-footer__list {
    gap: 0.4rem;
  }
  .me-footer__bottom {
    padding: 0.75rem 0 1rem;
  }
  .me-footer__disclaimer {
    padding: 0.85rem 0 1.15rem;
  }
  .me-footer__disclaimer p {
    max-width: 100%;
    font-size: 0.625rem;
    line-height: 1.5;
    padding: 0 0.15rem;
  }
  .me-footer__legal-card {
    max-width: min(100%, var(--me-ft-lc-m-max, var(--me-ft-lc-max)));
    padding: var(--me-ft-lc-m-pad-y, 0.9rem) var(--me-ft-lc-m-pad-x, 0.95rem);
    border-radius: var(--me-ft-lc-m-radius, 12px);
    gap: 0.35rem;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset, 0 6px 16px rgba(17, 24, 28, 0.035);
  }
  .me-footer__legal-card-name {
    font-size: var(--me-ft-lc-m-title-size, 0.92rem);
    letter-spacing: 0.05em;
  }
  .me-footer__legal-card-form {
    font-size: calc(var(--me-ft-lc-m-text-size, 0.64rem) * 1.05);
  }
  .me-footer__legal-card-meta {
    gap: 0.22rem;
  }
  .me-footer__legal-card-meta p,
  .me-footer__legal-card-copy {
    font-size: var(--me-ft-lc-m-text-size, 0.64rem);
    line-height: 1.5;
  }
  .me-footer__legal-card-rule {
    margin: 0.25rem 0 0.1rem;
  }
}

html.me-is-mobile .me-footer {
  padding-top: var(--me-ft-m-pad-top, 1.75rem) !important;
  font-size: var(--me-ft-m-fs, 0.78rem) !important;
  overflow-x: clip !important;
}

html.me-is-mobile .me-footer__inner {
  width: min(100% - (var(--me-m-gutter, 1.1rem) * 2), var(--me-ft-content-max, 1120px)) !important;
  max-width: 100% !important;
  margin-inline: auto !important;
  box-sizing: border-box !important;
}

html.me-is-mobile .me-footer__grid {
  display: flex !important;
  flex-direction: column !important;
  gap: var(--me-ft-m-gap, 1.5rem) !important;
  text-align: left !important;
  width: 100% !important;
  max-width: 100% !important;
  padding-bottom: var(--me-ft-m-pad-bottom, 1.25rem) !important;
}

html.me-is-mobile .me-footer__brand {
  display: flex !important;
  align-items: center !important;
}

html.me-is-mobile .me-footer__brand-name {
  font-weight: 700 !important;
}

html.me-is-mobile .me-footer__legal-card {
  max-width: min(100%, var(--me-ft-lc-m-max, 100%)) !important;
  padding: var(--me-ft-lc-m-pad-y, 0.9rem) var(--me-ft-lc-m-pad-x, 0.95rem) !important;
  border-radius: var(--me-ft-lc-m-radius, 12px) !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

html.me-is-mobile .me-footer__legal-card-name {
  font-size: var(--me-ft-lc-m-title-size, 0.92rem) !important;
}

html.me-is-mobile .me-footer__legal-card-form {
  font-size: calc(var(--me-ft-lc-m-text-size, 0.64rem) * 1.05) !important;
}

html.me-is-mobile .me-footer__legal-card-meta p,
html.me-is-mobile .me-footer__legal-card-copy {
  font-size: var(--me-ft-lc-m-text-size, 0.64rem) !important;
}

/* =========================================================
   FOOTER SMARTPHONE ONLY (≤700px) — accordion + centered
   Desktop / tablette inchangés.
   ========================================================= */
@media (max-width: 700px) {
  /* Padding phone-only — tablette conserve les valeurs me-is-mobile générales */
  html.me-is-mobile .me-footer {
    padding-top: clamp(0.8rem, var(--me-ft-m-pad-top, 1.05rem), 1.15rem) !important;
  }

  html.me-is-mobile .me-footer__grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: var(--me-ft-m-acc-gap, 0.4rem) !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-bottom: clamp(0.45rem, var(--me-ft-m-pad-bottom, 0.7rem), 0.85rem) !important;
  }

  html.me-is-mobile .me-footer__brand-col {
    display: contents !important;
  }

  html.me-is-mobile .me-footer__brand { order: var(--me-ft-m-ord-brand, 1) !important; }
  html.me-is-mobile .me-footer__legal-card,
  html.me-is-mobile .me-footer__legal-info { order: var(--me-ft-m-ord-card, 2) !important; }
  html.me-is-mobile .me-footer__col--nav { order: var(--me-ft-m-ord-nav, 3) !important; }
  html.me-is-mobile .me-footer__col--legal { order: var(--me-ft-m-ord-legal, 4) !important; }
  html.me-is-mobile .me-footer__col--contact { order: var(--me-ft-m-ord-contact, 5) !important; }

  html.me-is-mobile .me-footer__about {
    display: none !important;
  }

  html.me-is-mobile .me-footer__col--hide-m,
  html.me-is-mobile .me-footer__brand--hide-m {
    display: none !important;
  }

  html.me-is-mobile .me-footer__title--desk {
    display: none !important;
  }

  html.me-is-mobile .me-footer__acc-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.4rem !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0.48rem 0.7rem !important;
    min-height: 42px !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(17, 34, 36, 0.1) !important;
    background: transparent !important;
    color: var(--me-ft-m-menu-color, var(--me-ft-title)) !important;
    font-family: var(--font-sans, 'DM Sans', system-ui, sans-serif) !important;
    font-size: var(--me-ft-m-menu-size, 0.78rem) !important;
    font-weight: 600 !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase !important;
    line-height: 1.15 !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    -webkit-tap-highlight-color: transparent;
  }

  html.me-is-mobile .me-footer__acc-btn--menu {
    border-bottom-color: rgba(17, 34, 36, 0.12) !important;
  }

  html.me-is-mobile .me-footer__acc-btn[aria-expanded="true"] {
    color: var(--me-ft-m-menu-color, var(--me-ft-hover, #0D6E75)) !important;
  }

  html.me-is-mobile .me-footer__acc-label {
    display: inline-block !important;
  }

  html.me-is-mobile .me-footer__burger {
    display: inline-flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 3px !important;
    width: var(--me-ft-m-icon-size, 18px) !important;
    flex-shrink: 0 !important;
  }

  html.me-is-mobile .me-footer__burger i {
    display: block !important;
    height: 1.5px !important;
    width: 100% !important;
    border-radius: 1px !important;
    background: currentColor !important;
    transition: transform 0.22s ease, opacity 0.22s ease !important;
  }

  html.me-is-mobile .me-footer__acc-btn[aria-expanded="true"] .me-footer__burger i:nth-child(1) {
    transform: translateY(4.5px) rotate(45deg);
  }
  html.me-is-mobile .me-footer__acc-btn[aria-expanded="true"] .me-footer__burger i:nth-child(2) {
    opacity: 0;
  }
  html.me-is-mobile .me-footer__acc-btn[aria-expanded="true"] .me-footer__burger i:nth-child(3) {
    transform: translateY(-4.5px) rotate(-45deg);
  }

  html.me-is-mobile .me-footer__acc-chevron {
    display: inline-block !important;
    width: 0.4rem !important;
    height: 0.4rem !important;
    border-right: 1.5px solid currentColor !important;
    border-bottom: 1.5px solid currentColor !important;
    transform: rotate(45deg) translateY(-1px) !important;
    transition: transform 0.22s ease !important;
    flex-shrink: 0 !important;
    opacity: 0.7 !important;
  }

  html.me-is-mobile .me-footer__acc-btn[aria-expanded="true"] .me-footer__acc-chevron {
    transform: rotate(225deg) translateY(-1px) !important;
  }

  html.me-is-mobile .me-footer__acc-panel {
    display: grid !important;
    grid-template-rows: 0fr !important;
    transition: grid-template-rows 0.28s ease !important;
    overflow: hidden !important;
  }

  html.me-is-mobile .me-footer__acc-panel > * {
    min-height: 0 !important;
    overflow: hidden !important;
  }

  html.me-is-mobile .me-footer__col.is-open .me-footer__acc-panel {
    grid-template-rows: 1fr !important;
  }

  html.me-is-mobile .me-footer__col.is-open .me-footer__acc-panel > * {
    overflow: visible !important;
  }

  html.me-is-mobile .me-footer__acc-panel .me-footer__list {
    padding: 0.2rem 0 0.35rem !important;
    gap: 0 !important;
    justify-items: center !important;
    text-align: center !important;
  }

  html.me-is-mobile .me-footer__acc-panel .me-footer__list a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 40px !important;
    padding: 0.35rem 0.6rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
    opacity: 0.9 !important;
  }

  html.me-is-mobile .me-footer__acc-panel .me-footer__social {
    justify-content: center !important;
    margin-top: 0.35rem !important;
    margin-bottom: 0.35rem !important;
    gap: 0.65rem !important;
  }

  html.me-is-mobile .me-footer__acc-panel .me-footer__social a {
    min-height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 0.25rem 0.4rem !important;
  }

  html.me-is-mobile .me-footer__acc-panel .me-footer__social--icons {
    width: 100% !important;
    justify-content: center !important;
  }

  html.me-is-mobile .me-footer__acc-panel .me-footer__social-icon {
    width: 2.35rem !important;
    height: 2.35rem !important;
    min-height: 2.35rem !important;
    padding: 0 !important;
  }

  html.me-is-mobile .me-footer__brand {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 0.4rem 0.55rem !important;
    width: 100% !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  html.me-is-mobile .me-footer__brand img {
    max-height: var(--me-ft-m-logo-h, 36px) !important;
    max-width: min(120px, 42vw) !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
  }

  html.me-is-mobile .me-footer__brand-name {
    font-size: var(--me-ft-m-name-size, 1.05rem) !important;
    font-weight: 700 !important;
    text-align: center !important;
    line-height: 1.15 !important;
  }

  html.me-is-mobile .me-footer__legal-card,
  html.me-is-mobile .me-footer__legal-info {
    margin: 0 auto !important;
    width: 100% !important;
    max-width: min(100%, var(--me-ft-lc-m-max, 100%)) !important;
    text-align: var(--me-ft-lc-m-align, center) !important;
  }

  html.me-is-mobile .me-footer__legal-card-form,
  html.me-is-mobile .me-footer__legal-card-name,
  html.me-is-mobile .me-footer__legal-card-meta,
  html.me-is-mobile .me-footer__legal-card-meta p,
  html.me-is-mobile .me-footer__legal-card-copy {
    text-align: var(--me-ft-lc-m-align, center) !important;
  }

  html.me-is-mobile .me-footer__legal-card-meta {
    justify-items: var(--me-ft-lc-m-align, center) !important;
  }

  html.me-is-mobile .me-footer__bottom {
    text-align: center !important;
    padding: 0.55rem 0 0.75rem !important;
  }

  html.me-is-mobile .me-footer__disclaimer {
    padding: 0.7rem 0 1rem !important;
  }

  html.me-is-mobile .me-footer__disclaimer p {
    max-width: 100% !important;
    font-size: 0.625rem !important;
    line-height: 1.5 !important;
    padding: 0 0.2rem !important;
  }

  html.me-is-mobile .me-footer__col {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
}

/* Preview embed mobile — même structure accordéon (iframe admin) */
html.me-is-mobile.me-mobile-embed .me-footer {
  padding-top: clamp(0.8rem, var(--me-ft-m-pad-top, 1.05rem), 1.15rem) !important;
}
html.me-is-mobile.me-mobile-embed .me-footer__grid {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: var(--me-ft-m-acc-gap, 0.4rem) !important;
  text-align: center !important;
  padding-bottom: clamp(0.45rem, var(--me-ft-m-pad-bottom, 0.7rem), 0.85rem) !important;
}

html.me-is-mobile.me-mobile-embed .me-footer__brand-col { display: contents !important; }
html.me-is-mobile.me-mobile-embed .me-footer__brand { order: var(--me-ft-m-ord-brand, 1) !important; }
html.me-is-mobile.me-mobile-embed .me-footer__legal-card,
html.me-is-mobile.me-mobile-embed .me-footer__legal-info { order: var(--me-ft-m-ord-card, 2) !important; }
html.me-is-mobile.me-mobile-embed .me-footer__col--nav { order: var(--me-ft-m-ord-nav, 3) !important; }
html.me-is-mobile.me-mobile-embed .me-footer__col--legal { order: var(--me-ft-m-ord-legal, 4) !important; }
html.me-is-mobile.me-mobile-embed .me-footer__col--contact { order: var(--me-ft-m-ord-contact, 5) !important; }
html.me-is-mobile.me-mobile-embed .me-footer__about { display: none !important; }
html.me-is-mobile.me-mobile-embed .me-footer__title--desk { display: none !important; }
html.me-is-mobile.me-mobile-embed .me-footer__col--hide-m,
html.me-is-mobile.me-mobile-embed .me-footer__brand--hide-m { display: none !important; }
html.me-is-mobile.me-mobile-embed .me-footer__acc-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.4rem !important;
  width: 100% !important;
  min-height: 42px !important;
  padding: 0.48rem 0.7rem !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(17, 34, 36, 0.1) !important;
  background: transparent !important;
  color: var(--me-ft-m-menu-color, var(--me-ft-title)) !important;
  font-family: var(--font-sans, 'DM Sans', system-ui, sans-serif) !important;
  font-size: var(--me-ft-m-menu-size, 0.78rem) !important;
  font-weight: 600 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
}
html.me-is-mobile.me-mobile-embed .me-footer__burger {
  display: inline-flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 3px !important;
  width: var(--me-ft-m-icon-size, 18px) !important;
}
html.me-is-mobile.me-mobile-embed .me-footer__burger i {
  display: block !important;
  height: 1.5px !important;
  width: 100% !important;
  background: currentColor !important;
  border-radius: 1px !important;
}
html.me-is-mobile.me-mobile-embed .me-footer__acc-chevron {
  display: inline-block !important;
  width: 0.45rem !important;
  height: 0.45rem !important;
  border-right: 1.5px solid currentColor !important;
  border-bottom: 1.5px solid currentColor !important;
  transform: rotate(45deg) translateY(-1px) !important;
  opacity: 0.7 !important;
}
html.me-is-mobile.me-mobile-embed .me-footer__acc-btn[aria-expanded="true"] .me-footer__acc-chevron {
  transform: rotate(225deg) translateY(-1px) !important;
}
html.me-is-mobile.me-mobile-embed .me-footer__acc-panel {
  display: grid !important;
  grid-template-rows: 0fr !important;
  overflow: hidden !important;
  transition: grid-template-rows 0.28s ease !important;
}
html.me-is-mobile.me-mobile-embed .me-footer__acc-panel > * { min-height: 0 !important; overflow: hidden !important; }
html.me-is-mobile.me-mobile-embed .me-footer__col.is-open .me-footer__acc-panel { grid-template-rows: 1fr !important; }
html.me-is-mobile.me-mobile-embed .me-footer__acc-panel .me-footer__list {
  padding: 0.2rem 0 0.35rem !important;
  justify-items: center !important;
  text-align: center !important;
}
html.me-is-mobile.me-mobile-embed .me-footer__acc-panel .me-footer__list a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 40px !important;
  padding: 0.35rem 0.6rem !important;
  width: 100% !important;
  text-align: center !important;
}
html.me-is-mobile.me-mobile-embed .me-footer__brand {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 0.4rem 0.55rem !important;
  width: 100% !important;
  margin: 0 auto !important;
}
html.me-is-mobile.me-mobile-embed .me-footer__brand img {
  max-height: var(--me-ft-m-logo-h, 36px) !important;
  max-width: min(120px, 42vw) !important;
}
html.me-is-mobile.me-mobile-embed .me-footer__brand-name {
  font-size: var(--me-ft-m-name-size, 1.05rem) !important;
  font-weight: 700 !important;
}
html.me-is-mobile.me-mobile-embed .me-footer__bottom {
  text-align: center !important;
}
