/* Motion graphics: visible sequences that explain the mentorship. */
.hero{background:radial-gradient(ellipse 800px 470px at 50% 40%,#6450db26,transparent 82%)}
.hero:before{animation:driftingGrid 22s linear infinite}
.hero-light-field{position:absolute;inset:-85px 0 0;z-index:-1;overflow:hidden;pointer-events:none;mask-image:linear-gradient(black 70%,transparent);-webkit-mask-image:linear-gradient(black 70%,transparent)}
.hero-light-field i{position:absolute;left:10%;top:10%;width:65%;height:370px;border-radius:50%;background:radial-gradient(ellipse,#6950f52e,transparent 67%);filter:blur(26px);animation:ambientSweep 12s ease-in-out infinite alternate}
.hero-light-field i+i{left:40%;top:31%;width:46%;background:radial-gradient(ellipse,#a161db24,transparent 65%);animation-duration:15s;animation-delay:-8s;animation-direction:alternate-reverse}
.hero h1 .text-accent{background-size:240% 100%;animation:lineIn 1.15s var(--ease) .12s both,headlineGlow 6s ease-in-out .9s infinite}
.hero-inner{perspective:1500px}
.hero-flow{width:min(580px,100%);display:flex;align-items:center;justify-content:center;margin:26px auto 0;min-height:47px;pointer-events:none}
.hero-flow-node{position:relative;flex:1;padding:11px 14px;border:1px solid #66528366;background:#16111fc9;border-radius:9px;font-size:14px;font-weight:600;color:#afa2c7;line-height:1.5;box-shadow:0 3px 15px #0002;animation:nodeCharge 6s ease-in-out infinite}
.hero-flow-node:nth-child(3){animation-delay:-4s}
.hero-flow-node:nth-child(5){animation-delay:-2s}
.hero-flow-beam{position:relative;display:block;flex:0 0 58px;height:1px;background:#4e375f;overflow:visible}
.hero-flow-beam:before{content:"";position:absolute;left:0;right:0;top:-9px;height:19px;background:linear-gradient(90deg,transparent,#8460db12,transparent)}
.hero-flow-beam i{position:absolute;top:-1px;left:-35%;height:3px;width:35%;background:linear-gradient(90deg,transparent,#ab89ff 65%,#f5eaff);border-radius:50%;filter:drop-shadow(0 0 5px #ad83ff);animation:beamTravel 3s ease-in-out infinite}
.hero-flow-beam:nth-child(4) i{animation-delay:-1.5s}
.hero-video-wrap{margin-top:30px;rotate:x var(--video-angle,0deg);transform-origin:50% 0;transition:rotate .35s linear,box-shadow .5s}
.hero-video-wrap:before{top:-2px;left:0;right:auto;width:38%;height:2px;background:linear-gradient(90deg,transparent,#bca2ff 60%,white 80%,transparent);animation:frameScan 5s ease-in-out infinite;filter:drop-shadow(0 0 8px #ad82ff)}
.hero-cover:before{animation:driftingGrid 18s linear infinite}
.hero-cover-copy>strong{overflow:hidden}
.hero-cover .play-circle{animation:playHalo 3s ease-in-out infinite}
.hero-proof{animation-duration:5s}
.hero-proof.proof-right{animation-delay:-2.5s}
.hero.film-playing .hero-light-field i,.hero.film-playing:before,.hero.film-playing .hero-flow *,.hero.film-playing .hero-video-wrap:before,.hero.film-playing .hero-proof,.hero.film-playing .text-accent{animation-play-state:paused}
.hero.film-playing .hero-video-wrap{rotate:none}
/* Genuine cases travel across the page; every name and number also appears in the gallery. */
.case-ribbon{position:relative;overflow:hidden;padding:9px 0 30px;background:#08090d;mask-image:linear-gradient(90deg,transparent,black 7%,black 93%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,black 7%,black 93%,transparent)}
.case-ribbon-track{display:flex;width:max-content;animation:caseRibbon 68s linear infinite}
.ribbon-group{display:flex;gap:14px;flex-shrink:0;padding-right:14px}
.ribbon-case{display:flex;align-items:center;gap:12px;width:252px;min-height:76px;padding:14px 18px;border:1px solid #34303f;border-radius:12px;background:linear-gradient(120deg,#19161f,#101116);box-shadow:0 4px 12px #0003}
.ribbon-case img{width:42px;height:41px;object-fit:contain;flex-shrink:0;filter:saturate(.8)}
.ribbon-case>span{min-width:0}
.ribbon-case b{display:block;font-size:13px;font-weight:600;line-height:1.4;color:#d2c9df}
.ribbon-case small{display:block;font-size:12px;color:#a99abf;margin-top:4px}
.case-ribbon:hover .case-ribbon-track{animation-play-state:paused}
.metrics-grid{position:relative;overflow:hidden}
.metrics-grid:after{content:"";position:absolute;left:0;bottom:0;width:24%;height:1px;background:linear-gradient(90deg,transparent,#b793ff,transparent);animation:metricSignal 8s linear infinite;pointer-events:none}
/* The three method demonstrations play as short looping sequences. */
.method-visual{perspective:700px;overflow:hidden}
.method-visual:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(115deg,transparent 36%,#c9aaff07 50%,transparent 64%);transform:translateX(-110%);animation:panelScan 8s ease-in-out infinite}
.method-label .method-icon{animation:iconCharge 7s ease-in-out infinite}
.format-source{animation:sourceSequence 7s var(--ease) infinite}
.format-tags span:first-child{animation:formatSequence 7s var(--ease) infinite}
.format-tags span:last-child{animation:headlineSequence 7s var(--ease) infinite}
.format-tags b{animation:mergeSequence 7s var(--ease) infinite}
.format-output{animation:outputSequence 7s var(--ease) infinite;transform-origin:50% 50%}
.format-connector:after{animation:signal 2.33s linear infinite}
.format-connector:nth-of-type(4):after{animation-delay:-1.1s}
.mentor-heading{animation:mentorSequence 7s var(--ease) infinite}
.feedback-row{position:relative;min-height:24px;padding-inline:5px;border-radius:5px;animation:feedbackSequence 7s var(--ease) infinite}
.feedback-row:nth-child(3){animation-delay:-4.66s}
.feedback-row:nth-child(4){animation-delay:-2.33s}
.feedback-check{display:inline-grid;place-items:center;width:18px;height:18px;border-radius:5px;border:1px solid #765886;animation:feedbackCheck 7s var(--ease) infinite}
.feedback-row:nth-child(3) .feedback-check{animation-delay:-4.66s}
.feedback-row:nth-child(4) .feedback-check{animation-delay:-2.33s}
.funnel-stage{transform-origin:center;animation:funnelSequence 7s var(--ease) infinite}
.funnel-stage:nth-of-type(3){animation-delay:-4.66s}
.funnel-stage:nth-of-type(5){animation-delay:-2.33s}
.flow-connector:after{height:100%;inset:-100% 0 auto;animation:signal 2.33s linear infinite}
.method-funnel .method-icon{animation-delay:-2.5s}
.method-mentor .method-icon{animation-delay:-5s}
.method-manifesto em{display:inline-block;position:relative}
.method-manifesto em:after{content:"";position:absolute;left:0;right:0;bottom:-3px;height:2px;background:linear-gradient(90deg,#7557b5,#cfabf8);transform:scaleX(0);transform-origin:left;transition:transform 1s var(--ease) .3s}
.method-manifesto.in-view em:after{transform:scaleX(1)}
/* A scroll-controlled ring and moving stage counter. */
.process-active{position:relative;display:flex;align-items:center;justify-content:center;gap:6px;width:164px;height:164px;margin-top:30px}
.process-ring{position:absolute;inset:0;width:100%;height:100%;overflow:visible;transform:rotate(-90deg)}
.process-ring circle{fill:none;stroke-width:1.5}
.process-ring-track{stroke:#34283e}
.process-ring-progress{stroke:#bc92f1;stroke-width:3;stroke-linecap:round;stroke-dasharray:100;stroke-dashoffset:calc(100 - var(--journey,0)*100);filter:drop-shadow(0 0 6px #9768df77);transition:stroke-dashoffset .35s linear}
.process-active>span:first-of-type{font-size:61px;letter-spacing:-.055em;line-height:1;color:#c5a5ec}
.process-active>span:last-child{font-size:13px;align-self:center;padding-top:28px;color:#93809f}
.process-step.current>div{box-shadow:0 0 36px #8050ac10;border-color:#8e63b56b}
.process-step.current .process-number{box-shadow:0 0 28px #a374e346}
.process-step:after{box-shadow:0 0 7px #a273d333}
/* Image curtains and staged reveals. */
.motion-ready .event-photo{clip-path:inset(0 0 0 0 round 12px);transition:opacity .9s var(--ease),transform 1.1s var(--ease),clip-path 1.25s var(--ease);transition-delay:var(--delay,0ms)}
.motion-ready .event-photo:not(.in-view){clip-path:inset(14% 0 86% 0 round 12px);transform:translateY(35px)}
.event-photo .photo-window{scale:1;transition:scale 1.6s var(--ease)}
.event-photo:not(.in-view) .photo-window{scale:1.12}
.founder .founder-photo{clip-path:inset(0);transition:clip-path 1.2s var(--ease);transition-delay:var(--delay,0ms)}
.motion-ready .founder:not(.in-view) .founder-photo{clip-path:inset(0 100% 0 0)}
.final-section:before{animation:driftingGrid 26s linear infinite}
.final-section .text-accent{background:linear-gradient(110deg,#b99ae7 20%,#f1e3ff 50%,#b99ae7 80%);background-size:240% 100%;background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;animation:headlineGlow 6s ease-in-out infinite}
/* Existing pause control stays within reach now that the motion is more prominent. */
.footer-bottom>.motion-control{position:fixed;z-index:55;right:20px;bottom:20px;display:flex;align-items:center;gap:8px;min-height:39px;padding:10px 13px;border:1px solid #5f496d99;border-radius:9px;background:#17111fed;backdrop-filter:blur(15px);font-size:12px;color:#c3b3d2;box-shadow:0 5px 25px #0005}
.motion-control:before{content:"";width:7px;height:11px;border-inline:2px solid #d3bceb}
.motion-control[aria-pressed=true]:before{width:0;height:0;border:0;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:7px solid #d3bceb}
.motion-ready .motion-scene:not(.scene-active) *, .motion-ready .motion-scene:not(.scene-active) *:before, .motion-ready .motion-scene:not(.scene-active) *:after, .motion-ready .motion-scene:not(.scene-active):before{animation-play-state:paused!important}
body.page-hidden *,body.page-hidden *:before,body.page-hidden *:after{animation-play-state:paused!important}
@keyframes driftingGrid{to{background-position:70px 70px}}
@keyframes ambientSweep{from{transform:translate3d(-11%,-6%,0) scale(.92);opacity:.55}to{transform:translate3d(18%,18%,0) scale(1.13);opacity:1}}
@keyframes headlineGlow{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
@keyframes nodeCharge{0%,12%,88%,100%{color:#b0a0c7;border-color:#66528366;box-shadow:0 3px 15px #0002;transform:translateY(0)}25%,47%{color:#eee2ff;border-color:#bd99f9b0;box-shadow:0 0 26px #a878ff35,0 0 0 3px #b991ff06;transform:translateY(-3px)}}
@keyframes beamTravel{0%{transform:translateX(0);opacity:0}15%{opacity:1}85%{opacity:1}100%{transform:translateX(385%);opacity:0}}
@keyframes frameScan{0%,100%{transform:translateX(0);opacity:.3}50%{transform:translateX(163%);opacity:1}}
@keyframes playHalo{0%,100%{box-shadow:0 0 0 5px #c8adff08,0 0 0 5px #c8adff00}65%{box-shadow:0 0 0 10px #c8adff0d,0 0 0 20px #c8adff03}}
@keyframes caseRibbon{to{transform:translateX(-50%)}}
@keyframes metricSignal{from{transform:translateX(-110%)}to{transform:translateX(530%)}}
@keyframes panelScan{0%,22%{transform:translateX(-110%)}66%,100%{transform:translateX(110%)}}
@keyframes iconCharge{0%,100%{box-shadow:0 0 0 #a571ef00;transform:translateY(0)}38%{box-shadow:0 0 25px #a571ef2b;transform:translateY(-3px)}}
@keyframes sourceSequence{0%{opacity:.35;transform:translateY(-10px) scale(.95)}12%,78%{opacity:1;transform:translateY(0) scale(1)}92%,100%{opacity:.35;transform:translateY(-10px) scale(.95)}}
@keyframes formatSequence{0%,12%{opacity:.25;transform:translateX(-26px) rotate(-5deg)}28%,78%{opacity:1;transform:translateX(0) rotate(0)}94%,100%{opacity:.25;transform:translateX(-26px) rotate(-5deg)}}
@keyframes headlineSequence{0%,12%{opacity:.25;transform:translateX(26px) rotate(5deg)}28%,78%{opacity:1;transform:translateX(0) rotate(0)}94%,100%{opacity:.25;transform:translateX(26px) rotate(5deg)}}
@keyframes mergeSequence{0%,18%,92%,100%{opacity:.2;transform:rotate(-90deg) scale(.8)}35%,78%{opacity:1;transform:rotate(0) scale(1)}}
@keyframes outputSequence{0%,29%{opacity:.2;transform:translateY(17px) scale(.9);box-shadow:0 0 0 #a16cdb00}46%,78%{opacity:1;transform:translateY(0) scale(1);box-shadow:0 0 30px #a16cdb38}94%,100%{opacity:.2;transform:translateY(17px) scale(.9);box-shadow:0 0 0 #a16cdb00}}
@keyframes mentorSequence{0%,100%{transform:translateY(-3px);opacity:.7}18%,85%{transform:translateY(0);opacity:1}}
@keyframes feedbackSequence{0%,8%{transform:translateX(-10px);opacity:.45;background:#a67bc900}25%,47%{transform:translateX(0);opacity:1;background:#a67bc916}67%,100%{transform:translateX(0);opacity:.65;background:#a67bc900}}
@keyframes feedbackCheck{0%,12%,100%{transform:scale(.5);opacity:.2;background:#ad7edf00}30%,65%{transform:scale(1);opacity:1;background:#ad7edf20}80%{transform:scale(1);opacity:.5}}
@keyframes funnelSequence{0%,9%{transform:translateY(-5px) scale(.96);opacity:.5;box-shadow:0 0 0 #9e62d800}28%,49%{transform:translateY(0) scale(1.025);opacity:1;box-shadow:0 0 24px #9e62d834}75%,100%{transform:translateY(0) scale(1);opacity:.65;box-shadow:0 0 0 #9e62d800}}
@media(max-width:980px){.hero-flow{width:min(560px,100%)}.hero-flow-beam{flex-basis:45px}.process-active{width:140px;height:140px}.process-active>span:first-of-type{font-size:53px}}
@media(max-width:700px){.hero-flow{margin-top:22px;min-height:41px}.hero-flow-node{font-size:12px;padding:9px 8px;border-radius:7px}.hero-flow-beam{flex-basis:24px}.hero-video-wrap{margin-top:25px;rotate:none!important}.hero-light-field i{width:95%;height:280px;left:-15%;filter:blur(15px)}.hero-light-field i+i{left:27%;width:90%}.hero{padding-bottom:28px}.case-ribbon{padding:9px 0 24px;mask-image:linear-gradient(90deg,transparent,black 5%,black 95%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,black 5%,black 95%,transparent)}.ribbon-case{width:225px;min-height:69px;padding:12px 15px;gap:10px}.ribbon-case img{width:36px;height:35px}.ribbon-group{gap:11px;padding-right:11px}.case-ribbon-track{animation-duration:72s}.process-active{display:none}.footer-bottom>.motion-control{right:13px;bottom:calc(85px + env(safe-area-inset-bottom));min-height:36px;padding:9px 11px;font-size:12px}.method-visual{min-height:255px}}
@media(max-width:380px){.hero-flow-node{padding-inline:5px}.hero-flow-beam{flex-basis:18px}.hero-flow{margin-top:20px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}.hero-video-wrap{rotate:none!important}.motion-ready .event-photo:not(.in-view),.motion-ready .founder:not(.in-view) .founder-photo{clip-path:none!important}.event-photo:not(.in-view) .photo-window{scale:1}.hero-flow-node,.format-source,.format-tags span,.format-output,.feedback-row,.feedback-check,.funnel-stage,.mentor-heading{opacity:1!important;transform:none!important}.hero-flow-beam i{display:none}.method-manifesto em:after{transform:scaleX(1)}}
body.motion-paused *,body.motion-paused *:before,body.motion-paused *:after{animation-play-state:paused!important}
body.motion-paused .hero-video-wrap{rotate:none!important}
body.motion-paused .event-photo,body.motion-paused .founder .founder-photo{clip-path:none!important}
body.motion-paused .event-photo .photo-window{scale:1!important}
body.motion-paused .hero-flow-node,body.motion-paused .format-source,body.motion-paused .format-tags span,body.motion-paused .format-output,body.motion-paused .feedback-row,body.motion-paused .feedback-check,body.motion-paused .funnel-stage,body.motion-paused .mentor-heading{opacity:1!important;transform:none!important}
body.motion-paused .method-manifesto em:after{transform:scaleX(1)}

/* Topo com autoplay: o vídeo já entra tocando no carregamento, então a pausa acima pegaria a
   entrada do título (lineIn) no quadro 0 e a 2ª linha ficaria escondida. Deixa a entrada correr
   e pausa só o brilho (headlineGlow) — mesma ordem da lista de animações do .hero h1 .text-accent. */
.hero.film-playing h1 .text-accent{animation-play-state:running,paused}
