@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Jost:wght@300;400;500;600&display=swap');

:root {
  --mm-beige: #FAF6EE;
  --mm-or: #C9A84C;
  --mm-brun: #5C4A2A;
  --mm-brun2: #3d2510;
  --mm-brun-clair: #8B6E4E;
  --mm-text: #2C1810;
  --mm-gris: #6B5B4E;
  --mm-blanc: #FFFFFF;
  --mm-nav-h: 88px;
  --mm-top-h: 36px;
}

#mm-wrap * { box-sizing: border-box; }
#mm-wrap a { text-decoration: none; color: inherit; }

/* ===== TOPBAR ===== */
#mm-topbar {
  background: var(--mm-brun2);
  height: var(--mm-top-h);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.55);
  position: relative;
  z-index: 1001;
}
#mm-topbar a { color: rgba(255,255,255,0.55); transition: color .2s; }
#mm-topbar a:hover { color: var(--mm-or); }
#mm-topbar .mm-top-left { display: flex; align-items: center; gap: 24px; }
#mm-topbar .mm-top-right { display: flex; align-items: center; gap: 24px; }
#mm-topbar .mm-sep { opacity: 0.25; }

/* ===== NAVBAR ===== */
#mm-navbar {
  background: var(--mm-blanc);
  border-bottom: 1px solid rgba(92,74,42,0.12);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--mm-nav-h);
  display: flex;
  align-items: center;
  padding: 0 32px;
  gap: 0;
}

/* LOGO */
#mm-logo {
  display: flex;
  align-items: center;
  margin-right: 24px;
  flex-shrink: 0;
}
#mm-logo img {
  height: 60px;
  width: auto;
  display: block;
}

/* ARNAUD DUBOIS — compact à droite, après le CTA */
#mm-arnaud {
  background: #C9A84C;
  border-radius: 3px;
  padding: 8px 12px;
  margin-left: 16px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 200px;
}
#mm-arnaud .mm-arnaud-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--mm-brun2);
  text-decoration: underline;
  text-underline-offset: 2px;
  display: block;
  margin-bottom: 2px;
  white-space: nowrap;
}
#mm-arnaud .mm-arnaud-sub {
  font-family: 'Jost', sans-serif;
  font-size: 9px;
  color: var(--mm-brun2);
  line-height: 1.4;
  margin-bottom: 3px;
}
#mm-arnaud .mm-arnaud-tel {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--mm-brun2);
  display: block;
  line-height: 1.3;
  white-space: nowrap;
}
#mm-arnaud .mm-arnaud-reponse {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 10px;
  color: var(--mm-brun2);
  opacity: 0.75;
  white-space: nowrap;
}

/* NAVIGATION */
#mm-nav {
  display: flex;
  align-items: stretch;
  height: var(--mm-nav-h);
  flex: 1;
  list-style: none;
  margin: 0;
  padding: 0;
}
.mm-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}
.mm-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 12px;
  height: 100%;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--mm-brun);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}
.mm-link svg {
  width: 9px;
  height: 9px;
  transition: transform .25s;
  flex-shrink: 0;
}
.mm-item:hover > .mm-link,
.mm-item.mm-active > .mm-link {
  color: var(--mm-or);
  border-bottom-color: var(--mm-or);
}
.mm-item:hover > .mm-link svg,
.mm-item.mm-active > .mm-link svg { transform: rotate(180deg); }

/* Orient Express — item spécial */
.mm-item--oe > .mm-link {
  color: var(--mm-or);
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  letter-spacing: 0.06em;
  font-weight: 500;
}
.mm-item--oe:hover > .mm-link { color: var(--mm-brun); border-bottom-color: var(--mm-brun); }

.mm-link--simple { border-bottom: 3px solid transparent; }
.mm-link--simple:hover { color: var(--mm-or); border-bottom-color: var(--mm-or); }

/* CTA */
#mm-nav-cta {
  margin-left: auto;
  flex-shrink: 0;
}
#mm-btn-devis {
  background: var(--mm-or);
  color: var(--mm-brun);
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 12px 22px;
  border-radius: 2px;
  transition: background .2s;
  white-space: nowrap;
  display: inline-block;
}
#mm-btn-devis:hover { background: var(--mm-brun); color: #fff; }

/* ===== MEGA PANEL ===== */
.mm-panel {
  position: fixed;
  top: calc(var(--mm-top-h) + var(--mm-nav-h));
  left: 0;
  right: 0;
  background: var(--mm-blanc);
  border-top: 3px solid var(--mm-or);
  border-bottom: 1px solid rgba(92,74,42,0.10);
  box-shadow: 0 12px 40px rgba(44,24,16,0.10);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .22s ease, transform .22s ease;
  z-index: 999;
}
.mm-panel.mm-visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.mm-panel-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 40px 36px;
}

.mm-grid { display: grid; gap: 0; margin-bottom: 24px; }
.mm-grid--5 { grid-template-columns: repeat(4,1fr) 240px; }
.mm-grid--4 { grid-template-columns: repeat(3,1fr) 240px; }
.mm-grid--3 { grid-template-columns: repeat(2,1fr) 240px; }
.mm-grid--2 { grid-template-columns: 1fr 240px; }

.mm-col-img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: 2px;
  margin-bottom: 14px;
  display: block;
}

.mm-col {
  padding: 0 24px 0 0;
  border-right: 1px solid rgba(201,168,76,0.15);
}
.mm-col:last-of-type { border-right: none; }

.mm-col-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--mm-or);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(201,168,76,0.20);
}

