  :where(.mh-melamine) *,
  :where(.mh-melamine) *::before,
  :where(.mh-melamine) *::after { box-sizing: border-box; }

  .mh-melamine {
    --mh-ivory:      #f6f1ea;
    --mh-ivory-2:    #efe7da;
    --mh-paper:      #fbf8f3;
    --mh-ink:        #1a1714;
    --mh-ink-soft:   #3b342d;
    --mh-mute:       #8a7f72;
    --mh-line:       #d9cfbf;
    --mh-gold:       #b89968;
    --mh-gold-deep:  #8a6f44;
    --mh-serif: "Cormorant Garamond", Georgia, serif;
    --mh-sans:  "Inter", system-ui, sans-serif;
    --mh-ease: cubic-bezier(.2,.7,.2,1);
    --mh-ease-out: cubic-bezier(.16,1,.3,1);
    --mh-radius: 6px;
    --mh-radius-lg: 14px;
    --mh-container: 1840px;
    --mh-gutter: clamp(20px, 2vw, 32px);
    color: var(--mh-ink);
    background: var(--mh-paper);
    font-family: var(--mh-sans);
    font-size: clamp(15px, 0.9vw + 12px, 17px);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }

  .mh-melamine img { display: block; max-width: 100%; height: auto; }
  .mh-melamine a   { color: inherit; text-decoration: none; }
  .mh-melamine button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
  .mh-melamine h1, .mh-melamine h2, .mh-melamine h3 {
    text-transform: none !important;
    letter-spacing: normal;
  }
  .mh-melamine :focus-visible {
    outline: 2px solid var(--mh-gold);
    outline-offset: 3px;
    border-radius: 4px;
  }

  /* =========================================================
     HERO — plein écran
  ========================================================= */
  .mh-hero {
    position: relative;
    width: 100vw;
    left: 50%;
    margin-left: -50vw;
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    place-items: center;
    overflow: hidden;
    isolation: isolate;
    color: #1a1714;
    background: #1a1714;
  }
  .mh-hero__media {
    position: absolute; inset: 0;
    background:
      linear-gradient(180deg, rgba(251,248,243,.10) 0%, rgba(251,248,243,0) 42%, rgba(251,248,243,.30) 100%),
      url("https://www.maison-h-luxury.fr/wp-content/uploads/2025/11/table-dresse-en-melamine-scaled.jpg") center / cover no-repeat;
    filter: saturate(1.1) contrast(1.04);
    transform: scale(1.06);
    animation: mhHeroZoom 18s cubic-bezier(.2,.7,.2,1) both;
  }
  @keyframes mhHeroZoom {
    from { transform: scale(1.14); }
    to   { transform: scale(1.02); }
  }
  .mh-hero::after {
    content: "";
    position: absolute; inset: -1px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .22 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    mix-blend-mode: overlay; opacity: .12; pointer-events: none;
  }
  .mh-hero__inner {
    position: relative; z-index: 2;
    width: min(100%, var(--mh-container));
    padding: 0 var(--mh-gutter);
    text-align: center;
  }
  .mh-hero__eyebrow {
    display: inline-flex; align-items: center; gap: 14px;
    font-size: 12px; font-weight: 500; letter-spacing: .28em !important;
    text-transform: uppercase; color: #e8dcc6;
    margin-bottom: clamp(18px, 2vw, 28px);
    opacity: 0; animation: mhFadeUp .9s cubic-bezier(.16,1,.3,1) .15s forwards;
  }
  .mh-hero__eyebrow::before, .mh-hero__eyebrow::after {
    content: ""; width: 38px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--mh-gold), transparent);
  }
  .mh-hero__title {
    font-family: var(--mh-serif); font-weight: 300;
    font-size: clamp(72px, 13vw, 200px);
    line-height: .9; letter-spacing: -.02em; margin: 0;
    opacity: 0; animation: mhFadeUp 1.1s cubic-bezier(.16,1,.3,1) .25s forwards;
  }
  .mh-hero__title em { font-style: italic; color: #e9d6ad; font-weight: 300; }
  .mh-hero__sub {
    margin: clamp(22px, 3vw, 36px) auto 0; max-width: 52ch;
    font-size: clamp(15px, 1vw + 8px, 18px); color: #ebe1cf;
    opacity: 0; animation: mhFadeUp 1.1s cubic-bezier(.16,1,.3,1) .45s forwards;
  }
  .mh-hero__scroll {
    position: absolute; bottom: clamp(20px, 3vw, 36px);
    left: 50%; transform: translateX(-50%);
    font-size: 11px; letter-spacing: .28em !important; text-transform: uppercase;
    color: #d9c9aa; display: inline-flex; flex-direction: column; align-items: center; gap: 10px;
    opacity: 0; animation: mhFadeUp 1s cubic-bezier(.16,1,.3,1) .8s forwards;
  }
  .mh-hero__scroll::after {
    content: ""; width: 1px; height: 42px;
    background: linear-gradient(180deg, var(--mh-gold), transparent);
    animation: mhScrollLine 2.4s var(--mh-ease) infinite;
  }
  @keyframes mhScrollLine {
    0%   { transform: scaleY(0); transform-origin: top; }
    50%  { transform: scaleY(1); transform-origin: top; }
    51%  { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
  }
  @keyframes mhFadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* =========================================================
     STATEMENT — titre compact
  ========================================================= */
  .mh-statement {
    padding: clamp(60px, 8vw, 100px) var(--mh-gutter) clamp(40px, 5vw, 70px);
    text-align: center;
  }
  .mh-statement__inner { max-width: 860px; margin: 0 auto; }
  .mh-statement__brands {
    font-size: 11px; letter-spacing: .32em !important; text-transform: uppercase;
    color: var(--mh-gold-deep); margin: 0 0 28px; font-family: var(--mh-sans);
  }
  .mh-statement__lead {
    font-family: var(--mh-serif); font-weight: 300;
    font-size: clamp(32px, 3.5vw + 10px, 58px);
    line-height: 1.08; letter-spacing: -.01em; color: var(--mh-ink); margin: 0;
  }
  .mh-statement__lead em { font-style: italic; color: var(--mh-gold-deep); }
  .mh-statement__rule {
    width: 1px; height: 48px;
    background: linear-gradient(180deg, transparent, var(--mh-gold), transparent);
    margin: 40px auto 0;
  }

  /* =========================================================
     GRILLE — 3 colonnes larges
  ========================================================= */
  .mh-collections {
    padding: 0 var(--mh-gutter) clamp(80px, 10vw, 140px);
  }
  .mh-collections__inner {
    width: min(100%, var(--mh-container)); margin: 0 auto;
  }
  .mh-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(24px, 2.5vw, 40px) clamp(20px, 2vw, 32px);
  }
  @media (max-width: 900px)  { .mh-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 540px)  { .mh-grid { grid-template-columns: 1fr; } }

  .mh-card {
    position: relative; display: flex; flex-direction: column;
    isolation: isolate; transition: transform .6s cubic-bezier(.16,1,.3,1);
  }
  .mh-card__media {
    position: relative; aspect-ratio: 4 / 3;
    overflow: hidden; border-radius: var(--mh-radius-lg);
    background: var(--mh-ivory-2);
  }
  .mh-card__img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 1.1s cubic-bezier(.16,1,.3,1), filter .6s var(--mh-ease);
    will-change: transform;
  }
  .mh-card__media::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(26,23,20,0) 40%, rgba(26,23,20,.6) 100%);
    opacity: 0; transition: opacity .5s var(--mh-ease); z-index: 1; pointer-events: none;
  }
  .mh-card__media::after {
    content: ""; position: absolute; inset: 12px;
    border: 1px solid color-mix(in oklab, var(--mh-gold) 70%, transparent);
    border-radius: calc(var(--mh-radius-lg) - 4px);
    opacity: 0; transform: scale(.98);
    transition: opacity .5s var(--mh-ease), transform .6s cubic-bezier(.16,1,.3,1);
    z-index: 2; pointer-events: none;
  }
  .mh-card__cta {
    position: absolute; left: 50%; bottom: 28px;
    transform: translate(-50%, 12px); z-index: 3;
    display: inline-flex; align-items: center; gap: 10px;
    padding: 13px 26px; font-size: 12px; letter-spacing: .26em !important;
    text-transform: uppercase; color: #f6f1ea;
    border: 1px solid color-mix(in oklab, #f6f1ea 65%, transparent);
    border-radius: 999px;
    background: color-mix(in oklab, #1a1714 25%, transparent);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    opacity: 0; transition: opacity .45s var(--mh-ease), transform .55s cubic-bezier(.16,1,.3,1);
  }
  .mh-card__cta::after { content: "→"; transition: transform .4s var(--mh-ease); }
  .mh-card:hover .mh-card__img,
  .mh-card:focus-within .mh-card__img { transform: scale(1.05); }
  .mh-card:hover .mh-card__media::before,
  .mh-card:focus-within .mh-card__media::before { opacity: 1; }
  .mh-card:hover .mh-card__media::after,
  .mh-card:focus-within .mh-card__media::after { opacity: 1; transform: scale(1); }
  .mh-card:hover .mh-card__cta,
  .mh-card:focus-within .mh-card__cta { opacity: 1; transform: translate(-50%, 0); }
  .mh-card:hover .mh-card__cta::after { transform: translateX(4px); }

  .mh-card__body { padding: 20px 4px 0; display: flex; flex-direction: column; gap: 5px; }
  .mh-card__title {
    font-family: var(--mh-serif); font-weight: 400;
    font-size: clamp(22px, 1.4vw + 14px, 30px);
    line-height: 1.1; color: var(--mh-ink); margin: 0;
  }
  .mh-card__brand {
    font-style: italic; font-size: 13px;
    color: var(--mh-mute); letter-spacing: .02em !important;
  }
  .mh-card__link { position: absolute; inset: 0; z-index: 4; }
  .mh-card__link span {
    position: absolute; width: 1px; height: 1px; padding: 0;
    margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0;
  }

  @supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
      .mh-card {
        opacity: 0; transform: translateY(28px);
        animation: mhReveal linear both;
        animation-timeline: view(); animation-range: entry 0% entry 60%;
      }
    }
  }
  .mh-card.is-in { opacity: 1; transform: none; transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); }
  @keyframes mhReveal {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: none; }
  }

  /* =========================================================
     FORMULAIRE DEMANDE
  ========================================================= */
  .mh-request {
    padding: clamp(80px, 10vw, 130px) var(--mh-gutter) clamp(80px, 10vw, 120px);
    background: var(--mh-ivory); position: relative; overflow: hidden;
  }
  .mh-request::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(900px 500px at 50% 0%, color-mix(in oklab, var(--mh-gold) 14%, transparent), transparent 70%);
    pointer-events: none;
  }
  .mh-request__inner { position: relative; max-width: 600px; margin: 0 auto; text-align: center; }
  .mh-request__kicker {
    font-size: 11px; letter-spacing: .32em !important; text-transform: uppercase;
    color: var(--mh-gold-deep); margin: 0 0 20px;
  }
  .mh-request__title {
    font-family: var(--mh-serif); font-weight: 300;
    font-size: clamp(28px, 3vw + 10px, 48px);
    line-height: 1.1; margin: 0 0 12px;
  }
  .mh-request__title em { font-style: italic; color: var(--mh-gold-deep); }
  .mh-request__sub { color: var(--mh-mute); font-size: clamp(14px, .5vw + 12px, 16px); margin: 0 0 44px; }
  .mh-form { display: flex; flex-direction: column; gap: 16px; text-align: left; }
  .mh-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  @media (max-width: 540px) { .mh-form__row { grid-template-columns: 1fr; } }
  .mh-form__field { display: flex; flex-direction: column; gap: 6px; }
  .mh-form__label { font-size: 11px; letter-spacing: .22em !important; text-transform: uppercase; color: var(--mh-mute); }
  .mh-form__input, .mh-form__textarea {
    font-family: var(--mh-sans); font-size: 15px; color: var(--mh-ink);
    background: var(--mh-paper); border: 1px solid var(--mh-line);
    border-radius: var(--mh-radius); padding: 14px 16px; outline: none;
    transition: border-color .3s var(--mh-ease), box-shadow .3s var(--mh-ease);
    width: 100%; resize: none;
  }
  .mh-form__input::placeholder, .mh-form__textarea::placeholder { color: var(--mh-line); }
  .mh-form__input:focus, .mh-form__textarea:focus {
    border-color: var(--mh-gold);
    box-shadow: 0 0 0 3px color-mix(in oklab, var(--mh-gold) 18%, transparent);
  }
  .mh-form__textarea { min-height: 120px; }
  .mh-form__submit {
    align-self: center; margin-top: 8px; padding: 16px 44px;
    border-radius: 999px; background: var(--mh-ink); color: var(--mh-paper);
    font-family: var(--mh-sans); font-size: 12px; letter-spacing: .26em !important;
    text-transform: uppercase; border: none; cursor: pointer;
    position: relative; overflow: hidden; isolation: isolate;
    transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s var(--mh-ease);
  }
  .mh-form__submit::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(120deg, var(--mh-gold-deep), var(--mh-gold));
    transform: translateY(101%); transition: transform .5s cubic-bezier(.16,1,.3,1); z-index: -1;
  }
  .mh-form__submit:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -16px rgba(26,23,20,.45); }
  .mh-form__submit:hover::before { transform: translateY(0); }

  @media (prefers-reduced-motion: reduce) {
    .mh-melamine *, .mh-melamine *::before, .mh-melamine *::after {
      animation: none !important; transition-duration: .01ms !important;
    }
    .mh-card { opacity: 1; transform: none; }
  }

