#droite-motion{position:relative;width:100%;max-width:1280px;aspect-ratio:16/9;margin:0 auto;overflow:hidden;background:#0F1E29}
#droite-motion .dr-stage{position:absolute;left:0;top:0;width:1280px;height:720px;transform-origin:0 0}
#droite-motion .dr-sc{position:absolute;left:0;top:0;width:1280px;height:610px;opacity:0;animation-duration:20s;animation-iteration-count:infinite;animation-timing-function:ease-in-out}
#droite-motion .dr-s1{animation-name:dr-sc1}#droite-motion .dr-s2{animation-name:dr-sc2}#droite-motion .dr-s3{animation-name:dr-sc3}#droite-motion .dr-s4{animation-name:dr-sc4}
@keyframes dr-sc1{0%{opacity:0}3%,22%{opacity:1}25%,100%{opacity:0}}
@keyframes dr-sc2{0%,25%{opacity:0}28%,47%{opacity:1}50%,100%{opacity:0}}
@keyframes dr-sc3{0%,50%{opacity:0}53%,72%{opacity:1}75%,100%{opacity:0}}
@keyframes dr-sc4{0%,75%{opacity:0}78%,97%{opacity:1}100%{opacity:0}}
#droite-motion .dr-u1,#droite-motion .dr-u2,#droite-motion .dr-u3,#droite-motion .dr-u4{opacity:0;animation-duration:20s;animation-iteration-count:infinite;animation-timing-function:cubic-bezier(.2,.7,.2,1)}
#droite-motion .dr-u1{animation-name:dr-u1}#droite-motion .dr-u2{animation-name:dr-u2}#droite-motion .dr-u3{animation-name:dr-u3}#droite-motion .dr-u4{animation-name:dr-u4}
@keyframes dr-u1{0%{opacity:0;transform:translateY(14px)}7%,30%{opacity:1;transform:none}32%,100%{opacity:0}}
@keyframes dr-u2{0%,25%{opacity:0;transform:translateY(14px)}32%,55%{opacity:1;transform:none}57%,100%{opacity:0}}
@keyframes dr-u3{0%,50%{opacity:0;transform:translateY(14px)}57%,80%{opacity:1;transform:none}82%,100%{opacity:0}}
@keyframes dr-u4{0%,75%{opacity:0;transform:translateY(14px)}82%,100%{opacity:1;transform:none}}
#droite-motion .dr-d1{animation-delay:.2s}#droite-motion .dr-d2{animation-delay:.4s}#droite-motion .dr-d3{animation-delay:.6s}#droite-motion .dr-d4{animation-delay:.8s}#droite-motion .dr-d5{animation-delay:1s}#droite-motion .dr-d6{animation-delay:1.2s}#droite-motion .dr-d7{animation-delay:1.4s}
#droite-motion .dr-scan{animation:dr-scan 20s infinite linear}
@keyframes dr-scan{0%,5%{transform:translateY(0);opacity:0}7%{opacity:1}21%{transform:translateY(306px);opacity:1}23%,100%{transform:translateY(306px);opacity:0}}
#droite-motion .dr-ln{stroke-dasharray:320;stroke-dashoffset:320;animation:dr-ln 20s infinite ease-out}
@keyframes dr-ln{0%,27%{stroke-dashoffset:320}38%,100%{stroke-dashoffset:0}}
#droite-motion .dr-bar{transform-box:fill-box;transform-origin:50% 100%;transform:scaleY(0);animation:dr-bar 20s infinite cubic-bezier(.2,.7,.2,1)}
@keyframes dr-bar{0%,52%{transform:scaleY(0)}61%,100%{transform:scaleY(1)}}
#droite-motion .dr-trend{stroke-dasharray:600;stroke-dashoffset:600;animation:dr-trend 20s infinite ease-in-out}
@keyframes dr-trend{0%,57%{stroke-dashoffset:600}70%,100%{stroke-dashoffset:0}}
#droite-motion .dr-tip{opacity:0;animation:dr-tip 20s infinite}
@keyframes dr-tip{0%,69%{opacity:0}72%,100%{opacity:1}}
#droite-motion .dr-rule{transform:scaleX(0);animation:dr-rule 20s infinite ease-out}
@keyframes dr-rule{0%,79%{transform:scaleX(0)}88%,100%{transform:scaleX(1)}}
#droite-motion .dr-f1,#droite-motion .dr-f2,#droite-motion .dr-f3,#droite-motion .dr-f4{height:100%;width:0;background:#D9B778;animation-duration:20s;animation-iteration-count:infinite;animation-timing-function:linear}
#droite-motion .dr-f1{animation-name:dr-f1}#droite-motion .dr-f2{animation-name:dr-f2}#droite-motion .dr-f3{animation-name:dr-f3}#droite-motion .dr-f4{animation-name:dr-f4}
@keyframes dr-f1{0%{width:0}25%,99%{width:100%}100%{width:0}}
@keyframes dr-f2{0%,25%{width:0}50%,99%{width:100%}100%{width:0}}
@keyframes dr-f3{0%,50%{width:0}75%,99%{width:100%}100%{width:0}}
@keyframes dr-f4{0%,75%{width:0}99%{width:100%}100%{width:0}}
@media (prefers-reduced-motion: reduce){
#droite-motion .dr-bgvideo{display:none}
#droite-motion .dr-sc,#droite-motion .dr-sc *,#droite-motion .dr-f1,#droite-motion .dr-f2,#droite-motion .dr-f3,#droite-motion .dr-f4{animation:none !important}
#droite-motion .dr-s4,#droite-motion .dr-s4 .dr-u4{opacity:1}#droite-motion .dr-s4 .dr-rule{transform:none}
#droite-motion .dr-f1,#droite-motion .dr-f2,#droite-motion .dr-f3,#droite-motion .dr-f4{width:100%}
#droite-motion .dr-s1>div:nth-child(2),#droite-motion .dr-s2>div:nth-child(2),#droite-motion .dr-s3>div:nth-child(2){display:none}
}
/* Ajustes para conviver com o tema */
#droite-motion{max-width:1440px;border:0;box-shadow:none;}
#droite-motion h2{font-family:inherit;letter-spacing:normal;}
#droite-motion img{max-width:none;}
#droite-motion.dr-paused *{animation-play-state:paused !important;}
#droite-motion .dr-bgvideo{filter:grayscale(.6) contrast(1.05) brightness(.92);}

