/* Illustration animée du hero (bloc HTML de la page d'accueil) */
.hero-stack .frame{background:#fff;border:1px solid #DEDBD2;border-radius:12px;box-shadow:0 18px 50px rgba(18,20,23,.12);overflow:hidden}
.hero-stack .frame:not(.back){position:relative;z-index:1}
.hero-stack .frame .bar{display:flex;gap:6px;padding:12px 14px;border-bottom:1px solid #DEDBD2;background:#FBFAF7}
.hero-stack .frame .bar i{width:10px;height:10px;border-radius:50%;background:#D7D3C8}
.hero-stack .frame .body{padding:22px;display:grid;gap:12px}
.hero-stack .sk{background:#ECE9E1;border-radius:4px;height:12px}
.hero-stack .sk.t{height:22px;width:70%;background:#121417}
.hero-stack .sk.b{height:36px;width:34%;background:#C62A20;border-radius:6px}
.hero-stack .frame .img{height:120px;border-radius:8px;background:#E4E0D6}
.hero-stack{position:relative;padding:0 0 28px 28px}
.hero-stack .back{z-index:0;position:absolute;left:0;bottom:0;width:78%;opacity:.55;filter:grayscale(1);transform:scale(.96)}
@media(prefers-reduced-motion:no-preference){
.hero-stack{animation:ddn-float 7s ease-in-out 3.4s infinite}
.hero-stack .back{animation:ddn-fade .8s ease-out both}
.hero-stack .frame:not(.back){animation:ddn-rise .7s cubic-bezier(.2,.7,.2,1) .5s both}
.hero-stack .frame:not(.back) .sk{transform-origin:left;animation:ddn-grow .6s ease-out both}
.hero-stack .frame:not(.back) .sk.t{animation-delay:1.0s}
.hero-stack .frame:not(.back) .sk:nth-child(2){animation-delay:1.3s}
.hero-stack .frame:not(.back) .sk:nth-child(3){animation-delay:1.5s}
.hero-stack .frame:not(.back) .img{animation:ddn-pop .6s ease-out 1.8s both}
.hero-stack .frame:not(.back) .sk.b{animation:ddn-pop .5s cubic-bezier(.3,1.6,.5,1) 2.4s both}
@keyframes ddn-fade{from{opacity:0}to{opacity:.55}}
@keyframes ddn-rise{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}
@keyframes ddn-grow{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes ddn-pop{from{opacity:0;transform:scale(.92)}to{opacity:1;transform:none}}
@keyframes ddn-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
}
@media(prefers-reduced-motion:no-preference){
.hero-stack .frame:not(.back) .body{position:relative}
.hero-stack .frame:not(.back) .body::after{content:"";position:absolute;left:calc(22px + 12%);bottom:24px;width:22px;height:22px;opacity:0;pointer-events:none;
 background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l15 9-6.5 1.6L9 19z' fill='%23121417' stroke='%23fff' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
 animation:ddn-cursor 8s ease-in-out 2.9s infinite;filter:drop-shadow(0 2px 3px rgba(0,0,0,.25))}
.hero-stack .frame:not(.back) .body::before{content:"✓ Validé";position:absolute;top:14px;right:16px;padding:3px 10px;border-radius:999px;background:#E7F4EA;color:#1E6B34;font:600 12px/1.5 'IBM Plex Sans',sans-serif;opacity:0;animation:ddn-badge 8s ease-in-out 2.9s infinite}
.hero-stack .frame:not(.back) .sk.b{animation:ddn-pop .5s cubic-bezier(.3,1.6,.5,1) 2.4s both,ddn-press 8s ease-in-out 2.9s infinite}
@keyframes ddn-cursor{0%{opacity:0;transform:translate(150px,90px)}3%{opacity:1;transform:translate(150px,90px)}14%{opacity:1;transform:translate(0,0)}18%{transform:translate(0,0) scale(.82)}22%{transform:translate(0,0) scale(1)}82%{opacity:1;transform:translate(0,0)}94%,100%{opacity:0;transform:translate(40px,50px)}}
@keyframes ddn-press{0%,16%{transform:none;filter:none}18%{transform:scale(.94);filter:brightness(.88)}22%{transform:none;filter:none}100%{transform:none;filter:none}}
@keyframes ddn-badge{0%,19%{opacity:0;transform:translateY(-6px)}25%,84%{opacity:1;transform:none}92%,100%{opacity:0;transform:none}}
}
@media(max-width:767px){.hero-stack{display:none}}
