/* REP SOLUTIONS V31 — micro-interactions sans déplacement des sections.
   Fond, illustration, texte et structure V30 strictement conservés. */

/* « votre » s'anime lentement, sans faire varier la largeur de la ligne. */
body.rs2-site.home .rs31-votre {
  position:relative;
  display:inline-block;
  transform-origin:50% 78%;
  color:inherit;
  will-change:transform;
  animation:rs31-votre-pulse 9.6s ease-in-out infinite;
}
body.rs2-site.home .rs31-votre::after {
  content:"";
  position:absolute;
  bottom:-.045em;left:12%;right:12%;height:.045em;
  border-radius:10px;background:#ef7d33;
  transform:scaleX(0);opacity:0;
  transform-origin:50% 50%;
  animation:rs31-votre-underline 9.6s ease-in-out infinite;
  pointer-events:none;
}
@keyframes rs31-votre-pulse {
  0%,8%,31%,100% {transform:translateY(0) scale(1);color:inherit;text-shadow:none;}
  13%,18% {transform:translateY(-2px) scale(1.045);color:#08674f;text-shadow:0 3px 12px rgba(0,87,53,.12);}
  24% {transform:translateY(-.5px) scale(1.012);color:inherit;text-shadow:none;}
}
@keyframes rs31-votre-underline {
  0%,9%,30%,100% {transform:scaleX(0);opacity:0;}
  15%,20% {transform:scaleX(1);opacity:.9;}
  25% {transform:scaleX(.68);opacity:.42;}
}

/* Le logo reste rigoureusement le même : léger souffle + pixels et trait de vie. */
body.rs2-site.home .rs12-brand.rs31-living-logo {position:relative;isolation:isolate;overflow:visible;}
body.rs2-site.home .rs12-brand.rs31-living-logo img {
  animation:rs31-logo-breathe 12.4s ease-in-out infinite;
  transform-origin:28% 65%;
  will-change:transform;
}
body.rs2-site.home .rs12-brand.rs31-living-logo::after {
  content:"";
  position:absolute;left:0;bottom:-6px;width:90%;height:2px;
  background:linear-gradient(90deg,transparent 0%,#218e53 30%,#79bf59 50%,transparent 100%);
  border-radius:5px;transform:scaleX(0);transform-origin:0 50%;opacity:0;
  animation:rs31-logo-trace 12.4s ease-in-out infinite;
  pointer-events:none;
}
body.rs2-site.home .rs31-living-logo .rs30-brand-pixels i:nth-child(1) {animation:rs31-pixel-life 12.4s .0s ease-in-out infinite;}
body.rs2-site.home .rs31-living-logo .rs30-brand-pixels i:nth-child(2) {animation:rs31-pixel-life 12.4s .23s ease-in-out infinite;}
body.rs2-site.home .rs31-living-logo .rs30-brand-pixels i:nth-child(3) {animation:rs31-pixel-life 12.4s .46s ease-in-out infinite;}
body.rs2-site.home .rs31-living-logo:hover .rs30-brand-pixels i {animation-duration:12.4s;}
@keyframes rs31-logo-breathe {
  0%,8%,32%,100% {transform:translateY(0) scale(1);}
  16%,20% {transform:translateY(-1px) scale(1.016);}
  26% {transform:translateY(0) scale(1.006);}
}
@keyframes rs31-logo-trace {
  0%,9%,31%,100% {transform:scaleX(0);opacity:0;}
  15%,23% {transform:scaleX(1);opacity:.62;}
  29% {transform:scaleX(1);opacity:0;}
}
@keyframes rs31-pixel-life {
  0%,9%,30%,100% {opacity:0;transform:translate(-8px,8px) scale(.5);}
  16%,21% {opacity:1;transform:translate(0,0) scale(1.23);}
  26% {opacity:.25;transform:translate(0,0) scale(.78);}
}

/* Indicateur de clic : une petite flèche non textuelle, aucune carte ajoutée. */
body.rs2-site.home a.rs31-discoverable {position:relative;}
body.rs2-site.home a.rs31-discoverable .rs31-open-cue {
  position:absolute;z-index:8;right:15px;bottom:14px;
  display:flex;align-items:center;justify-content:center;
  width:36px;height:36px;box-sizing:border-box;
  border:1px solid rgba(0,96,60,.16);border-radius:50%;
  background:#004735;
  color:#ffffff;box-shadow:0 4px 14px rgba(0,65,44,.15);
  opacity:0;transform:translateX(-5px) scale(.86);
  transition:opacity .28s ease,transform .28s cubic-bezier(.2,.8,.2,1),
    background-color .28s ease,box-shadow .28s ease;
  pointer-events:none;
}
body.rs2-site.home .rs31-open-cue svg {display:block;width:20px;height:20px;}
@media (hover:hover) and (pointer:fine) {
  body.rs2-site.home a.rs31-discoverable:is(:hover,:focus-visible) .rs31-open-cue {
    opacity:1;transform:translateX(0) scale(1);
    background:#006b4c;box-shadow:0 8px 20px rgba(0,65,44,.20);
  }
  body.rs2-site.home a.rs31-discoverable:is(:hover,:focus-visible) .rs31-open-cue svg {
    animation:rs31-arrow-step .9s ease-in-out 1;
  }
}
@keyframes rs31-arrow-step {0%,100%{transform:translateX(0)}50%{transform:translateX(2px)}}
@media (hover:none), (pointer:coarse) {
  body.rs2-site.home a.rs14-card.rs31-discoverable .rs31-open-cue {
    width:29px;height:29px;right:9px;bottom:9px;
    opacity:.85;transform:none;background:#004735;
    box-shadow:0 3px 9px rgba(0,65,44,.09);
  }
  body.rs2-site.home a.rs14-card.rs31-discoverable.rs31-in-view .rs31-open-cue {
    opacity:1;
  }
  body.rs2-site.home a.rs14-card.rs31-discoverable:is(:active,.rs31-pressed) .rs31-open-cue {
    opacity:1;transform:scale(1.06);background:#006b4c;
  }
  body.rs2-site.home .rs14-card .rs31-open-cue svg {width:18px;height:18px;}
}
@media (prefers-reduced-motion:reduce) {
  body.rs2-site.home .rs31-votre,
  body.rs2-site.home .rs31-votre::after,
  body.rs2-site.home .rs31-living-logo img,
  body.rs2-site.home .rs31-living-logo::after,
  body.rs2-site.home .rs31-living-logo .rs30-brand-pixels i,
  body.rs2-site.home .rs31-open-cue svg {animation:none!important;transform:none!important;}
  body.rs2-site.home .rs31-votre::after,
  body.rs2-site.home .rs31-living-logo::after {display:none!important;}
  body.rs2-site.home a.rs31-discoverable .rs31-open-cue {transition:none!important;}
}