/* =========================================================
   HERO — lisibilité texte renforcée
========================================================= */
.mh-hero__eyebrow {
  text-shadow: 0 1px 8px rgba(0,0,0,.55), 0 0 32px rgba(0,0,0,.35);
}
.mh-hero__title {
  text-shadow: 0 2px 16px rgba(0,0,0,.5), 0 0 60px rgba(0,0,0,.3);
}
.mh-hero__sub {
  color: #f2e8d4;
  text-shadow: 0 1px 10px rgba(0,0,0,.65), 0 0 40px rgba(0,0,0,.4);
}

/* Hero — texte foncé sur fond clair */
.mh-hero__eyebrow { color: #3b342d; text-shadow: none; }
.mh-hero__eyebrow::before,
.mh-hero__eyebrow::after { background: linear-gradient(90deg, transparent, #8a6f44, transparent); }
.mh-hero__title { color: #1a1714; text-shadow: 0 1px 20px rgba(251,248,243,.6); }
.mh-hero__title em { color: #8a6f44; }
.mh-hero__sub { color: #1a1714; text-shadow: none; }
.mh-hero__scroll { color: #3b342d; }
.mh-hero__scroll::after { background: linear-gradient(180deg, #8a6f44, transparent); }

/* =========================================================
   HERO — TEXTE LISIBLE : fond clair derrière le bloc texte
========================================================= */
.mh-hero__inner {
  background: rgba(251, 248, 243, 0.86);
  border-radius: 0;
  padding: 28px 32px !important;
  width: auto !important;
  max-width: min(540px, 82vw);
}
@media (max-width: 640px) {
  .mh-hero__inner {
    padding: 18px 18px !important;
    max-width: 72vw;
  }
  .mh-hero__title { font-size: clamp(44px, 13vw, 66px) !important; }
  .mh-hero__sub   { font-size: clamp(13px, 3.4vw, 15px); }
}
.mh-hero__eyebrow {
  color: #3b342d !important;
  text-shadow: none !important;
}
.mh-hero__eyebrow::before,
.mh-hero__eyebrow::after {
  background: linear-gradient(90deg, transparent, #8a6f44, transparent) !important;
}
.mh-hero__title {
  color: #0a0805 !important;
  text-shadow: none !important;
}
.mh-hero__title em { color: #8a6f44 !important; }
.mh-hero__sub {
  color: #1a1714 !important;
  text-shadow: none !important;
}

/* =========================================================
   V3 — 3 colonnes + titres renforcés
========================================================= */
.mh-grid {
  grid-template-columns: repeat(3, 1fr) !important;
  gap: clamp(28px, 3vw, 48px) clamp(24px, 2.5vw, 40px) !important;
}
@media (max-width: 980px) {
  .mh-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 640px) {
  .mh-grid { grid-template-columns: 1fr !important; }
}
.mh-card__title {
  font-size: clamp(26px, 2vw + 16px, 36px) !important;
}
.mh-card__brand {
  font-size: 15px !important;
}
.mh-card__body {
  padding: 24px 6px 0 !important;
}

/* =========================================================
   FIX Astra — neutralise le cap --wp--custom--ast-content-width-size
   sur .entry-content[data-ast-blocks-layout] > main.mh-melamine
========================================================= */
.entry-content[data-ast-blocks-layout] > main.mh-melamine,
main.mh-melamine {
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
}

/* =========================================================
   TITRE HERO — point collé au mot, jamais de retour à la ligne
========================================================= */
.mh-hero__title {
  white-space: nowrap !important;
  font-size: clamp(46px, 8.5vw, 88px) !important;
}
@media (max-width: 640px) {
  .mh-hero__title { font-size: clamp(40px, 12vw, 60px) !important; }
}

  /* =========================================================
     FAQ — questions fréquentes (accordéons natifs)
  ========================================================= */
  .mh-faq {
    padding: clamp(70px, 9vw, 120px) var(--mh-gutter);
    background: var(--mh-paper);
  }
  .mh-faq__inner { width: min(100%, 900px); margin: 0 auto; }
  .mh-faq__head { text-align: center; margin: 0 0 clamp(40px, 5vw, 66px); }
  .mh-faq__kicker {
    font-size: 11px; letter-spacing: .32em !important; text-transform: uppercase;
    color: var(--mh-gold-deep); margin: 0 0 22px; font-family: var(--mh-sans);
  }
  .mh-faq__title {
    font-family: var(--mh-serif); font-weight: 300;
    font-size: clamp(32px, 3.5vw + 10px, 56px);
    line-height: 1.1; letter-spacing: -.01em; color: var(--mh-ink); margin: 0;
  }
  .mh-faq__title em { font-style: italic; color: var(--mh-gold-deep); }

  .mh-faq__list { border-top: 1px solid var(--mh-line); }
  .mh-faq__item { border-bottom: 1px solid var(--mh-line); }
  .mh-faq__q {
    list-style: none; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between; gap: 28px;
    padding: clamp(22px, 2.4vw, 30px) 2px;
    font-family: var(--mh-serif); font-weight: 400;
    font-size: clamp(19px, 1vw + 13px, 26px); line-height: 1.25;
    color: var(--mh-ink); transition: color .4s var(--mh-ease);
  }
  .mh-faq__q::-webkit-details-marker { display: none; }
  .mh-faq__q:hover,
  .mh-faq__item[open] .mh-faq__q { color: var(--mh-gold-deep); }
  .mh-faq__icon { flex: none; width: 24px; height: 24px; position: relative; }
  .mh-faq__icon::before, .mh-faq__icon::after {
    content: ""; position: absolute; top: 50%; left: 50%;
    width: 14px; height: 1.5px; background: var(--mh-gold-deep);
    transform: translate(-50%, -50%); transition: transform .45s var(--mh-ease-out);
  }
  .mh-faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
  .mh-faq__item[open] .mh-faq__icon::after { transform: translate(-50%, -50%) rotate(0); }

  .mh-faq__a {
    color: var(--mh-ink-soft); max-width: 66ch;
    font-size: clamp(14px, .5vw + 12px, 16px); line-height: 1.75;
    padding: 0 2px clamp(24px, 2.6vw, 32px);
  }
  .mh-faq__a p { margin: 0 0 14px; }
  .mh-faq__a p:last-child { margin-bottom: 0; }
  .mh-faq__a a {
    color: var(--mh-gold-deep); text-decoration: underline;
    text-underline-offset: 3px; text-decoration-thickness: 1px;
  }
  .mh-faq__item[open] .mh-faq__a {
    animation: mhFaqOpen .5s var(--mh-ease-out) both;
  }
  @keyframes mhFaqOpen {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: none; }
  }

  @supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
      .mh-faq__item {
        opacity: 0; transform: translateY(20px);
        animation: mhReveal linear both;
        animation-timeline: view(); animation-range: entry 0% entry 50%;
      }
    }
  }
