/* FNM Studio 2027 · revisão 03. Camada independente, leve e sem bibliotecas. */
:root{--fnm-orange:#ff874b;--fnm-blue:#092f55}
html{scroll-behavior:smooth}html,body{overflow-x:clip}section[id],main[id]{scroll-margin-top:105px}
.site-header .nav{gap:15px}.site-header .nav-right{margin-left:auto}.site-header .nav-right .btn{font-size:.78rem}.nav-social{display:none!important}
body{overflow-wrap:break-word}h1,h2,h3{text-wrap:balance;overflow-wrap:normal}p{text-wrap:pretty}
/* Product rail: preserve automatic motion and provide easy direct drag/scroll with mouse. */
.product-rail{scroll-snap-type:none;cursor:grab;touch-action:pan-y;user-select:none;overscroll-behavior-x:contain;padding:14px 6px 30px}
.product-rail.is-dragging{cursor:grabbing;scroll-behavior:auto}.product-rail.is-dragging a{pointer-events:none}
.product-panel{flex-basis:clamp(230px,19.1vw,278px);min-height:500px;overflow:hidden;position:relative;isolation:isolate;background:linear-gradient(165deg,white,#f9fcff);border-color:#dce9f2;transition:transform .3s,box-shadow .3s,border-color .3s}
.product-panel:before{content:'';position:absolute;inset:0;z-index:-1;background:radial-gradient(350px circle at var(--mx,50%) var(--my,20%),color-mix(in srgb,var(--paccent) 17%,transparent),transparent 75%);opacity:0;transition:opacity .2s}
.product-panel:hover:before,.product-panel:focus-within:before{opacity:1}.product-panel:hover{transform:translateY(-9px);box-shadow:0 24px 40px #0725422c;border-color:color-mix(in srgb,var(--paccent) 50%,#deebf6)}
.product-logo-link{background:transparent!important;padding:4px 1px!important}.product-logo-link img{max-height:67px;max-width:95%;filter:drop-shadow(0 2px 5px #0d34531c)}
.product-shot{height:158px;border:0;background:#0c2545;border-radius:14px;box-shadow:0 7px 15px #0b284521}
.product-shot img{width:100%;height:100%;object-fit:cover;object-position:center!important;transition:transform .62s cubic-bezier(.2,.7,.15,1)}.product-panel:hover .product-shot img{transform:scale(1.105)}
.product-shot>span{bottom:8px;right:8px;font-size:.54rem;background:#052a4cc9;border-radius:6px;padding:5px 7px;letter-spacing:.015em}
.product-panel h3{font-size:1.08rem}.product-internal-link{font-size:.74rem;text-decoration:none;color:#0d669a;font-weight:800;align-self:flex-start;margin-top:auto;margin-bottom:-3px}.product-internal-link:hover{text-decoration:underline}
.product-cta{margin-top:5px;transition:background .2s,transform .2s}.product-cta:hover{background:var(--paccent);transform:translateY(-2px);color:#08233e}
.rail-shell{position:relative}.rail-shell:after{content:'Arraste para explorar  •  Use as setas';font-size:.72rem;color:#6b879f;display:block;text-align:center;letter-spacing:.02em;margin-top:2px}
/* Cards show an animated ambient layer and lively parallax, but content remains visible to search crawlers. */
.service-card{position:relative;isolation:isolate;overflow:hidden;min-height:225px;transition:transform .3s cubic-bezier(.2,.8,.2,1),box-shadow .3s,border-color .3s}
.service-card:before{content:'';position:absolute;z-index:-1;inset:0;background:radial-gradient(220px circle at var(--sx,50%) var(--sy,50%),#ff975254,transparent 70%);opacity:0;transition:opacity .25s}
.service-card:after{content:'';position:absolute;bottom:-55px;right:-50px;height:130px;width:130px;border:20px solid #ff86400f;border-radius:50%;transition:transform .45s,border-color .45s}
.service-card:hover,.service-card:focus-visible{transform:translateY(-10px);border-color:#ffac7c;box-shadow:0 22px 36px #083b611e}
.service-card:hover:before,.service-card:focus-visible:before{opacity:1}.service-card:hover:after{transform:scale(1.5);border-color:#ff86402b}
.service-card .service-icon{transition:transform .3s,color .3s}.service-card:hover .service-icon{transform:translateY(-4px) rotate(-8deg) scale(1.16);color:var(--fnm-orange)}
.service-card em{transition:transform .25s}.service-card:hover em{transform:translateX(6px)}
/* Orbit really moves: rings rotate in opposite directions, individual nodes bob naturally. */
.orbital-tracks{animation:fnmSpin 33s linear infinite;transform-origin:center}
.orbital-tracks:before{animation:fnmSpin 23s linear infinite reverse;transform-origin:center}
.orbital-tracks:after{animation:fnmSpin 20s linear infinite}
.ecosystem-core{animation:fnmGlow 5.5s ease-in-out infinite;position:relative}
.ecosystem-core:after{content:'';position:absolute;inset:-13px;border:1px dashed #8de5ff5b;border-radius:50%;animation:fnmSpin 24s linear infinite}
.orbit-node{animation:fnmFloat 4.5s ease-in-out infinite;box-shadow:0 10px 25px #0005,0 0 14px #06b4ff20;will-change:transform}
.orbit-node:nth-of-type(odd){animation-delay:-2s}.orbit-node:nth-of-type(3n){animation-duration:5.3s}.orbit-node:hover{animation-play-state:paused;transform:translateY(-5px) scale(1.08)!important;background:#1677b6;border-color:#9eeafa}
@keyframes fnmSpin{to{transform:rotate(345deg)}}@keyframes fnmFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-11px)}}@keyframes fnmGlow{0%,100%{box-shadow:0 0 43px #23acff59}50%{box-shadow:0 0 78px #23c6ff8a}}
/* Method steps. connected, tactile and light on mobile. */
.method-steps>*{position:relative;transition:transform .3s ease,box-shadow .3s ease,background .3s ease;border:1px solid #e3edf5}
.method-steps>*:hover{transform:translateY(-7px);box-shadow:0 14px 27px #0d355321;background:linear-gradient(160deg,#fff,#e4f6ff)}
/* Mascot follower is unobtrusive and may be switched off by visitor. */
.cursor-mascot{z-index:90!important;display:block;pointer-events:none;width:47px!important;height:54px!important;opacity:0;filter:drop-shadow(0 5px 5px #0003)}
.cursor-mascot img{max-width:100%;max-height:100%;object-fit:contain}.mascot-toggle{cursor:pointer}
/* Better wordmark transparency while preserving exact branding supplied by FNM. */
.product-detail-logo{background:transparent!important;box-shadow:none!important;padding:0!important;max-width:260px;max-height:100px;filter:drop-shadow(0 1px 5px #eefaffaa)}
.product-detail-shot{background:linear-gradient(140deg,#103c60,#092039);padding:10px}.product-detail-shot img{aspect-ratio:16/9;object-fit:cover}.product-detail-shot span{color:#f1f7fb}
.product-official-link{margin-top:18px}.product-detail-hero{padding:75px 0}
/* Specialty cards: interactive image movement and focused card. */
.specialty-card img{transition:transform .45s,filter .4s;transform:scale(1.01)}
.specialty-card.is-active img,.specialty-card:hover img{transform:scale(1.065)}
.specialty-card.is-active{box-shadow:0 27px 50px #05325a61,0 0 0 3px #ff8c47a6!important}
.specialty-card:hover .specialty-txt strong{text-shadow:0 0 12px #fff8}.specialties-stage{touch-action:pan-y}
/* Text edits for proposed specialties and landing pages. */
#especialidades .showcase-head p{font-size:1.09rem;line-height:1.7;max-width:620px}
.service-card small{font-size:.82rem;line-height:1.6}.specialty-differentiator{color:#d7ebfa!important;font-size:1.02rem!important;line-height:1.6;max-width:670px;border-left:3px solid #ff8b48;padding-left:16px;margin-top:10px}
.live-cover{height:200px}.live-cover img{object-fit:cover}.live-post-body h3{font-size:1.08rem;line-height:1.42}.live-post-body{gap:10px}
.live-post-body .post-excerpt{font-size:.88rem;color:#58728a;line-height:1.6;margin:0}
.video-local-note{margin:10px 0 0;font-size:.83rem;color:#5c7b94}.video-local-note a{font-weight:800;color:#096ca0}
/* Reduced motion disables nonessential autoplay, while controls remain functional. */
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}.orbital-tracks,.orbital-tracks:before,.orbital-tracks:after,.orbit-node,.ecosystem-core,.ecosystem-core:after{animation:none!important}.product-panel,.product-shot img,.service-card,.specialty-card img{transition:none!important}}
@media(max-width:1120px){.nav-right{margin-left:0}}
@media(max-width:790px){.product-rail{touch-action:pan-x pan-y;scroll-snap-type:x mandatory}.product-panel{scroll-snap-align:center;min-height:470px}.product-shot{height:175px}.rail-shell:after{content:'Deslize para ver os sistemas  •  Use as setas'}.service-card{min-height:188px}.orbital-tracks{animation-duration:48s}.ecosystem-core:after{animation-duration:38s}}
@media(max-width:560px){.site-header .nav{min-height:66px}.hero-message h1{font-size:clamp(2.1rem,8.8vw,3.2rem)!important;line-height:1.13;letter-spacing:-.048em}.hero-v2{padding-top:46px!important}.hero-message p{line-height:1.67!important}.hero-message h1,.landing-hero h1{word-break:normal;hyphens:auto}.product-panel{flex-basis:min(300px,83vw);min-height:465px}.product-shot{height:180px}.showcase-head h2{font-size:clamp(2rem,9vw,2.7rem)}.service-card{min-height:180px}.service-icon{margin-bottom:9px}.service-card small{font-size:.79rem}.ecosystem-orbit{min-height:330px}.live-post-grid{grid-template-columns:1fr}.live-cover{height:185px}.landing-hero{padding-top:42px}.landing-hero h1{line-height:1.13}.landing-visual{height:235px}.specialty-differentiator{font-size:.95rem!important}.product-detail-shot{padding:7px}}
/* Correção: os quatro passos do método usam .method-stages, não .method-steps. */
.method-stages{position:relative;isolation:isolate}
.method-stages:before{content:'';position:absolute;z-index:-1;left:9%;right:9%;height:2px;top:50%;background:linear-gradient(90deg,#ff914b,#15b6df,#ff914b);background-size:180% 100%;animation:fnmMethod 6s ease-in-out infinite;box-shadow:0 0 16px #0aaad64d}
.method-stages .method-stage{position:relative;overflow:hidden;border:1px solid #dceaf4;transition:transform .34s,background .3s,box-shadow .3s;isolation:isolate}
.method-stages .method-stage:after{content:'';position:absolute;inset:0;background:radial-gradient(circle at 50% 130%,#18a3e238,transparent 73%);opacity:0;z-index:-1;transition:opacity .3s}
.method-stages .method-stage:hover{transform:translateY(-10px);background:#e7f7ff;box-shadow:0 18px 35px #0b375b27;border-color:#58bee0}
.method-stages .method-stage:hover:after{opacity:1}.method-stages .method-stage b{transition:transform .3s,color .3s}
.method-stages .method-stage:hover b{transform:translateY(-3px) scale(1.08);color:#f37e3b}
@keyframes fnmMethod{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
@media(prefers-reduced-motion:reduce){.method-stages:before{animation:none!important}}
@media(max-width:560px){.method-stages:before{display:none}.method-stages .method-stage{padding:10px 5px;min-height:82px}}
.service-icon{width:51px;height:51px;border-radius:15px;display:grid;place-items:center;background:linear-gradient(145deg,#edf7ff,#fff0e6);border:1px solid #dcebf5;color:#0b4d81;box-shadow:0 5px 12px #093e5f12}.service-card:hover .service-icon{box-shadow:0 9px 23px #f9814424;background:#fff5eb}
