/* HERBE EXPRESS — 3 réglages communs au hero et au bandeau final.
   Doux (défaut) : 26% / 22% / 12%.
   Marqué : ajouter data-grass="marked" au <body> de index.html. */
.partner-scene{
 --grass-front-h:calc(var(--dog-h) * .26); /* hauteur du premier plan */
 --grass-back-h:calc(var(--dog-h) * .22); /* hauteur du plan arrière */
 --dog-sink:calc(var(--dog-h) * -.045); /* enfoncement de l’illustration */
 --grass-ground:#2d6b22;
}
body[data-grass="marked"] .partner-scene{
 --grass-front-h:calc(var(--dog-h) * .32);
 --grass-back-h:calc(var(--dog-h) * .24);
 --dog-sink:calc(var(--dog-h) * .16);
}
.partner-scene::before{
 height:var(--grass-back-h);
 background-image:url('img/vegetation.webp'),linear-gradient(to top,var(--grass-ground) 0 calc(var(--dog-h) * .12),transparent calc(var(--dog-h) * .12));
 background-position:calc(50% + 9cqw) bottom,center bottom;
 background-size:auto 100%,100% 100%;
 background-repeat:repeat-x,no-repeat;
}
.partner-scene::after,.hero .fig.partner-scene::after{
 left:-100vw;right:auto;width:300vw;height:var(--grass-front-h);
 background-image:url('img/vegetation.webp'),linear-gradient(to top,var(--grass-ground) 0 calc(var(--dog-h) * .12),transparent calc(var(--dog-h) * .12));
 background-position:calc(50% - 17cqw) bottom,center bottom;
 background-size:auto 100%,100% 100%;
 background-repeat:repeat-x,no-repeat;
}
/* translate individuel laisse les animations transform du partenaire indépendantes. */
.hero .fig.partner-scene .rig,.final-scene .final-partner{translate:0 var(--dog-sink)}
@supports not (translate:0 1px){.hero .fig.partner-scene .rig,.final-scene .final-partner{top:var(--dog-sink)}}
/* La coupe de section masque le bas enfoncé ; aucun espace sous la pelouse. */
.hero,.final{overflow:hidden}
@media(prefers-reduced-motion:reduce){
 .partner-scene::before,.partner-scene::after,.hero .fig.partner-scene::after{animation:none}
}

