
.crm-film{--film-green:#50f333;position:relative;overflow:hidden;isolation:isolate;border:1px solid #3a5238;border-radius:20px;background:#0a100d;color:#f7fbf6;box-shadow:0 30px 90px #0007}
.crm-film-canvas{position:absolute;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none}
.crm-film-top{height:55px;display:flex;align-items:center;justify-content:space-between;padding:0 24px;border-bottom:1px solid #ffffff18;font-size:10px;letter-spacing:.16em;color:#b3c9b0}.crm-film-brand{font-weight:700}.crm-film-brand span,.crm-film-count{color:var(--film-green)}
.crm-film-screen{position:relative;height:560px;overflow:hidden}.crm-film-scene{height:100%;min-height:0;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;padding:30px 34px 80px}.crm-film-scene[hidden]{display:none}.crm-film-copy{position:relative;z-index:2}.crm-film-copy>span{font-size:10px;letter-spacing:.18em;font-weight:700;color:var(--film-green)}.crm-film-copy h2{font-size:clamp(25px,2.7vw,38px);line-height:1.12;letter-spacing:-.045em;margin:12px 0}.crm-film-copy em{font-style:normal;color:var(--film-green)}.crm-film-copy p{font-size:13px;line-height:1.6;color:#d1e0ce;max-width:460px}
.crm-film-visual{height:230px;position:relative;display:grid;place-items:center;perspective:800px}.film-orbit{position:absolute;border:1px solid #60fa4a35;border-radius:50%;width:340px;height:135px;transform:rotate(-17deg)}.orbit-two{width:280px;height:200px;transform:rotate(25deg)}.film-search{width:min(85%,390px);height:58px;border:1px solid #9effa267;border-radius:14px;background:#13241d;display:flex;align-items:center;gap:12px;padding:0 16px;box-shadow:0 14px 40px #0008,0 0 55px #39e24118;color:#e6f3e3;font-size:14px;z-index:1}.film-search-icon{font-size:28px;color:var(--film-green)}.film-search i{font-style:normal;margin-left:auto;color:var(--film-green)}.film-chip{position:absolute;background:#15271b;border:1px solid #619c59;border-radius:99px;padding:7px 12px;font-size:10px}.chip-a{top:25px;left:18%}.chip-b{bottom:25px;right:20%}.film-cursor{position:absolute;right:15%;bottom:18%;font-size:30px;color:white;animation:film-cursor 3s ease-in-out infinite}
.film-window,.film-dashboard,.film-chat{width:min(92%,430px);background:linear-gradient(145deg,#192820,#0d1511);border:1px solid #557550;border-radius:14px;box-shadow:0 20px 60px #0009,0 0 40px #39e24110;overflow:hidden;transform:rotateY(-5deg) rotateX(2deg)}.film-window-top{display:flex;justify-content:space-between;padding:12px 16px;border-bottom:1px solid #ffffff18;color:#9fe28f;font-size:9px;letter-spacing:.12em}.film-window-title{padding:16px 16px 8px;font-size:14px;font-weight:700}.film-window-title span{float:right;color:#9baea0;font-size:9px;font-weight:400}.film-columns{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:8px 16px 18px}.film-columns small{font-size:8px;color:#a9bbaa}.film-lead,.film-placeholder{padding:10px;margin-top:8px;border:1px solid #6afa5055;border-radius:8px;background:#1d3225;min-height:80px;font-size:10px}.film-lead b,.film-lead span,.film-lead i{display:block}.film-lead span{color:#c1cebf;font-size:9px;margin:6px 0}.film-lead i{color:var(--film-green);font-style:normal;font-size:8px}.film-lead.dim,.film-placeholder{border-color:#ffffff15;background:#111b15}.film-floating{position:absolute;bottom:8px;right:6%;padding:10px 14px;background:#e6f8e2;color:#173019;border-radius:9px;font-size:10px;font-weight:700;box-shadow:0 10px 35px #0007;animation:film-float 3.5s ease-in-out infinite}
.film-chat{padding:16px;max-width:350px}.film-chat-head{display:flex;align-items:center;gap:10px;padding-bottom:12px;border-bottom:1px solid #ffffff20}.film-avatar{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--film-green);color:#11200f;font-weight:800}.film-chat-head b,.film-chat-head small{display:block;font-size:11px}.film-chat-head small{font-size:9px;color:#a8bbaa}.film-online{margin-left:auto;color:var(--film-green)}.film-bubble{max-width:80%;border-radius:10px;padding:10px;margin-top:12px;font-size:11px;line-height:1.5}.incoming{background:#25342a}.outgoing{background:#254c2a;margin-left:auto}.outgoing small{color:#9effa1}.film-ai{padding-top:12px;color:#b1eaa4;font-size:9px}.film-dashboard{padding-bottom:15px}.film-dashboard>b{display:block;padding:14px 18px 0;font-size:13px}.film-chart{position:relative;height:100px;margin:10px 18px;display:flex;gap:12px;align-items:flex-end;border-bottom:1px solid #ffffff29}.film-chart i{flex:1;background:#45d43b33;border-radius:4px 4px 0 0;height:35%}.film-chart i:nth-child(2){height:55%}.film-chart i:nth-child(3){height:42%}.film-chart i:nth-child(4){height:68%}.film-chart i:nth-child(5){height:57%}.film-chart i:nth-child(6){height:88%}.film-chart svg{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:#61ff4e;stroke-width:3}.film-dashboard-bottom{display:flex;gap:30px;padding:0 18px;color:#9eb19b;font-size:9px}.film-dashboard-bottom b{display:block;color:#dff7da;font-size:11px;margin-top:4px}

/* Fixed stage: every scene reserves the replay area from the first frame. */
.crm-film-screen{background:#070c09}.crm-film-scene{position:relative;isolation:isolate;overflow:hidden}.crm-film-visual{width:65%;align-self:flex-start;flex:0 0 230px;z-index:1}
.film-photo{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:center;pointer-events:none;transform:scale(1.04)}
.crm-film-scene:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(5,13,9,.97),rgba(5,13,9,.89) 29%,rgba(5,13,9,.55) 55%,rgba(5,13,9,.13)),linear-gradient(0deg,rgba(4,11,7,.8),transparent 60%);pointer-events:none}
.crm-film-copy{max-width:72%;text-shadow:0 3px 20px #000}.crm-film-copy h2{font-size:clamp(27px,2.8vw,41px)}.crm-film-copy p{max-width:350px;color:#edf6eb}.crm-film-copy em{position:relative;display:inline-block}
.film-search,.film-window,.film-chat,.film-dashboard{background:linear-gradient(145deg,rgba(28,48,35,.93),rgba(8,20,13,.88));border-color:rgba(153,225,151,.42);box-shadow:0 22px 60px #000a,0 0 0 1px #a1ffa420,0 0 38px #39e2411c;backdrop-filter:blur(16px)}
.film-floating{right:-4%;background:#eeffeb;color:#123015}.film-window,.film-chat,.film-dashboard{transform:rotateY(-4deg) rotateX(1deg)}
.film-arrow{position:absolute;top:50%;z-index:6;display:grid;place-items:center;width:44px;height:44px;margin-top:-22px;padding:0;border:1px solid rgba(202,236,202,.48);border-radius:50%;background:rgba(9,22,13,.56);color:#f3fff0;font-size:21px;line-height:1;cursor:pointer;backdrop-filter:blur(12px);transition:background .3s,border-color .3s,opacity .3s,transform .3s}.film-arrow-prev{left:10px}.film-arrow-next{right:10px}.film-arrow:hover,.film-arrow:focus-visible{background:rgba(42,96,42,.8);border-color:#8cf58c;transform:scale(1.06)}.film-arrow:disabled{opacity:.25;cursor:default}.film-arrow:disabled:hover{transform:none}
.film-replay{position:absolute;bottom:18px;right:24px;z-index:4;min-height:44px;padding:0 18px;border:1px solid #8bcf8f;border-radius:99px;color:#f2fff0;background:rgba(8,24,13,.88);font-family:inherit;font-size:13px;font-weight:600;cursor:pointer;transition:background .25s,border-color .25s}.film-replay:hover,.film-replay:focus-visible{background:#173c20;border-color:#3df04a}.film-replay[hidden]{display:none}
.crm-film>.film-progress{height:3px;width:100%;background:#26392c}.film-progress span{display:block;width:0;height:100%;background:#39ea43}.film-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
/* Light sits behind the interface; it never darkens or hides its content. */
.crm-film-visual:before{content:"";position:absolute;z-index:-1;inset:10% -7%;border-radius:50%;background:radial-gradient(ellipse,rgba(100,243,90,.2),rgba(48,170,82,.07) 45%,transparent 72%);filter:blur(22px);pointer-events:none;animation:film-ambient 5.5s ease-in-out infinite alternate}
.crm-film-visual:after{content:"";position:absolute;inset:12% 7%;z-index:2;border-radius:24px;background:linear-gradient(110deg,transparent 34%,rgba(219,255,213,.12) 49%,transparent 62%);opacity:0;pointer-events:none;mix-blend-mode:screen;animation:film-light-sweep 7s ease-in-out infinite}
/* Titles have a different rhythm and direction in each chapter. */
.crm-film .is-current .crm-film-copy>span{animation:film-label .65s cubic-bezier(.2,.8,.2,1) both}
.crm-film .is-current .crm-film-copy p{animation:film-support .95s ease .35s both}
.crm-film [data-film-scene="captacao"].is-current h2{animation:film-title-slide .95s cubic-bezier(.16,1,.3,1) .1s both}
.crm-film [data-film-scene="crm"].is-current h2{animation:film-title-settle 1s cubic-bezier(.16,1,.3,1) .1s both}
.crm-film [data-film-scene="atendimento"].is-current h2{animation:film-title-turn 1s cubic-bezier(.16,1,.3,1) .1s both;transform-origin:left center}
.crm-film [data-film-scene="gestao"].is-current h2{animation:film-title-close 1.15s cubic-bezier(.16,1,.3,1) .1s both;transform-origin:left center}
.crm-film .is-current .crm-film-copy em:after{content:"";position:absolute;bottom:-5px;left:0;width:46%;height:1px;transform-origin:left;background:linear-gradient(90deg,#7dff65,transparent);animation:film-underline 1.2s cubic-bezier(.16,1,.3,1) .45s both}
/* Photograph and foreground travel independently to create depth. */
.crm-film [data-film-scene="captacao"].is-current .film-photo,.crm-film [data-film-scene="atendimento"].is-current .film-photo{animation:film-camera-left 7s linear both}
.crm-film [data-film-scene="crm"].is-current .film-photo{animation:film-camera-right 7s linear both}
.crm-film [data-film-scene="gestao"].is-current .film-photo{animation:film-camera-out 7s linear both}
/* Attraction: search field, badges and pointer follow a short search gesture. */
.crm-film .is-current .film-search{animation:film-search-dock 1.1s cubic-bezier(.16,1,.3,1) .15s both}
.crm-film .is-current .chip-a{animation:film-badge-left 1s cubic-bezier(.16,1,.3,1) .45s both}
.crm-film .is-current .chip-b{animation:film-badge-right 1s cubic-bezier(.16,1,.3,1) .7s both}
.crm-film .is-current .film-cursor{animation:film-pointer 5s cubic-bezier(.45,0,.2,1) infinite}
.crm-film .is-current .orbit-one{animation:film-orbit-one 7s ease-in-out both}.crm-film .is-current .orbit-two{animation:film-orbit-two 7s ease-in-out both}
/* CRM: the panel settles first; the opportunity follows from the left. */
.crm-film .is-current .film-window{animation:film-crm-arrive 1.25s cubic-bezier(.16,1,.3,1) .15s both}
.crm-film .is-current .film-lead:not(.dim){animation:film-lead-arrive 1.1s cubic-bezier(.16,1,.3,1) .7s both,film-lead-light 3s ease-in-out 1.8s infinite}
.crm-film .is-current .film-lead.dim{animation:film-lead-settle 1.1s cubic-bezier(.16,1,.3,1) 1.1s both}
.crm-film .is-current .film-floating{animation:film-float 4s ease-in-out infinite}
/* Conversation: incoming and outgoing messages come from opposite directions. */
.crm-film .is-current .film-chat{animation:film-chat-arrive 1.1s cubic-bezier(.16,1,.3,1) .1s both}
.crm-film .is-current .incoming{transform-origin:left bottom;animation:film-incoming .85s cubic-bezier(.16,1,.3,1) .65s both}
.crm-film .is-current .outgoing{transform-origin:right bottom;animation:film-outgoing .95s cubic-bezier(.16,1,.3,1) 1.65s both}
.crm-film .is-current .film-ai{animation:film-ai-settle 1.1s ease 2.6s both}
.crm-film .is-current .film-online{animation:film-online-light 3s ease-in-out infinite}
/* Management: the dashboard levels out; bars and line build in sequence. */
.crm-film .is-current .film-dashboard{transform-origin:center bottom;animation:film-dashboard-arrive 1.2s cubic-bezier(.16,1,.3,1) .15s both}
.crm-film .is-current .film-chart i{transform-origin:center bottom;animation:film-bar-rise 1.3s cubic-bezier(.16,1,.3,1) .7s both}.crm-film .is-current .film-chart i:nth-child(2){animation-delay:.85s}.crm-film .is-current .film-chart i:nth-child(3){animation-delay:1s}.crm-film .is-current .film-chart i:nth-child(4){animation-delay:1.15s}.crm-film .is-current .film-chart i:nth-child(5){animation-delay:1.3s}.crm-film .is-current .film-chart i:nth-child(6){animation-delay:1.45s}
.crm-film .is-current .film-chart path{stroke-dasharray:400;stroke-dashoffset:400;animation:film-line-draw 2.4s cubic-bezier(.4,0,.2,1) 1s forwards}
.crm-film .is-current .film-dashboard-bottom{animation:film-support 1s ease 2.3s both}
/* Freeze the current frame without replacing animation declarations. */
.crm-film.is-paused .is-current,.crm-film.is-paused .is-current *,.crm-film.is-paused .is-current *:before,.crm-film.is-paused .is-current *:after{animation-play-state:paused}
@keyframes film-label{from{transform:translateX(-8px);letter-spacing:.23em}to{transform:translateX(0);letter-spacing:.18em}}
@keyframes film-support{from{opacity:.85;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@keyframes film-title-slide{from{transform:translateX(-20px)}to{transform:translateX(0)}}
@keyframes film-title-settle{from{transform:translateY(18px)}to{transform:translateY(0)}}
@keyframes film-title-turn{from{transform:perspective(700px) rotateY(6deg) translateX(10px)}to{transform:perspective(700px) rotateY(0) translateX(0)}}
@keyframes film-title-close{from{transform:scale(.965) translateY(5px)}to{transform:scale(1) translateY(0)}}
@keyframes film-underline{from{transform:scaleX(.12);opacity:.4}to{transform:scaleX(1);opacity:1}}
@keyframes film-camera-left{from{transform:scale(1.04) translateX(0)}to{transform:scale(1.1) translateX(-1.2%)}}
@keyframes film-camera-right{from{transform:scale(1.04) translateX(-1%)}to{transform:scale(1.1) translateX(.6%)}}
@keyframes film-camera-out{from{transform:scale(1.1)}to{transform:scale(1.035)}}
@keyframes film-search-dock{from{transform:translateX(-28px) scale(.97)}to{transform:translateX(0) scale(1)}}
@keyframes film-badge-left{from{transform:translate(-16px,-9px) rotate(-4deg)}to{transform:translate(0) rotate(0)}}
@keyframes film-badge-right{from{transform:translate(18px,10px) rotate(4deg)}to{transform:translate(0) rotate(0)}}
@keyframes film-pointer{0%,15%{transform:translate(7px,6px)}40%,62%{transform:translate(-32px,-18px)}66%{transform:translate(-32px,-18px) scale(.86)}74%,100%{transform:translate(7px,6px)}}
@keyframes film-orbit-one{from{transform:rotate(-20deg) scale(.96)}to{transform:rotate(-12deg) scale(1.03)}}
@keyframes film-orbit-two{from{transform:rotate(29deg)}to{transform:rotate(20deg)}}
@keyframes film-crm-arrive{from{transform:perspective(800px) translateX(-20px) rotateY(-11deg)}to{transform:perspective(800px) translateX(0) rotateY(-4deg)}}
@keyframes film-lead-arrive{from{transform:translateX(-13px) rotate(-2deg)}to{transform:translateX(0) rotate(0)}}
@keyframes film-lead-settle{from{transform:translateY(10px)}to{transform:translateY(0)}}
@keyframes film-lead-light{50%{box-shadow:0 0 20px #50f33330}}
@keyframes film-chat-arrive{from{transform:translateX(24px) rotateY(5deg)}to{transform:translateX(0) rotateY(-4deg)}}
@keyframes film-incoming{from{transform:translateX(-14px) scale(.97)}to{transform:translateX(0) scale(1)}}
@keyframes film-outgoing{from{transform:translateX(16px) scale(.95)}to{transform:translateX(0) scale(1)}}
@keyframes film-ai-settle{from{color:#edf6eb;transform:translateY(5px)}to{color:#b1eaa4;transform:translateY(0)}}
@keyframes film-online-light{50%{text-shadow:0 0 12px #50f333aa}}
@keyframes film-dashboard-arrive{from{transform:perspective(800px) rotateX(7deg) scale(.96)}to{transform:perspective(800px) rotateX(0) scale(1)}}
@keyframes film-bar-rise{from{transform:scaleY(.16)}to{transform:scaleY(1)}}
@keyframes film-line-draw{to{stroke-dashoffset:0}}
@keyframes film-float{50%{transform:translateY(-4px)}}
@keyframes film-ambient{from{opacity:.55;transform:scale(.95)}to{opacity:1;transform:scale(1.08)}}
@keyframes film-light-sweep{0%,15%{opacity:0;transform:translateX(-20%)}30%{opacity:.65}48%,100%{opacity:0;transform:translateX(20%)}}
@media(max-width:640px){.crm-film-top{padding:0 16px;font-size:9px}.crm-film-screen{height:600px}.crm-film-scene{padding:26px 40px 80px}.crm-film-copy{max-width:100%}.crm-film-copy h2{font-size:27px}.crm-film-visual{width:100%;height:210px;flex-basis:210px}.film-columns{gap:4px;padding-inline:10px}.film-lead{padding:6px}.film-columns small{font-size:7px}.film-orbit{max-width:85%}.film-photo{object-position:60% center}.crm-film-scene:before{background:linear-gradient(90deg,rgba(5,13,9,.94),rgba(5,13,9,.7) 52%,rgba(5,13,9,.34)),linear-gradient(0deg,rgba(4,11,7,.8),transparent 58%)}.film-arrow-prev{left:3px}.film-arrow-next{right:3px}.film-floating{right:-3%}.film-replay{right:18px;bottom:18px}}
@media(max-width:360px){.crm-film-screen{height:640px}.crm-film-copy h2{font-size:25px}.crm-film-scene{padding-inline:35px}}

/* Scene links select a chapter while keeping the page at its real top. */
.film-entry-anchors{position:absolute;top:0;left:0;width:1px;height:1px;pointer-events:none;clip-path:inset(50%)}.film-entry-anchors>span{position:absolute;top:0;left:0;display:block;width:1px;height:1px}
