/* ==========================================================================
   Vide maison & débarras — styles spécifiques (préfixe .vm-)
   --------------------------------------------------------------------------
   Héro avant/après « photos empilées » · situations · déroulement (section
   sombre) · seconde vie (moment fort unique : parcours animé au défilement)
   · FAQ · CTA
   ========================================================================== */

:root { --vm-mint-50: #effaf6; }

/* --- HÉRO ----------------------------------------------------------------- */
/* padding-top et taille du H1 : échelle commune .page-hero (main.css) */
.vm-hero { padding-bottom: clamp(3.5rem, 2.5rem + 4vw, 6.5rem); }
.vm-hero__split { align-items: center; }
@media (max-width: 959px) {
  .vm-hero__split { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 960px) {
  .vm-hero__split { grid-template-columns: 1.08fr .92fr; }
  /* le fil d’Ariane reste en haut du héro, comme sur les autres pages */
  .vm-hero__inner { align-self: start; }
}
.vm-hero__inner { justify-items: start; }

/* H1 : pastille « Vide maison & débarras » + accroche en grand */
.vm-hero .vm-hero__title {
  display: grid;
  gap: clamp(.9rem, .7rem + .7vw, 1.35rem);
  justify-items: start;
  max-width: none;
  line-height: 1;
  letter-spacing: -.02em;
}
.vm-hero__claim { display: block; max-width: 13em; }
.vm-hero__title .hl::after { bottom: -.05em; height: .24em; }
.vm-hero .lead { max-width: 46ch; }
.vm-hero__ctas { --cluster-gap: .8rem; margin-top: .4rem; }

/* Réassurance : une seule ligne discrète sous les boutons */
.vm-reassure {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1.35rem;
  font-size: var(--step--1);
  font-weight: 700;
  color: var(--ink-2);
}
.vm-reassure li { display: inline-flex; align-items: center; gap: .5rem; }
.vm-reassure .icon {
  width: 1.45rem;
  height: 1.45rem;
  padding: .26rem;
  border: var(--border);
  border-radius: 50%;
  background: var(--mint);
  color: var(--ink);
  stroke-width: 3.4;
}

/* Visuel : avant/après posé sur deux « photos » décalées */
.vm-hero__visual {
  position: relative;
  width: min(100%, 470px);
  margin-inline: auto;
  padding: 3.1rem .9rem 3.7rem;
}
.vm-hero__card {
  position: absolute;
  inset: 3.1rem .9rem 3.7rem;
  border: var(--border);
  border-radius: var(--r-lg);
}
.vm-hero__card--mint { background: var(--mint); transform: rotate(-6deg) translate(-6px, 12px); }
.vm-hero__card--pink { background: var(--pink-300); transform: rotate(4deg) translate(9px, 3px); }
.vm-hero__figure { position: relative; z-index: 2; }
.vm-hero__ba { box-shadow: var(--shadow-sticker-lg), 0 40px 80px -30px rgba(176, 42, 75, .45); }
.vm-hero__ba .ba__label { top: 1rem; bottom: auto; }
.vm-hero__caption {
  position: absolute;
  left: -.5rem;
  bottom: -2.5rem;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: .75rem;
  max-width: calc(100% - .5rem);
  padding: .65rem 1.15rem .65rem .65rem;
  border: var(--border);
  border-radius: var(--r-md);
  background: var(--white);
  box-shadow: var(--shadow-sticker-sm);
  transform: rotate(-2.5deg);
}
.vm-hero__caption-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border: var(--border);
  border-radius: 14px;
  background: var(--mint);
  color: var(--ink);
}
.vm-hero__caption-icon .icon { width: 22px; height: 22px; }
.vm-hero__caption-text { display: grid; gap: .15rem; min-width: 0; }
.vm-hero__caption-title { font-family: var(--font-display); font-size: var(--step-1); font-weight: 600; line-height: 1.15; }
.vm-hero__caption-meta { font-size: var(--step--2); font-weight: 700; letter-spacing: .02em; color: var(--ink-2); text-wrap: balance; }
.vm-hero__hint {
  position: absolute;
  top: .15rem;
  right: .1rem;
  z-index: 6;
  display: inline-flex;
  align-items: flex-start;
  gap: .2rem;
  font-size: clamp(1.35rem, 1.05rem + .9vw, 1.75rem);
  transform: rotate(4deg);
  pointer-events: none;
  transition: opacity .5s, transform .6s var(--ease-out);
}
.vm-hero__hint svg { flex: none; width: 46px; height: 38px; margin-top: .6rem; color: var(--brand); }
.vm-hero__visual.is-touched .vm-hero__hint { opacity: 0; transform: rotate(4deg) translateY(-8px); }
.vm-hero__visual .sparkle { z-index: 6; }

/* --- SITUATIONS : 6 atouts sans cadre (titre + une phrase) ----------------- */
.vm-situations { padding-top: clamp(2.5rem, 1.5rem + 3.5vw, 4.5rem); }
.vm-situations .section-head { margin-bottom: clamp(2.2rem, 1.4rem + 2.5vw, 3.6rem); }
.vm-sit-grid { --grid-gap: clamp(2rem, 1.5rem + 1.6vw, 3rem) clamp(1.5rem, 1rem + 2vw, 3.2rem); }
.vm-sit {
  padding-top: 1.6rem;
  border-top: var(--bw) dashed rgba(42, 26, 32, .16);
}
.vm-sit .feature__icon { margin-bottom: .6rem; transition: transform .5s var(--ease-bounce); }
.vm-sit:hover .feature__icon { transform: rotate(-8deg) scale(1.06); }
.vm-sit:nth-child(4n+2) .feature__icon { background: var(--mint); }
.vm-sit:nth-child(4n+3) .feature__icon { background: var(--lilac); }
.vm-sit:nth-child(4n+4) .feature__icon { background: var(--sun); }
.vm-sit .feature__title { font-size: var(--step-2); line-height: 1.15; }
.vm-sit .feature__text { max-width: 36ch; }
/* Mobile : pictogramme à gauche du titre, liste plus compacte */
@media (max-width: 599px) {
  .vm-sit {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 1rem;
    row-gap: .65rem;
    padding-top: 1.3rem;
  }
  .vm-sit .feature__icon { width: 52px; height: 52px; margin: 0; border-radius: 18px 18px 18px 5px; }
  .vm-sit .feature__icon .icon { width: 24px; height: 24px; }
  .vm-sit .feature__text { grid-column: 1 / -1; }
}

/* --- DÉROULEMENT : frise verticale statique (section sombre) --------------- */
.vm-process .container { position: relative; z-index: 2; }
.vm-process__grid { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 5rem); }
@media (min-width: 1000px) {
  .vm-process__grid { grid-template-columns: .82fr 1.18fr; align-items: start; }
  .vm-process__intro { position: sticky; top: calc(var(--header-h) + 2.5rem); }
}
.vm-process__intro { display: grid; gap: 1.4rem; justify-items: start; }

