/* Movimento contínuo — uma mesma atmosfera atravessa toda a página.
   Controles: intensidade em opacity; ritmo em animation-duration.
   O JavaScript pausa o que está fora da tela e quando a aba fica oculta. */
:root{--motion-cycle:12s;--motion-ease:cubic-bezier(.45,0,.55,1)}
body{position:relative;background:#f8f5fd}
.motion-backdrop{position:fixed;inset:0;z-index:0;pointer-events:none;overflow:hidden;contain:strict;background:linear-gradient(140deg,#faf6ff,#f1eafa 45%,#fcfaff)}
.ambient-wash{position:absolute;width:min(85vw,1050px);aspect-ratio:1;border-radius:50%;will-change:transform;animation:ambient-orbit 18s var(--motion-ease) infinite alternate;opacity:.8}
.wash-a{top:-36%;left:-23%;background:radial-gradient(ellipse,#c8a4f1b8 0%,#e0c8f17a 30%,transparent 68%)}
.wash-b{right:-28%;top:10%;background:radial-gradient(ellipse,#c0a0f09c 0%,#d7c0f163 32%,transparent 68%);animation-name:ambient-orbit-reverse;animation-duration:22s;animation-delay:-9s}
.wash-c{left:14%;bottom:-61%;background:radial-gradient(ellipse,#e6b9e882 0%,#dcc9f66b 35%,transparent 68%);animation-duration:16s;animation-delay:-7s}
#ambient-flow{display:block;width:100%;height:100%;position:absolute;inset:0;pointer-events:none}
main{position:relative;z-index:1}
.site-header,.site-footer{isolation:isolate}
.site-footer{position:relative;z-index:1;background:#252035f5}
main>section{position:relative}
/* Os fundos mantêm a cor e deixam passar o mesmo movimento. */
.motion-ready .hero{background:linear-gradient(140deg,#f4edff85,#e5d6fba8 52%,#f3ecfa8c)}
.motion-ready .hero-glow{display:none}
.motion-ready .audience-strip{background:#fffc}
.motion-ready .benefit-section{background:linear-gradient(110deg,#ffffffb8,#ffffff78)}
.motion-ready .about-section{background:linear-gradient(125deg,#f7f2fcba,#f5eefc82)}
.motion-ready .services-section{background:linear-gradient(110deg,#ffffffb3,#ffffff94)}
.motion-ready .process-section{background:#ffffffb0}
.motion-ready .pricing-section{background:linear-gradient(140deg,#f3ebfab5,#f7f2fb91)}
.motion-ready .testimonials-section{background:#ffffffbd}
.motion-ready .faq-section{background:#ffffffb5}
.motion-ready .contact-section{background:linear-gradient(125deg,#eadef9a8,#f4ebfc94)}
.motion-section{isolation:isolate}
.motion-section>.container{position:relative;z-index:1}
.motion-section:not(.hero)::before{content:"";position:absolute;inset:0;pointer-events:none;z-index:0;background:radial-gradient(ellipse at 4% 48%,#c7a2ed26,transparent 48%),radial-gradient(ellipse at 96% 60%,#e0c1f32b,transparent 46%);opacity:.3;animation:section-breathe var(--motion-cycle) var(--motion-ease) infinite;animation-delay:var(--section-phase,0s)}
.section-heading h2 .purple,.center-heading h2 .purple{background:linear-gradient(100deg,#8050dd 15%,#ad78e3 42%,#6639b4 67%,#8050dd 90%);background-size:230% 100%;color:transparent;background-clip:text;-webkit-background-clip:text;animation:ink-flow 10s var(--motion-ease) infinite alternate;animation-delay:var(--section-phase,0s)}
/* O texto permanece estável; ícones, luzes e linhas fazem o movimento. */
.motion-ready .icon-box>.icon{animation:icon-buoy 6s var(--motion-ease) infinite;animation-delay:var(--item-phase,0s);transform-origin:50% 60%}
.motion-ready .summary-card,.motion-ready .service-card,.motion-ready .price-card,.motion-ready .testimonial{position:relative;isolation:isolate;--light-x:50%;--light-y:30%}
.motion-ready :is(.summary-card,.service-card,.price-card,.testimonial)::before{content:"";position:absolute;inset:0;border-radius:inherit;background:radial-gradient(220px circle at var(--light-x) var(--light-y),#b98ce31c,transparent 72%);pointer-events:none;z-index:-1;opacity:.6;transition:opacity .4s}
.motion-ready :is(.summary-card,.service-card,.price-card,.testimonial):hover::before{opacity:1}
.motion-ready .price-featured::before{background:radial-gradient(260px circle at var(--light-x) var(--light-y),#fff3,transparent 72%)}
.motion-ready .summary-featured{animation:card-breathe 6s var(--motion-ease) infinite}
.motion-ready .popular-label{animation:label-breathe 6s var(--motion-ease) infinite}
.motion-ready .button{position:relative;isolation:isolate;overflow:hidden}
.motion-ready .button:not(.button-outline)::after{content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;background:linear-gradient(105deg,transparent 30%,#ffffff2b 47%,transparent 64%);transform:translateX(-110%);animation:button-light 7s var(--motion-ease) infinite;animation-delay:var(--item-phase,0s);z-index:-1}
.motion-ready .hero .word-highlight svg path{stroke-dasharray:300;stroke-dashoffset:0;animation:underline-flow 8s var(--motion-ease) infinite}
.motion-ready .hero-decoration{animation:star-drift 8s var(--motion-ease) infinite;transform-origin:center}
.motion-ready .decoration-two{animation-delay:-4s}
.motion-ready .status-dot{animation:dot-breathe 4s var(--motion-ease) infinite}
.motion-ready .routine-orbit{animation:orbit-breathe 10s var(--motion-ease) infinite;transform:none}
.motion-ready .planner{animation:planner-buoy 10s var(--motion-ease) infinite;will-change:transform}
.motion-ready .planner-days .selected{animation:day-breathe 5s var(--motion-ease) infinite}
.motion-ready .task-done{animation:check-breathe 6s var(--motion-ease) infinite;animation-delay:var(--item-phase,0s)}
.motion-ready .routine-note{animation:note-buoy 8s var(--motion-ease) infinite;animation-delay:var(--item-phase,0s)}
.motion-ready .about-spark{animation:spark-turn 12s var(--motion-ease) infinite}
.motion-ready .step-number{animation:step-breathe 6s var(--motion-ease) infinite;animation-delay:var(--item-phase,0s)}
.motion-ready .steps-grid article:not(:last-child)::after{border:0;height:1px;background:linear-gradient(90deg,#d6c2eb 0%,#a57ad4 35%,#eadcf7 60%,#d6c2eb 100%);background-size:220% 100%;animation:connection-flow 6s linear infinite}
.motion-ready .custom-banner{background:linear-gradient(110deg,#976be0,#8651ce,#a47bde,#8651ce);background-size:240% 100%;animation:ink-flow 14s var(--motion-ease) infinite alternate}
.motion-ready .custom-banner::after{animation:banner-spark 16s var(--motion-ease) infinite}
.motion-ready .stars{animation:stars-breathe 6s var(--motion-ease) infinite;animation-delay:var(--item-phase,0s)}
.motion-ready .contact-signature .brand-symbol,.motion-ready .footer-note .icon{animation:signature-buoy 8s var(--motion-ease) infinite}
.motion-ready .contact-form:focus-within{box-shadow:0 20px 65px -35px #8f66b866,0 0 0 3px #d7bcef38;transition:box-shadow .4s}
.reading-progress{position:fixed;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#b79be7,#8050dd,#d7b6ec);z-index:30;pointer-events:none;transform:scaleX(0);transform-origin:left;opacity:.8}
/* A animação nativa de rolagem não modifica o comportamento do scroll. */
@supports(animation-timeline:scroll()){@keyframes reading-progress{to{transform:scaleX(1)}}.reading-progress{animation:reading-progress linear both;animation-timeline:scroll(root)}}
@keyframes ambient-orbit{0%{transform:translate3d(-4%,-5%,0) scale(.9)}50%{transform:translate3d(20%,15%,0) scale(1.04)}100%{transform:translate3d(43%,30%,0) scale(1.14)}}
@keyframes ambient-orbit-reverse{0%{transform:translate3d(12%,15%,0) scale(1.12)}50%{transform:translate3d(-10%,-8%,0) scale(.92)}100%{transform:translate3d(-42%,12%,0) scale(1.08)}}
@keyframes section-breathe{0%,100%{opacity:.3}50%{opacity:.9}}
@keyframes ink-flow{0%{background-position:0 50%}100%{background-position:100% 50%}}
@keyframes icon-buoy{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-4px) rotate(5deg)}}
@keyframes card-breathe{0%,100%{box-shadow:0 8px 25px -18px #8a5abb33}50%{box-shadow:0 13px 38px -18px #8a5abb66}}
@keyframes label-breathe{0%,100%{translate:0 0}50%{translate:0 -3px}}
@keyframes button-light{0%,55%{transform:translateX(-110%)}85%,100%{transform:translateX(110%)}}
@keyframes underline-flow{0%,70%,100%{stroke-dashoffset:0;opacity:1}79%{stroke-dashoffset:-300;opacity:0}80%{stroke-dashoffset:300;opacity:0}94%{stroke-dashoffset:0;opacity:1}}
@keyframes star-drift{0%,100%{transform:translateY(0) rotate(-12deg) scale(.9);opacity:.65}50%{transform:translateY(-15px) rotate(35deg) scale(1.12);opacity:1}}
@keyframes dot-breathe{0%,100%{opacity:.55;transform:scale(.85)}50%{opacity:1;transform:scale(1.15)}}
@keyframes orbit-breathe{0%,100%{opacity:.45;scale:.92}50%{opacity:1;scale:1}}
@keyframes planner-buoy{0%,100%{transform:translateY(0) rotate(-4deg)}50%{transform:translateY(-10px) rotate(-1.5deg)}}
@keyframes day-breathe{0%,100%{box-shadow:0 7px 15px -8px #7640c8}50%{box-shadow:0 7px 22px -4px #7640c866}}
@keyframes check-breathe{0%,75%,100%{opacity:.6;scale:.9}85%{opacity:1;scale:1.15}}
@keyframes note-buoy{0%,100%{translate:0 0}50%{translate:0 -12px}}
@keyframes spark-turn{0%,100%{transform:rotate(0deg) scale(.92);opacity:.5}50%{transform:rotate(30deg) scale(1.08);opacity:.8}}
@keyframes step-breathe{0%,100%{box-shadow:0 0 0 0 #b68be51a}50%{box-shadow:0 0 0 9px #b68be510}}
@keyframes connection-flow{0%{background-position:0 50%}100%{background-position:-220% 50%}}
@keyframes banner-spark{0%,100%{transform:rotate(10deg) scale(.9)}50%{transform:rotate(65deg) scale(1.06)}}
@keyframes stars-breathe{0%,100%{opacity:.75}50%{opacity:1}}
@keyframes signature-buoy{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-4px) rotate(-4deg)}}
/* Animações fora do campo de visão e abas ocultas não consomem quadros. */
.motion-section:not(.motion-visible)::before,.motion-section:not(.motion-visible) *,.motion-section:not(.motion-visible) *::before,.motion-section:not(.motion-visible) *::after,.motion-paused *,.motion-paused *::before,.motion-paused *::after{animation-play-state:paused!important}
@media(max-width:650px){
  .ambient-wash{width:140vw;animation-duration:24s}.wash-a{left:-65%;top:-15%}.wash-b{right:-60%;top:35%}.wash-c{display:none}
  .motion-ready .planner{animation-name:planner-buoy-mobile}
  .motion-ready .steps-grid article:not(:last-child)::after{width:1px;height:auto;background:linear-gradient(180deg,#d6c2eb,#a57ad4,#eadcf7);background-size:100% 220%}
  .motion-ready .summary-featured{animation:none}
  @keyframes planner-buoy-mobile{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-7px) rotate(-1deg)}}
}
/* A página inicia com movimento completo; nenhuma preferência salva o desliga. */
html[data-motion="full"] .reveal-pending{opacity:0;translate:0 20px;transition:opacity .65s ease,translate .65s ease}
html[data-motion="full"] .reveal-pending.is-visible{opacity:1;translate:0 0}
