/* MaxEvolution Chatbot • Home pública Premium R3 — incrementa R1, sem alterar back-end */
:root{--mx3-ink:#08284a;--mx3-azure:#0a79f5;--mx3-sky:#4fdbfa;--mx3-line:#d8e8f8;--mx3-shadow:0 18px 48px rgba(8,37,75,.105)}
body:has(.mx55-hero) .mx55-wrap{width:min(1220px,calc(100% - 56px))}
body:has(.mx55-hero) .mx55-section{padding-block:clamp(62px,6vw,88px)}
body:has(.mx55-hero) .mx55-section-heading{margin-bottom:32px}
body:has(.mx55-hero) .mx55-section-heading h2{max-width:760px;margin-inline:auto;text-wrap:balance}
body:has(.mx55-hero) .mx55-section-heading p{max-width:700px;line-height:1.65}
body:has(.mx55-hero) :is(a,button,summary,input,select,textarea):focus-visible{outline:3px solid #31bdfb!important;outline-offset:3px}
/* Hero: graphic system/geometry entirely built in light SVG, no extra HTTP requests */
body:has(.mx55-hero) .mx55-hero{background:radial-gradient(ellipse 650px 430px at 16% 30%,#155187 0%,transparent 70%),linear-gradient(119deg,#081c35 4%,#0a2a50 53%,#06182d 100%);min-height:0}
.mx3-hero-geometry{position:absolute;z-index:0;inset:0;width:100%;height:100%;opacity:.69;pointer-events:none;color:#4bd7fc}
.mx3-hero-geometry .mx3-geo-trace{fill:none;stroke:currentColor;stroke-width:1.4;stroke-dasharray:7 13;opacity:.45;transform-origin:center;animation:mx3-orbit 42s linear infinite}
.mx3-hero-geometry .mx3-geo-ring{fill:none;stroke:#a3e9ff;stroke-width:1;opacity:.17}
.mx3-hero-geometry .mx3-geo-spark{fill:#7ddcf8;opacity:.75;filter:drop-shadow(0 0 8px #20b8f8);animation:mx3-spark 4s ease-in-out infinite alternate}
.mx3-glow{position:absolute;z-index:0;inset:auto auto -160px 36%;width:48%;height:360px;border-radius:50%;background:#0096e31a;filter:blur(64px);pointer-events:none}
body:has(.mx55-hero) .mx55-hero-inner{min-height:min(610px,85vh);padding-block:clamp(64px,6.5vw,84px);gap:clamp(34px,4vw,70px)}
body:has(.mx55-hero) .mx55-hero-copy{position:relative;z-index:2}
body:has(.mx55-hero) .mx55-hero h1{font-size:clamp(37px,4.1vw,60px);line-height:1.08;max-width:680px;text-wrap:balance;margin:19px 0 25px}
body:has(.mx55-hero) .mx55-hero h1 span{background:linear-gradient(110deg,#64e7fc,#30b9ff 60%,#b5e6ff);color:transparent;-webkit-background-clip:text;background-clip:text}
body:has(.mx55-hero) .mx55-hero-copy>p{font-size:clamp(15px,1.3vw,18px);line-height:1.72;max-width:590px}
body:has(.mx55-hero) .mx55-actions{gap:12px;margin:29px 0 16px}
body:has(.mx55-hero) .mx55-actions .mx55-button{min-height:52px;position:relative;overflow:hidden}
body:has(.mx55-hero) .mx55-actions .mx55-button:not(.mx55-button-ghost):before{content:"";position:absolute;top:0;left:-80%;width:65%;height:100%;background:linear-gradient(100deg,transparent,#ffffff35,transparent);transform:skewX(-20deg);transition:left .65s ease}
body:has(.mx55-hero) .mx55-actions .mx55-button:not(.mx55-button-ghost):hover:before{left:130%}
.mx3-scroll-cue{display:inline-flex;align-items:center;gap:9px;margin:20px 0 0;text-decoration:none;color:#9fdcff!important;font-weight:750;font-size:12px;letter-spacing:.02em}
.mx3-scroll-cue svg{width:22px;height:22px;stroke:currentColor;stroke-width:1.8;fill:none;animation:mx3-cue 2.6s ease-in-out infinite}
.mx3-scroll-cue:hover{color:#fff!important}
body:has(.mx55-hero) .mx55-hero-visual{border-radius:30px;height:clamp(410px,39vw,500px);min-height:400px;max-width:620px;transform:translate3d(0,var(--mx3-visual-y,0px),0)}
body:has(.mx55-hero) .mx55-hero-visual>img{transform:scale(1.045) translate3d(0,var(--mx3-img-y,0px),0);transition:filter .5s;will-change:transform}
body:has(.mx55-hero) .mx55-hero-visual:before{border-color:#9be9ff6c}
.mx3-hero-hud{position:absolute;bottom:19px;right:18px;width:124px;height:124px;z-index:3;color:#b8edff;filter:drop-shadow(0 7px 10px #001b3980);opacity:.87;pointer-events:none}
.mx3-hero-hud .mx3-hud-orbit{transform-origin:60px 60px;animation:mx3-orbit 24s linear infinite}
.mx3-hero-hud .mx3-hud-node{animation:mx3-spark 2s ease-in-out infinite alternate}
body:has(.mx55-hero) .mx55-hero-floating{backdrop-filter:blur(16px);background:#ffffffee;box-shadow:0 22px 45px #001b3954;border:1px solid #ffffffb2;animation:mx3-float 7s ease-in-out infinite}
body:has(.mx55-hero) .mx55-floating-bottom{animation-delay:-3.5s}
body:has(.mx55-hero) .mx55-hero-trust{margin-top:16px;gap:9px 15px}
body:has(.mx55-hero) .mx55-hero-trust span{display:inline-flex;gap:5px;align-items:center;border-radius:30px;background:#d7edff0b;padding:5px 2px}
/* Padrão de cartões: menos espaço morto, altura consistente, mouse/keyboard feedback */
body:has(.mx55-hero) .mx55-feature-grid{gap:16px}
body:has(.mx55-hero) .mx55-feature-grid article{border-radius:20px;min-height:0;padding:25px 24px 27px;box-shadow:0 12px 35px #0a3f6e0c;overflow:hidden;isolation:isolate;transition:transform .32s cubic-bezier(.2,.7,.2,1),box-shadow .32s,border-color .32s}
body:has(.mx55-hero) .mx55-feature-grid article:before{content:"";position:absolute;left:0;top:0;right:0;height:3px;background:linear-gradient(90deg,#2278f5,#55d9f5);opacity:0;transform:scaleX(.25);transform-origin:left;transition:opacity .25s,transform .35s}
body:has(.mx55-hero) .mx55-feature-grid article:hover:before{opacity:1;transform:scaleX(1)}
body:has(.mx55-hero) .mx55-feature-grid article:hover{transform:translateY(-7px);border-color:#98cef4;box-shadow:0 20px 50px #0a4f9124}
body:has(.mx55-hero) .mx55-feature-icon{transition:transform .35s cubic-bezier(.2,.7,.2,1),background .3s}
body:has(.mx55-hero) .mx55-feature-grid article:hover .mx55-feature-icon{transform:rotate(-5deg) scale(1.08);background:#d4eeff}
body:has(.mx55-hero) .mx55-feature-grid p{font-size:14px;line-height:1.6}
/* Trecho da demonstração: cabeçalho compacto, efeitos sem animação agressiva */
body:has(.mx55-hero) .mx-r1-demo{background:linear-gradient(150deg,#eaf5ff 0%,#f9fcff 61%,#eff8ff 100%);position:relative;overflow:hidden}
body:has(.mx55-hero) .mx-r1-demo:before{content:"";position:absolute;width:460px;height:460px;border:1px solid #acdfff55;border-radius:50%;right:-170px;top:-190px;box-shadow:0 0 0 80px #addfff11,0 0 0 170px #addfff08;pointer-events:none}
body:has(.mx55-hero) .mx-r1-layout{position:relative;gap:clamp(28px,4.5vw,64px)}
body:has(.mx55-hero) .mx-r1-intro h2{max-width:570px;text-wrap:balance}
body:has(.mx55-hero) .mx-r1-phone{box-shadow:0 32px 75px #0b427121;border:1px solid #c2ddf4;overflow:hidden}
body:has(.mx55-hero) .mx-r1-messages{min-height:240px;gap:12px}
body:has(.mx55-hero) .mx-r1-phone-footer{flex-wrap:wrap}
.mx3-demo-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:15px}
.mx3-demo-controls button{border:1px solid #c9deef;background:#fff;border-radius:12px;padding:10px 15px;min-height:44px;color:#0b4f8e;font-weight:850;font:inherit;font-size:13px;cursor:pointer;transition:background .2s,transform .2s,box-shadow .2s}
.mx3-demo-controls button:hover{background:#eef8ff;box-shadow:0 7px 18px #0b427118;transform:translateY(-2px)}
.mx3-demo-controls button:disabled{opacity:.45;cursor:not-allowed;transform:none;box-shadow:none}
.mx3-demo-track{height:5px;background:#dbeaf7;border-radius:10px;flex:1;overflow:hidden}
.mx3-demo-track>span{height:100%;display:block;width:33.333%;background:linear-gradient(90deg,#0664d7,#26c8f1);transition:width .34s ease}
/* Capturas com muito espaço em branco: cartas e imagens niveladas, blocos compactos */
body:has(.mx55-hero) .mx55-photo-section{background:#fff}
body:has(.mx55-hero) .mx55-photo-layout{gap:clamp(30px,4vw,60px);grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
body:has(.mx55-hero) .mx55-photo-stack{min-height:0;align-self:stretch;display:flex;align-items:center}
body:has(.mx55-hero) .mx55-photo-stack img{height:clamp(290px,32vw,420px);width:100%;object-fit:cover;transform:translate3d(0,var(--mx3-photo-y,0px),0);box-shadow:var(--mx3-shadow)}
.mx3-photo-decor{position:absolute;top:-24px;left:-26px;width:90px;height:90px;z-index:0;opacity:.56;pointer-events:none}
body:has(.mx55-hero) .mx55-photo-stack>img{position:relative;z-index:1}
body:has(.mx55-hero) .mx55-photo-chip{z-index:2;bottom:-14px;right:-10px}
body:has(.mx55-hero) .mx55-sector-grid{gap:17px;align-items:stretch}
body:has(.mx55-hero) .mx55-sector-grid article{display:flex;flex-direction:column;height:100%;border-radius:20px;min-height:0;box-shadow:0 12px 32px #08395910;transition:transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s}
body:has(.mx55-hero) .mx55-sector-grid article:hover{transform:translateY(-7px);box-shadow:0 22px 45px #084e8622}
body:has(.mx55-hero) .mx55-sector-grid article>img{height:clamp(190px,18vw,235px);width:100%;object-fit:cover;object-position:center 31%;transition:transform .6s ease,filter .6s ease}
body:has(.mx55-hero) .mx55-sector-grid article:hover>img{transform:scale(1.035);filter:saturate(1.04)}
body:has(.mx55-hero) .mx55-sector-grid article>div{padding:22px 24px 24px;flex:1;display:flex;flex-direction:column;justify-content:flex-start;gap:4px;min-height:110px;background:#fff;position:relative}
body:has(.mx55-hero) .mx55-sector-grid article h3{margin:0;font-size:17px;line-height:1.35}
body:has(.mx55-hero) .mx55-sector-grid article p{margin:0;line-height:1.55;font-size:14px}
body:has(.mx55-hero) .mx55-mode-cards{gap:11px}
body:has(.mx55-hero) .mx55-mode-cards article{padding-block:17px;transition:transform .28s,background .28s}
body:has(.mx55-hero) .mx55-mode-cards article:hover{transform:translateX(5px);background:#e8f4ff}
body:has(.mx55-hero) .mx55-plan-card{box-shadow:0 11px 27px #06447a0b;transition:transform .3s,box-shadow .3s,border-color .3s}
body:has(.mx55-hero) .mx55-plan-card:hover{transform:translateY(-7px);box-shadow:0 20px 40px #09519b21;border-color:#8ccaf6}
body:has(.mx55-hero) .mx55-plan-featured{box-shadow:0 20px 42px #0874f21d}
body:has(.mx55-hero) .mx55-official-inner{min-height:235px;gap:clamp(18px,2.8vw,32px);padding-block:26px}
body:has(.mx55-hero) .mx55-official-robot{max-height:225px}
body:has(.mx55-hero) .mx55-final-cta{position:relative;overflow:hidden;background:radial-gradient(circle at 82% 50%,#29a8f64d,transparent 40%),linear-gradient(115deg,#052449,#0765ad);padding:clamp(70px,6vw,93px) 0}
body:has(.mx55-hero) .mx55-final-cta:before{content:"";position:absolute;inset:-50%;background:repeating-radial-gradient(circle at 68% 50%,#8ddfff0f 0 1px,transparent 1px 52px);pointer-events:none;animation:mx3-final-orbit 40s linear infinite}
body:has(.mx55-hero) .mx55-final-cta .mx55-wrap{position:relative}
body:has(.mx55-hero) .mx55-faq-list details[open]{box-shadow:0 15px 30px #0c4c8111}
/* Scroll progress: 3px only; no flashing, no overlays on interactive controls */
.mx3-progress{position:fixed;top:78px;left:0;right:auto;height:3px;width:var(--mx3-scroll-progress,0%);background:linear-gradient(90deg,#1197fb,#58e3f9);box-shadow:0 0 8px #1bc0fa66;z-index:99;pointer-events:none}
/* Reveal is opt-in only after JS observer starts. Content always visible without JS. */
body.mx3-motion-on .mx3-reveal{opacity:0;transform:translate3d(0,22px,0);transition:opacity .72s ease,transform .72s cubic-bezier(.15,.8,.25,1)}
body.mx3-motion-on .mx3-reveal.mx3-visible{opacity:1;transform:translate3d(0,0,0)}
body.mx3-motion-on .mx55-feature-grid article.mx3-reveal:nth-child(2n){transition-delay:.07s}
body.mx3-motion-on .mx55-feature-grid article.mx3-reveal:nth-child(3n){transition-delay:.12s}
@keyframes mx3-cue{0%,100%{transform:translateY(0)}55%{transform:translateY(5px)}}
@keyframes mx3-orbit{to{transform:rotate(360deg)}}
@keyframes mx3-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-9px)}}
@keyframes mx3-spark{to{opacity:.35}}
@keyframes mx3-final-orbit{to{transform:rotate(12deg)}}
@media(max-width:1050px){body:has(.mx55-hero) .mx55-hero-inner{gap:28px;min-height:0}body:has(.mx55-hero) .mx55-photo-layout{gap:34px}}
@media(max-width:820px){body:has(.mx55-hero) .mx55-hero-inner{padding-top:50px;grid-template-columns:1fr}body:has(.mx55-hero) .mx55-hero-visual{height:clamp(330px,58vw,430px);max-width:670px;width:100%;margin-top:2px}body:has(.mx55-hero) .mx55-photo-layout{grid-template-columns:1fr;gap:28px}body:has(.mx55-hero) .mx55-photo-stack img{height:350px}body:has(.mx55-hero) .mx55-official-inner{min-height:0}.mx3-progress{top:69px}}
@media(max-width:580px){body:has(.mx55-hero) .mx55-wrap{width:calc(100% - 36px)}body:has(.mx55-hero) .mx55-section{padding-block:52px}body:has(.mx55-hero) .mx55-hero h1{font-size:clamp(34px,10vw,45px)}body:has(.mx55-hero) .mx55-hero-inner{padding-block:43px 58px}body:has(.mx55-hero) .mx55-hero-visual{height:320px;min-height:320px}body:has(.mx55-hero) .mx55-floating-top{right:-7px}body:has(.mx55-hero) .mx55-floating-bottom{left:-7px;bottom:21px}.mx3-hero-hud{width:82px;height:82px;bottom:6px;right:5px}body:has(.mx55-hero) .mx55-hero-trust{gap:4px 9px;font-size:11px}body:has(.mx55-hero) .mx55-photo-stack img{height:300px}body:has(.mx55-hero) .mx55-sector-grid article>img{height:220px}body:has(.mx55-hero) .mx55-sector-grid article>div{min-height:0}body:has(.mx55-hero) .mx55-official-inner{padding-block:27px 35px}body:has(.mx55-hero) .mx55-official h2{max-width:100%;font-size:22px}.mx3-demo-controls{gap:8px}.mx3-demo-controls button{padding:9px 10px;font-size:12px}}
/* Accessibility user preference + OS: pause all R3 motion and reveal, without reducing readability */
@media(prefers-reduced-motion:reduce){body:has(.mx55-hero) .mx3-hero-geometry *,body:has(.mx55-hero) .mx3-hero-hud *,body:has(.mx55-hero) .mx55-hero-floating,body:has(.mx55-hero) .mx3-scroll-cue svg,body:has(.mx55-hero) .mx55-final-cta:before{animation:none!important}body.mx3-motion-on .mx3-reveal{opacity:1!important;transform:none!important;transition:none!important}body:has(.mx55-hero) .mx55-hero-visual>img,body:has(.mx55-hero) .mx55-photo-stack img{transform:none!important}}
body.mx-reading-motion .mx3-hero-geometry *,body.mx-reading-motion .mx3-hero-hud *,body.mx-reading-motion .mx55-hero-floating,body.mx-reading-motion .mx3-scroll-cue svg,body.mx-reading-motion .mx55-final-cta:before{animation:none!important}
body.mx-reading-motion .mx3-reveal{opacity:1!important;transform:none!important;transition:none!important}
body.mx-reading-motion .mx55-hero-visual,body.mx-reading-motion .mx55-hero-visual>img,body.mx-reading-motion .mx55-photo-stack img{transform:none!important}