.mm-links { list-style: none; margin: 0; padding: 0; }
.mm-links li { margin-bottom: 1px; }
.mm-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 2px;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  color: var(--mm-gris);
  transition: background .15s, color .15s;
  line-height: 1.35;
}
.mm-links a:hover { background: rgba(201,168,76,0.08); color: var(--mm-brun); }
.mm-dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--mm-or); flex-shrink: 0; opacity: 0.5;
}
.mm-links a:hover .mm-dot { opacity: 1; }

.mm-links a.mm-has-img { gap: 10px; padding: 5px 8px; }
.mm-link-thumb { width: 44px; height: 30px; object-fit: cover; border-radius: 2px; flex-shrink: 0; }
.mm-link-txt { display: flex; flex-direction: column; gap: 1px; }
.mm-link-txt span:first-child { font-size: 13px; color: var(--mm-gris); line-height: 1.3; }
.mm-link-txt span.mm-link-tag { font-size: 9px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mm-brun-clair); }

.mm-featured { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(201,168,76,0.15); }
.mm-featured-label { font-family: 'Jost', sans-serif; font-size: 9px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mm-brun-clair); margin-bottom: 6px; }
.mm-featured-link {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px; font-style: italic; color: var(--mm-brun);
  padding-left: 10px; border-left: 2px solid var(--mm-or);
  line-height: 1.4; transition: color .2s;
}
.mm-featured-link:hover { color: var(--mm-or); }

/* ASIDE */
.mm-aside { padding-left: 24px; display: flex; flex-direction: column; gap: 14px; }
.mm-aside-label { font-family: 'Jost', sans-serif; font-size: 9px; font-weight: 700; letter-spacing: 0.20em; text-transform: uppercase; color: var(--mm-or); }
.mm-aside-card { background: var(--mm-beige); border: 1px solid rgba(201,168,76,0.20); border-radius: 2px; overflow: hidden; flex: 1; display: flex; flex-direction: column; }
.mm-aside-card-img { width: 100%; height: 110px; object-fit: cover; display: block; }
.mm-aside-card-body { padding: 14px; display: flex; flex-direction: column; flex: 1; }
.mm-aside-tag { font-family: 'Jost', sans-serif; font-size: 9px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mm-brun-clair); margin-bottom: 6px; }
.mm-aside-title { font-family: 'Cormorant Garamond', serif; font-size: 14px; font-weight: 600; color: var(--mm-brun); line-height: 1.35; margin-bottom: 8px; flex: 1; }
.mm-aside-cta { display: inline-block; font-family: 'Jost', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mm-brun); border-bottom: 1px solid var(--mm-or); padding-bottom: 2px; transition: color .2s; align-self: flex-start; }
.mm-aside-cta:hover { color: var(--mm-or); }

/* BARRE EXPERT */
.mm-expert { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid rgba(201,168,76,0.15); }
.mm-expert-badge { background: var(--mm-brun); color: #fff; font-family: 'Jost', sans-serif; font-size: 9px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 10px; border-radius: 2px; white-space: nowrap; flex-shrink: 0; }
.mm-expert-txt { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 13px; color: var(--mm-brun-clair); }
.mm-expert-tel { margin-left: auto; font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 14px; font-weight: 600; color: var(--mm-brun); white-space: nowrap; flex-shrink: 0; transition: color .2s; }
.mm-expert-tel:hover { color: var(--mm-or); }

/* OVERLAY */
#mm-overlay { position: fixed; inset: 0; z-index: 998; display: none; background: transparent; }

/* BURGER */
#mm-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; margin-left: auto; padding: 6px; background: none; border: none; }
#mm-burger span { display: block; width: 22px; height: 1.5px; background: var(--mm-brun); transition: .3s; }
#mm-burger.mm-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
#mm-burger.mm-open span:nth-child(2) { opacity: 0; }
#mm-burger.mm-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* MOBILE */
#mm-mobile { display: none; position: fixed; top: calc(var(--mm-top-h) + var(--mm-nav-h)); left: 0; right: 0; bottom: 0; background: var(--mm-blanc); z-index: 997; overflow-y: auto; transform: translateX(100%); transition: transform .3s ease; }
#mm-mobile.mm-open { transform: translateX(0); }
.mm-mob-section { border-bottom: 1px solid rgba(201,168,76,0.15); }
.mm-mob-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; cursor: pointer; font-family: 'Jost', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mm-brun); }
.mm-mob-head svg { width: 12px; height: 12px; transition: transform .3s; flex-shrink: 0; }
.mm-mob-head.mm-open svg { transform: rotate(180deg); }
.mm-mob-links { display: none; padding: 0 24px 16px; list-style: none; margin: 0; }
.mm-mob-links.mm-open { display: block; }
.mm-mob-links a { display: block; padding: 9px 0; font-family: 'Jost', sans-serif; font-size: 13px; color: var(--mm-gris); border-bottom: 1px solid rgba(201,168,76,0.08); }
.mm-mob-links li:last-child a { border-bottom: none; }
.mm-mob-links a:hover { color: var(--mm-brun); }
.mm-mob-cta { padding: 24px; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.mm-mob-cta .mm-btn-devis-mob { display: block; width: 100%; text-align: center; background: var(--mm-or); color: var(--mm-brun); font-family: 'Jost', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; padding: 14px; border-radius: 2px; }
.mm-mob-cta .mm-tel-mob { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 18px; font-weight: 600; color: var(--mm-brun); }

@media (max-width: 1200px) { #mm-arnaud { display: none; } }
@media (max-width: 900px) {
  #mm-nav { display: none; }
  #mm-nav-cta { display: none; }
  #mm-burger { display: flex; }
  #mm-mobile { display: block; }
  #mm-navbar { padding: 0 20px; }
  #mm-topbar { display: none; }
}