.vm-timeline {
  --node: 60px;
  --gap: clamp(1.4rem, 1rem + 1.4vw, 2.2rem);
  list-style: none;
  display: grid;
  gap: var(--gap);
}
.vm-step {
  --c: var(--pink-400);
  --c2: var(--lilac);
  position: relative;
  display: grid;
  grid-template-columns: var(--node) 1fr;
  column-gap: clamp(1rem, .5rem + 1.6vw, 1.9rem);
  align-items: start;
}
.vm-step:nth-child(2) { --c: var(--lilac); --c2: var(--mint); }
.vm-step:nth-child(3) { --c: var(--mint); --c2: var(--sun); }
.vm-step:nth-child(4) { --c: var(--sun); }
/* tronçon de rail d’un jalon au suivant */
.vm-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(var(--node) / 2);
  bottom: calc(-1 * (var(--gap) + var(--node) / 2));
  left: calc(var(--node) / 2 - 2px);
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--c), var(--c2));
}
.vm-step__node {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: var(--node);
  height: var(--node);
  border: var(--bw) solid var(--white);
  border-radius: 50%;
  background: var(--c);
  color: var(--ink);
  box-shadow: 0 0 0 7px var(--ink);
}
.vm-step__node .icon { width: 25px; height: 25px; }
.vm-step__card {
  position: relative;
  padding: clamp(1.3rem, 1rem + 1vw, 1.9rem);
  border: var(--border);
  border-radius: var(--r-lg);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 6px 0 var(--c);
}
.vm-step__num {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 1.7rem + 1.6vw, 3.2rem);
  font-weight: 700;
  line-height: .9;
  color: var(--blush-100);
  -webkit-text-stroke: 2px var(--ink);
  paint-order: stroke fill;
}
.vm-step__title { font-size: var(--step-2); margin-bottom: .45rem; padding-right: 3.6rem; }
.vm-step__text { color: var(--ink-2); }
.vm-step__text a { color: var(--brand-dark); font-weight: 700; }
.vm-step__text a:hover { color: var(--brand); }

