
/* ============================================================
   MMV — HERO « L'EXPÉRIENCE À TABLE »
   */

.mdv-herog.mmv-hero{
  --herog-bg: url("/wp-content/uploads/2026/09/salle-fresque-vignes-hortensias-restaurant-maison-maconnaise-des-vins.jpg");
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-top: -110px;
  min-height: 100vh;
  background-image: linear-gradient(rgba(0,0,0,0.28), rgba(0,0,0,0.44)), var(--herog-bg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #1c1c1c;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
body.admin-bar .mdv-herog.mmv-hero{ margin-top: -142px; }
.mdv-herog *{ box-sizing: border-box; }

/* H1 conservé pour le SEO, masqué visuellement */
.mdv-herog-seo{
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0; margin: 0;
}

.mdv-herog-content{
  width: min(92%, 860px);
  text-align: center;
  color: #FFFBF0;
  padding: 60px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---------- Titre (même construction que « La Carte et les Menus ») ---------- */
.mdv-herog-titre{
  margin: 0 0 22px;
  color: #FFFBF0;
  line-height: 1;
  text-shadow: 0 2px 16px rgba(0,0,0,.6);
}
.mdv-herog-titre__haut{
  display: block;
  font-family: "Alegreya SC", Georgia, serif;
  font-size: clamp(15px, 1.7vw, 25px);
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-left: -3.2em;
  margin-bottom: -.18em;
}
.mdv-herog-titre__script{
  display: block;
  font-family: 'Parisienne', cursive;
  font-weight: 400;
  font-size: clamp(52px, 7.4vw, 112px);
  line-height: .95;
}
.mdv-herog-titre__bas{
  display: block;
  font-family: "Alegreya SC", Georgia, serif;
  font-size: clamp(15px, 1.8vw, 27px);
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-left: 3.2em;
  margin-top: -.26em;
}
.mdv-herog-titre__bas em{
  font-family: 'Alegreya', Georgia, serif;
  font-style: italic;
  letter-spacing: 0;
}

/* Variante « titre en image » : il suffira de remplacer le <p> par
   <img decoding="async" class="mdv-herog-titre-img" src="..." alt="Groupes & Évènements"> */
.mdv-herog-titre-img{
  width: clamp(300px, 48vw, 720px);
  height: auto;
  display: block;
  margin: 0 0 26px;
  filter: drop-shadow(0 2px 18px rgba(0,0,0,.45));
}

.mdv-herog-text{
  margin: 0 auto 34px;
  max-width: 600px;
  font-family: "Alegreya", Georgia, serif;
  font-size: clamp(16px, 1.15vw, 19px);
  font-weight: 400;
  line-height: 1.45;
  color: #FFFBF0;
  text-shadow: 0 2px 10px rgba(0,0,0,.45);
}

.mdv-herog-buttons{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.mdv-herog-btn{
  display: inline-block;
  font-family: "Alegreya SC", Georgia, serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #FFFBF0 !important;
  text-decoration: none !important;
  padding: 13px 30px;
  border: 1px solid #FFFBF0;
  background: transparent;
  cursor: pointer;
  transition: background .25s, color .25s;
  white-space: nowrap;
}
.mdv-herog-btn:hover{
  background: #FFFBF0 !important;
  color: #402E15 !important;
}

/* ---------- Tablette ---------- */
@media (max-width: 1024px){
  .mdv-herog-titre__haut{ margin-left: -2.2em; }
  .mdv-herog-titre__bas { margin-left:  2.2em; }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px){
  .mdv-herog.mmv-hero{
    min-height: 100svh;
    background-position: center center;
  }
  .mdv-herog-content{ width: min(90%, 520px); padding: 48px 0; }
  .mdv-herog-titre__haut{ margin-left: -1.6em; }
  .mdv-herog-titre__script{ font-size: clamp(46px, 15vw, 78px); }
  .mdv-herog-titre__bas { margin-left:  1.6em; }
  .mdv-herog-titre-img{ width: min(90%, 420px); margin-bottom: 20px; }
  .mdv-herog-text{ font-size: 16px; margin-bottom: 28px; }
  .mdv-herog-buttons{ flex-direction: column; gap: 12px; width: 100%; }
  .mdv-herog-btn{ width: 100%; text-align: center; }
}