/* Topo da Home: animação no computador e no tablet; foto do topo no celular */
.motion-top{background:var(--ink);padding:0;}
@media(min-width:768px){.hero-mobile-only{display:none;}}

/* Telas largas: as bordas laterais se misturam ao fundo azul, sem corte seco */
@media(min-width:1441px){#droite-motion{-webkit-mask-image:linear-gradient(90deg,transparent,#000 9%,#000 91%,transparent);mask-image:linear-gradient(90deg,transparent,#000 9%,#000 91%,transparent);}}

/* ---------- Celular: versão vertical da animação (palco 720 x 960) ---------- */
@media(max-width:767px){
.motion-top{padding:0;}
#droite-motion{max-width:none;aspect-ratio:720/960;}
#droite-motion .dr-stage{width:720px;height:960px;}
#droite-motion .dr-stage > div{width:720px !important;height:960px !important;}
#droite-motion .dr-bgvideo{width:720px !important;height:960px !important;}
#droite-motion .dr-stage > div > div[style*="linear-gradient(100deg"]{background:linear-gradient(180deg,rgba(15,30,41,.95) 0%,rgba(15,30,41,.84) 42%,rgba(15,30,41,.7) 100%) !important;}
#droite-motion .dr-sc{width:720px !important;height:880px !important;}
/* bloco de texto no alto */
#droite-motion .dr-s1 > div:first-child,#droite-motion .dr-s2 > div:first-child,#droite-motion .dr-s3 > div:first-child{left:44px !important;top:64px !important;width:632px !important;gap:20px !important;}
#droite-motion .dr-sc h2{font-size:50px !important;}
#droite-motion .dr-s1 > div:first-child p,#droite-motion .dr-s2 > div:first-child p,#droite-motion .dr-s3 > div:first-child p{font-size:25px !important;line-height:1.5 !important;}
#droite-motion .dr-s1 > div:first-child > div:first-child span,#droite-motion .dr-s2 > div:first-child > div:first-child span,#droite-motion .dr-s3 > div:first-child > div:first-child span{font-size:17px !important;}
/* quadros (tabela, diagrama, gráfico) abaixo do texto */
#droite-motion .dr-s1 > div:nth-child(2){left:96px !important;top:408px !important;}
#droite-motion .dr-s3 > div:nth-child(2){left:96px !important;top:408px !important;}
#droite-motion .dr-s2 > div:nth-child(2){left:60px !important;top:396px !important;}
/* cena final */
#droite-motion .dr-s4 > div:first-child{width:720px !important;height:960px !important;}
#droite-motion .dr-s4 > div:nth-child(2){width:720px !important;top:30px !important;height:780px !important;gap:38px !important;}
#droite-motion .dr-s4 img{height:300px !important;}
#droite-motion .dr-s4 h2{font-size:46px !important;}
/* trilha de etapas */
#droite-motion .dr-stage > div > div[style*="repeat(4"]{left:44px !important;right:44px !important;bottom:40px !important;gap:14px !important;}
#droite-motion .dr-stage > div > div[style*="repeat(4"] span{font-size:14px !important;letter-spacing:.03em !important;white-space:nowrap;}
}
