/* VM Hero Slider */
.vmh{
  --vmh-pink:#E5496F; --vmh-btn:#D93F6E; --vmh-btn-hover:#C23361;
  --vmh-ink:#2A2424; --vmh-muted:#5B5556; --vmh-veil:250,248,247;
  position:relative; overflow:hidden; background:#F3EFED;
  font-family:"Poppins",sans-serif; color:var(--vmh-ink);
}
.vmh *{box-sizing:border-box}

/* Les slides sont empilées : la section prend la hauteur de la plus haute */
.vmh-stage{position:relative; display:grid}
.vmh-slide{
  grid-area:1/1; position:relative; opacity:0; visibility:hidden;
  background:var(--bg, none) var(--pos, 70% center)/cover no-repeat, #F3EFED;
  transition:opacity .9s ease, visibility 0s linear .9s;
}
.vmh-slide.is-active{opacity:1; visibility:visible; z-index:1; transition:opacity .9s ease}
.vmh-veil-yes .vmh-slide::before{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(90deg,rgba(var(--vmh-veil),.92) 0%,rgba(var(--vmh-veil),.7) 32%,rgba(var(--vmh-veil),0) 58%);
}
.vmh-inner{
  position:relative; z-index:2; min-height:740px;
  max-width:1320px; margin:0 auto; padding:60px 24px 150px;
  display:flex; align-items:center;
}
.vmh-content{max-width:580px}

/* Animation du texte */
.vmh-content>*{opacity:0; transform:translateY(22px); transition:opacity .7s ease, transform .7s ease}
.vmh-slide.is-active .vmh-content>*{opacity:1; transform:none}
.vmh-slide.is-active .vmh-content>*:nth-child(2){transition-delay:.12s}
.vmh-slide.is-active .vmh-content>*:nth-child(3){transition-delay:.24s}
.vmh-slide.is-active .vmh-content>*:nth-child(4){transition-delay:.36s}

.vmh-eyebrow{
  display:inline-block; padding:9px 18px; border-radius:999px;
  background:rgba(255,255,255,.75); color:var(--vmh-btn);
  font-size:13px; font-weight:500; letter-spacing:.3em; text-transform:uppercase;
}
.vmh .vmh-title{
  margin:28px 0 22px; padding:0; font-family:"Playfair Display",serif; font-weight:400;
  font-size:clamp(40px,5.6vw,84px); line-height:1.06; color:var(--vmh-ink);
}
.vmh-title em{display:block; font-style:normal; color:var(--vmh-pink)}
.vmh .vmh-text{margin:0 0 34px; max-width:500px; font-size:clamp(15px,1.25vw,19px); line-height:1.7; color:var(--vmh-muted)}
.vmh .vmh-btn{
  display:inline-flex; align-items:center; gap:12px;
  padding:18px 36px; border-radius:999px; background:var(--vmh-btn);
  color:#fff; text-decoration:none; font-size:17px; font-weight:600; line-height:1.2;
  box-shadow:0 10px 24px rgba(0,0,0,.12);
  transition:background-color .25s ease, transform .25s ease;
}
.vmh-btn svg{width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; transition:transform .25s ease}
.vmh .vmh-btn:hover{background:var(--vmh-btn-hover); color:#fff; transform:translateY(-2px)}
.vmh-btn:hover svg{transform:translateX(4px)}
.vmh-btn:focus-visible{outline:2px solid var(--vmh-ink); outline-offset:3px}

/* Navigation */
.vmh-nav{
  position:absolute; z-index:3; left:50%; bottom:118px; transform:translateX(-50%);
  width:100%; max-width:1320px; padding:0 24px;
  display:flex; align-items:center; justify-content:space-between; pointer-events:none;
}
.vmh-nav>*{pointer-events:auto}
.vmh-dots{display:flex; gap:10px}
.vmh-dots[hidden]{display:none}
.vmh .vmh-dot{width:10px; height:10px; min-height:0; padding:0; border:0; border-radius:999px; background:rgba(42,36,36,.25); cursor:pointer; transition:width .35s ease, background-color .35s ease}
.vmh .vmh-dot.is-active{width:34px; background:var(--vmh-btn)}
.vmh-arrows{display:flex; gap:10px; margin-left:auto}
.vmh .vmh-arrow{
  width:50px; height:50px; padding:0; border-radius:50%; cursor:pointer;
  border:1px solid rgba(42,36,36,.12); background:rgba(255,255,255,.85);
  display:grid; place-items:center; color:var(--vmh-ink); transition:background-color .25s, color .25s;
}
.vmh-arrow svg{width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round}
.vmh .vmh-arrow:hover{background:var(--vmh-btn); color:#fff; border-color:var(--vmh-btn)}

/* Barre de réassurance */
.vmh-trust{
  position:absolute; z-index:4; left:0; right:0; bottom:0; margin:0; list-style:none;
  padding:24px max(24px,calc((100% - 1320px)/2 + 24px));
  display:grid; grid-template-columns:repeat(var(--n,4),1fr); gap:20px;
  background:rgba(255,255,255,.72); -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px);
}
.vmh-trust li{display:flex; align-items:center; gap:14px; margin:0; font-size:17px; font-weight:600; color:var(--vmh-ink)}
.vmh-trust-icon{flex:0 0 auto; display:inline-flex; color:var(--vmh-pink); font-size:30px; line-height:1}
.vmh-trust-icon svg{width:1em; height:1em; fill:currentColor}

/* Tablette */
@media (max-width:1024px){
  .vmh-veil-yes .vmh-slide::before{background:linear-gradient(90deg,rgba(var(--vmh-veil),.94) 0%,rgba(var(--vmh-veil),.8) 45%,rgba(var(--vmh-veil),.1) 78%)}
  .vmh-trust{grid-template-columns:repeat(2,1fr); padding-top:18px; padding-bottom:18px}
  .vmh-trust li{font-size:15px}
  .vmh-inner{padding-bottom:190px}
  .vmh-nav{bottom:150px}
}

/* Mobile */
@media (max-width:767px){
  .vmh{display:flex; flex-direction:column}
  .vmh-slide{background-image:var(--bg-m, var(--bg, none)); background-position:center center}
  .vmh-veil-yes .vmh-slide::before{background:linear-gradient(180deg,rgba(var(--vmh-veil),.95) 0%,rgba(var(--vmh-veil),.86) 55%,rgba(var(--vmh-veil),.35) 100%)}
  .vmh-inner{min-height:560px; align-items:flex-start; padding:48px 20px 80px}
  .vmh-eyebrow{font-size:11px; letter-spacing:.22em; padding:8px 14px}
  .vmh .vmh-title{margin:22px 0 16px}
  .vmh .vmh-text{margin-bottom:28px}
  .vmh .vmh-btn{padding:15px 26px; font-size:15px}
  .vmh-nav{bottom:28px; padding:0 20px}
  .vmh-arrows{display:none}
  /* barre en haut, petite, sur une ligne */
  .vmh-trust{position:static; order:-1; grid-template-columns:repeat(var(--n,4),1fr); gap:6px; padding:10px 8px; background:#fff; border-bottom:1px solid rgba(42,36,36,.06)}
  .vmh-trust li{flex-direction:column; gap:4px; text-align:center; font-size:10px; font-weight:500; line-height:1.25}
  .vmh-trust-icon{font-size:20px}
}

@media (prefers-reduced-motion:reduce){
  .vmh-slide,.vmh-content>*,.vmh-dot{transition:none !important}
}