/* --- SECONDE VIE : parcours des objets (moment fort) ----------------------- */
.vm-life {
  margin-top: clamp(.6rem, .3rem + 1vw, 1.25rem);
  background: linear-gradient(180deg, var(--vm-mint-50) 0%, #f7fcfa 55%, var(--vm-mint-50) 100%);
}
.vm-life > .container { position: relative; z-index: 2; }
.vm-life .section-head { margin-bottom: clamp(2.4rem, 1.6rem + 3vw, 4.4rem); }

.vm-life__viz { position: relative; }
.vm-life__stage { position: relative; display: none; aspect-ratio: 1200 / 330; }
@media (min-width: 760px) {
  .vm-life__stage { display: block; }
}
.vm-life__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.vm-life__path { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 2 14; }
.vm-life__start { fill: var(--pink-hl); stroke: var(--ink); stroke-width: 2.5; }
.vm-life__disc {
  --bg: var(--pink-400);
  position: absolute;
  z-index: 2;
  left: var(--x);
  top: var(--y);
  display: grid;
  place-items: center;
  width: 13.333%;
  aspect-ratio: 1;
  border: var(--border);
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 7px 0 var(--ink);
  transform: translate(-50%, -50%);
  transition: transform .7s var(--ease-bounce), background-color .45s, box-shadow .45s, color .45s, border-color .45s;
}
.vm-life__disc .icon { width: 40%; height: 40%; stroke-width: 1.7; }
.vm-life__disc--recycle { --bg: var(--mint); }
.vm-life__disc--truck { --bg: var(--lilac); }
.vm-life__disc::after {
  content: "";
  position: absolute;
  inset: -12px;
  border: 3px solid var(--bg);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}
.vm-life__disc.is-on::after { animation: vmRing 1.1s var(--ease-out) forwards; }
@keyframes vmRing {
  0% { transform: scale(.82); opacity: 1; }
  100% { transform: scale(1.3); opacity: 0; }
}
.vm-life__viz.is-animated .vm-life__disc:not(.is-on) {
  background: var(--white);
  color: var(--ink-3);
  border-color: rgba(42, 26, 32, .3);
  box-shadow: 0 4px 0 rgba(42, 26, 32, .16);
  transform: translate(-50%, -50%) scale(.8);
}
.vm-life__marker {
  position: absolute;
  z-index: 1;
  left: 2%;
  top: 13.3%;
  display: none;
  place-items: center;
  width: clamp(34px, 3vw, 44px);
  aspect-ratio: 1;
  border: var(--border);
  border-radius: 12px;
  background: var(--sun);
  color: var(--ink);
  box-shadow: 0 3px 0 var(--ink);
  transform: translate(-50%, -50%) rotate(var(--r, -8deg));
  pointer-events: none;
}
.vm-life__marker .icon { width: 58%; height: 58%; }
.vm-life__viz.is-animated .vm-life__marker { display: grid; }

.vm-life__nodes { list-style: none; display: grid; gap: 1.8rem; }
.vm-life__node { position: relative; display: grid; align-content: start; gap: .3rem; }
.vm-life__name { font-family: var(--font-display); font-size: var(--step-1); font-weight: 600; line-height: 1.2; }
.vm-life__desc { font-size: var(--step--1); line-height: 1.5; color: var(--ink-2); text-wrap: balance; }
.vm-life__icon { display: none; }
@media (min-width: 760px) {
  .vm-life__nodes { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: clamp(.4rem, 1vw, 1rem); text-align: center; }
  .vm-life__node { justify-items: center; }
  .vm-life__desc { max-width: 28ch; }
}
/* < 760 px : pas de tracé, une liste verticale reliée en pointillés
   (un seul filet derrière les pastilles, du centre de la première à la dernière) */
@media (max-width: 759px) {
  .vm-life__nodes { position: relative; gap: 2rem; }
  .vm-life__nodes::before {
    content: "";
    position: absolute;
    left: 36px;
    top: 38px;
    bottom: 38px;
    border-left: 4px dotted rgba(42, 26, 32, .45);
  }
  .vm-life__node { grid-template-columns: 76px 1fr; column-gap: 1.1rem; align-content: center; min-height: 76px; }
  .vm-life__icon {
    position: relative;
    z-index: 1;
    grid-row: 1 / span 2;
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border: var(--border);
    border-radius: 50%;
    background: var(--pink-400);
    box-shadow: 0 5px 0 var(--ink);
  }
  .vm-life__icon .icon { width: 32px; height: 32px; }
  .vm-life__node--recycle .vm-life__icon { background: var(--mint); }
  .vm-life__node--truck .vm-life__icon { background: var(--lilac); }
  .vm-life__name { align-self: end; }
  .vm-life__desc { align-self: start; }
}

/* --- FAQ ------------------------------------------------------------------ */
.vm-faq .section-head { margin-bottom: clamp(2rem, 1.4rem + 2vw, 3rem); }
.vm-faq__list { max-width: 840px; margin-inline: auto; }

/* --- CTA final ------------------------------------------------------------ */
/* pas de lapin dans ce bandeau ; boutons pleine largeur en mobile : règles communes .cta-band (main.css) */
.vm-cta { padding-top: 0; }
.vm-cta .cta-band .title { max-width: none; }
.vm-cta__actions { max-width: 100%; }

/* --- MOBILE ---------------------------------------------------------------- */
@media (max-width: 559px) {
  .vm-hero__ctas { flex-direction: column; align-items: stretch; width: 100%; }
  .vm-hero__ctas .btn { width: 100%; white-space: normal; }
  .vm-hero__visual { padding-inline: .5rem; }
  .vm-hero__card { inset-inline: .5rem; }
  .vm-hero__card--mint { transform: rotate(-4deg) translate(-2px, 9px); }
  .vm-hero__card--pink { transform: rotate(3deg) translate(4px, 2px); }
  .vm-hero__caption { left: -.2rem; }
  .vm-process__grid > * { min-width: 0; }
  .vm-process__cta { width: 100%; }
  .vm-process__cta .btn { width: 100%; padding-inline: 1.2rem; font-size: 1rem; white-space: normal; }
  .vm-timeline { --node: 46px; }
  .vm-step { column-gap: .85rem; }
  .vm-step__node { box-shadow: 0 0 0 5px var(--ink); }
  .vm-step__node .icon { width: 20px; height: 20px; }
  .vm-step__card { padding: 1.15rem 1.1rem 1.25rem; }
  .vm-step__num { top: .85rem; right: .9rem; }
  .vm-step__title { padding-right: 2.6rem; }
}
