:root{
  --blue:#0039B3; --blue-d:#002A85; --navy:#0B192C; --red:#F2003C; --red-d:#C80032;
  --ice:#F4F7FA; --white:#fff; --text:#334155; --muted:#64748B; --line:#E2E8F0;
  --f-head:'Plus Jakarta Sans',system-ui,sans-serif; --f-body:'Inter',system-ui,sans-serif;
  --r:10px; --sh:0 10px 30px rgba(11,25,44,.08); --hh:90px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scroll-padding-top:var(--hh)}
body{font-family:var(--f-body);color:var(--text);line-height:1.65;background:var(--white);-webkit-font-smoothing:antialiased}
img,svg{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
ul,ol{list-style:none}
button,input,textarea{font:inherit}
h1,h2,h3,h4{font-family:var(--f-head);color:var(--navy);line-height:1.15}
:focus-visible{outline:3px solid var(--red);outline-offset:2px}
.wrap{width:min(1200px,100% - 40px);margin-inline:auto}

/* botões e tags */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:13px 26px;border:2px solid transparent;border-radius:999px;font-family:var(--f-head);font-weight:700;font-size:15px;cursor:pointer;transition:background .2s,transform .2s,color .2s;text-align:center}
.btn--red{background:var(--red);color:#fff}.btn--red:hover{background:var(--red-d);transform:translateY(-2px)}
.btn--outline{border-color:var(--blue);color:var(--blue);background:transparent}.btn--outline:hover{background:var(--blue);color:#fff}
.btn--sm{padding:10px 20px;font-size:14px}.btn--lg{padding:16px 34px;font-size:17px}

.pill--light{background:rgba(0,57,179,.1);color:var(--blue)}

/* header (estilo NASA: transparente sobre o hero, logo centralizado) */
.header{position:fixed;inset:0 0 auto;z-index:50;height:var(--hh);background:#000;transition:box-shadow .25s}
.header.is-scrolled,.header.is-open{box-shadow:0 2px 14px rgba(0,0,0,.45)}
.header__in{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;height:100%;padding:0 150px;gap:16px;color:#fff}
.header__l,.header__r{display:flex;align-items:center;gap:26px}
.header__r{justify-content:flex-end;gap:14px}
.logo img{width:54px;height:54px;border-radius:50%;transition:transform .2s}
.logo:hover img{transform:scale(1.06)}
.explore{display:flex;align-items:center;gap:12px;background:none;border:0;color:#fff;font-family:var(--f-head);font-weight:700;font-size:16px;cursor:pointer;padding:8px 0}
.bars{display:grid;gap:5px;width:24px}
.bars i{display:block;height:2px;background:#fff;transition:.25s}
.explore[aria-expanded=true] .bars i:nth-child(1){transform:translateY(7px) rotate(45deg)}
.explore[aria-expanded=true] .bars i:nth-child(2){opacity:0}
.explore[aria-expanded=true] .bars i:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.quick{display:flex;gap:26px;font-weight:600;font-size:15px}
.quick a{padding:6px 0;border-bottom:2px solid transparent;transition:border-color .2s}
.quick a:hover{border-color:var(--red)}
.icon-btn{background:none;border:0;color:#fff;cursor:pointer;padding:8px;border-radius:50%}
.icon-btn:hover{background:rgba(255,255,255,.16)}
.brand{display:flex;align-items:center;gap:10px}
.brand img{border-radius:50%}
.brand span{display:flex;flex-direction:column;line-height:1}
.brand b{font-family:var(--f-head);font-size:24px;font-weight:800}
.brand small{font-size:10px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;margin-top:3px}
.brand--w b{color:#fff}.brand--w small{color:#9DB8FF}

/* mega menu "Explorar" */
.mega{position:fixed;inset:var(--hh) 0 0;z-index:49;background:rgba(0,0,0,.92);backdrop-filter:blur(10px);overflow:auto;color:#fff}
.mega[hidden]{display:none}
.mega__in{width:min(1280px,100% - 56px);margin:0 auto;padding:44px 0 64px;display:grid;grid-template-columns:repeat(5,1fr);gap:36px}
.mega__in div{display:flex;flex-direction:column;gap:12px}
.mega h3{font-size:19px;padding-bottom:12px;margin-bottom:6px;border-bottom:1px solid rgba(255,255,255,.28)}
.mega h3 a{color:#fff}
.mega a{color:#d6d6d6;font-size:15px;transition:color .15s}
.mega a:hover{color:#fff;text-decoration:underline}

/* busca */
.search{position:fixed;inset:0;z-index:70;background:rgba(11,25,44,.96);display:flex;flex-direction:column;justify-content:center;align-items:center;padding:20px;color:#fff;text-align:center}
.search[hidden]{display:none}
.search__x{position:absolute;top:20px;right:28px;font-size:44px;background:none;border:0;color:#fff;cursor:pointer;line-height:1}
.search form{width:min(760px,100%)}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.search__box{display:flex;background:#fff;border-radius:6px;overflow:hidden;box-shadow:0 10px 40px rgba(0,0,0,.4)}
.search input{flex:1;min-width:0;border:0;padding:20px 22px;font-family:var(--f-body);font-size:clamp(17px,2.4vw,22px);color:#111;background:#fff}
.search input::placeholder{color:#6b7280}
.search input:focus{outline:none}
.search__box:focus-within{outline:3px solid var(--red)}
.search__box button{flex:none;width:68px;border:0;background:var(--red);color:#fff;cursor:pointer;display:grid;place-items:center}
.search__box button:hover{background:var(--red-d)}
.search p{margin-top:28px;display:flex;gap:10px 18px;flex-wrap:wrap;justify-content:center;font-size:15px;color:#cbd5e1}
.search p a{text-decoration:underline}

/* hero (estilo NASA: tela cheia, degradê escuro e destaques translúcidos) */
.hero{position:relative;height:680px;margin:var(--hh) 0 0;display:flex;flex-direction:column;justify-content:center;background:#050912;color:#fff;padding:32px 0;overflow:hidden}
.hero::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(5,9,18,.92) 0%,rgba(5,9,18,.68) 55%,rgba(5,9,18,.55) 100%);pointer-events:none}
.hero__bg{position:absolute;inset:0}
.hero__video,.hero__img{width:100%;height:100%;object-fit:cover;display:block}
.hero__in{position:relative;z-index:1}
.hero--page .hero__in{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}
.hero--page h1{max-width:20em;margin-inline:auto}

/* conteúdo interno das páginas */
.page-content{max-width:860px;margin-inline:auto;font-size:18px;line-height:1.8;color:var(--text)}
.page-content h2{font-size:clamp(24px,3vw,34px);font-weight:800;margin:36px 0 16px;color:var(--navy)}
.page-content h2:first-child{margin-top:0}
.page-content p{margin-bottom:20px}
.page-content ul{display:grid;gap:12px;margin:24px 0 28px;padding-left:0}
.page-content li{position:relative;padding-left:26px}
.page-content li::before{content:"";position:absolute;left:0;top:12px;width:10px;height:10px;border-radius:50%;background:var(--red)}
.hero .wrap{width:100%;margin:0;padding-inline:150px}
.hero h1{color:#fff;font-size:clamp(30px,4vw,50px);font-weight:800;max-width:15em;letter-spacing:-.02em}
.hero__sub{max-width:44em;font-size:clamp(15px,1.5vw,17px);margin:16px 0 22px;color:#e5ecff}
.hero__micro{margin-top:16px;font-size:14px;color:#b9c9f5;font-style:italic}

/* tecnologias */
.tech{background:#fff;border-bottom:1px solid var(--line)}
.tech__in{display:flex;align-items:center;gap:30px 50px;flex-wrap:wrap;padding:30px 0}
.tech p{font-size:14px;font-weight:600;color:var(--muted);max-width:14em}
.tech ul{display:flex;gap:28px 46px;flex-wrap:wrap;align-items:center;flex:1}
.tech .clone{display:none}
.tech img{height:28px;width:auto;filter:grayscale(1);opacity:.75;transition:.2s}
.tech img.tech__lg{height:30.8px}
.tech img:hover{filter:none;opacity:1}
.tech .alt{font-family:var(--f-head);font-weight:700;color:var(--muted);font-size:18px}
@keyframes techSlide{to{transform:translate3d(-50%,0,0)}}

/* seções */
.sec{padding:96px 0}
.sec--ice{background:var(--ice)}
.sec--pull{padding:64px 0 0}
.head{max-width:760px;margin-bottom:48px}
.head h2,.about h2,.final h2{font-size:clamp(28px,3.8vw,44px);font-weight:800;letter-spacing:-.01em}
.head p{margin-top:16px;font-size:18px}
.head--row{max-width:none;display:flex;justify-content:space-between;align-items:flex-end;gap:24px;flex-wrap:wrap}
.head--row h2{max-width:20em}
.center{text-align:center;margin-top:48px}
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.card{background:#fff;border-radius:var(--r);padding:28px 24px;box-shadow:var(--sh);border-top:4px solid var(--blue);transition:transform .2s,border-color .2s}
.card:hover{transform:translateY(-5px);border-color:var(--red)}
.card h3{font-size:19px;margin:16px 0 10px}
.card__head{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.card__head h3{margin:0;line-height:1.25}
.card__ico{flex:0 0 36px;width:36px;height:36px;object-fit:contain}
.card p{font-size:15px}
.card--lg{padding:34px 30px}
.card--tall{grid-row:span 2;display:flex;flex-direction:column;justify-content:center}
.ico{width:34px;height:34px;color:var(--blue)}
.cards5{display:grid;grid-template-columns:repeat(5,1fr);gap:18px}

/* sobre */
.about{display:grid;grid-template-columns:1.1fr 1fr;gap:64px;align-items:start}
.about h2{margin-bottom:22px}
.about p{margin-bottom:14px}
.checks{display:grid;gap:22px;margin-bottom:30px}
.checks li{display:flex;gap:14px}
.checks svg{flex:none;width:28px;height:28px;padding:5px;border-radius:50%;background:var(--red);color:#fff;margin-top:2px}
.checks b{display:block;font-family:var(--f-head);color:var(--navy);font-size:18px;margin-bottom:4px}
.callout{background:var(--navy);color:#fff;border-radius:var(--r);padding:28px;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.callout p{font-family:var(--f-head);font-weight:700;font-size:20px;margin:0;max-width:14em;line-height:1.3}

/* metodologia */
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:0;counter-reset:s}
.steps li{counter-increment:s;position:relative;padding:34px 28px 10px 0;border-top:3px solid var(--line)}
.steps li::before{content:counter(s);position:absolute;top:-3px;left:0;width:56px;border-top:3px solid var(--red)}
.steps li+li{padding-left:28px}.steps li+li::before{left:28px}
.steps li::after{content:counter(s,decimal-leading-zero);display:block;font-family:var(--f-head);font-weight:800;font-size:44px;color:var(--blue);order:-1;position:absolute;top:-4px;right:20px;opacity:.1}
.steps h3{font-size:20px;margin-bottom:10px}

/* números */
.stats{background:var(--navy);color:#fff}
.stats__in{display:grid;grid-template-columns:repeat(4,1fr);gap:30px;padding:64px 0}
.stats b{display:block;font-family:var(--f-head);font-size:clamp(28px,3.4vw,44px);font-weight:800;line-height:1.1;color:#fff}
.stats p{margin-top:10px;color:#9DB8FF;font-size:15px;max-width:15em}
.stats div{border-left:3px solid var(--red);padding-left:20px}

/* setores */
.sector{border:1px solid var(--line);border-radius:var(--r);padding:30px;background:#fff}
.sector h3{font-size:21px;padding-bottom:16px;margin-bottom:16px;border-bottom:3px solid var(--blue)}
.sector li{padding:10px 0 10px 24px;position:relative;border-bottom:1px solid var(--line);font-size:15px}
.sector li:last-child{border:0}
.sector li::before{content:"";position:absolute;left:0;top:19px;width:10px;height:10px;border-radius:50%;background:var(--red)}

/* depoimentos */
.quote{background:#fff;border-radius:var(--r);padding:30px;box-shadow:var(--sh);display:flex;flex-direction:column;gap:22px;justify-content:space-between}
.quote blockquote{font-size:17px;color:var(--navy)}
.quote figcaption{font-size:14px;color:var(--muted)}
.quote figcaption b{display:block;color:var(--navy);font-family:var(--f-head);font-size:16px}
.res{display:block;margin-top:14px;padding:8px 12px;background:var(--ice);border-left:3px solid var(--red);color:var(--navy);font-weight:600}

/* blog */
.post{display:flex;flex-direction:column;background:#fff;border-radius:var(--r);overflow:hidden;box-shadow:var(--sh);transition:transform .2s}
.post:hover{transform:translateY(-5px)}
.post:hover h3{color:var(--blue)}
.post__img{aspect-ratio:16/10;background:linear-gradient(135deg,var(--navy),var(--blue));position:relative}
.post__img::after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(90deg,rgba(255,255,255,.06) 0 1px,transparent 1px 40px),repeating-linear-gradient(0deg,rgba(255,255,255,.06) 0 1px,transparent 1px 40px)}
.p2{background:linear-gradient(135deg,var(--blue),#0A2A6B)}.p3{background:linear-gradient(135deg,#0A2A6B,var(--red))}
.post__b{padding:24px}
.post small{font-size:13px;font-weight:600;color:var(--red)}
.post h3{font-size:19px;line-height:1.35;margin-top:10px;transition:color .2s}

/* CTA final */
.final{background:linear-gradient(120deg,var(--blue-d),var(--blue));color:#fff;text-align:center;padding:96px 0}
.final h2{color:#fff;max-width:20em;margin:0 auto 20px}
.final p{max-width:40em;margin:0 auto 32px;font-size:18px;color:#dbe5ff}

/* rodapé (estilo NASA) */
.footer{background:#000;color:#b9bcc4;font-size:15px;padding:64px 0 56px}
.footer .wrap{width:100%;margin:0;padding-inline:150px}
.footer a:hover{color:#fff;text-decoration:underline}
.footer__logo{margin-bottom:36px}
.footer__logo img{width:64px;height:64px;border-radius:50%}
.footer__top{display:grid;grid-template-columns:1.25fr 2.6fr .95fr;gap:48px;padding-bottom:44px;align-items:start}
.footer__brand h3{color:#fff;font-size:22px;font-weight:700;line-height:1.3;margin-bottom:14px}
.footer__brand p{color:#b9bcc4;font-size:15px;line-height:1.65;margin-bottom:14px;max-width:25em}
.footer__brand address{font-style:normal;color:#94a3b8;font-size:14px;margin-bottom:18px}
.footer__cta{display:inline-flex;align-items:center;gap:10px;color:#fff;font-family:var(--f-head);font-weight:700;font-size:16px}
.footer__cta i{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--red);color:#fff;font-style:normal;font-size:13px;line-height:1;transition:transform .2s}
.footer__cta:hover i{transform:translateX(3px)}
.footer__cols{display:grid;grid-template-columns:repeat(4,1fr);gap:32px}
.footer__cols div{display:flex;flex-direction:column;gap:13px}
.footer__cols h4{color:#fff;font-size:15px;font-weight:700;margin-bottom:2px}
.footer__cols a{color:#fff;font-weight:500;font-size:15px}
.footer__follow{display:flex;flex-direction:column;gap:14px}
.footer__follow h4{color:#94a3b8;font-size:15px;font-weight:600;margin:0}
.social-icons{display:flex;gap:10px;margin-bottom:4px}
.social-icons a{width:34px;height:34px;border-radius:50%;background:#262629;color:#fff;display:grid;place-items:center;transition:background .2s}
.social-icons a:hover{background:#3f3f46;text-decoration:none}
.footer__sublink{color:#fff;font-size:14px;font-weight:500}
.footer__legal{display:flex;flex-wrap:wrap;gap:12px 28px;padding:24px 0;border-top:1px solid rgba(255,255,255,.18);font-size:14px;color:#b9bcc4}
.footer__bot{display:flex;flex-wrap:wrap;gap:10px 32px;padding-top:4px;font-size:14px;color:#94a3b8}
.footer__bot b{color:#fff;font-weight:700}

/* modal */
.modal{border:0;border-radius:14px;padding:0;width:min(480px,calc(100% - 32px));margin:auto;box-shadow:0 30px 80px rgba(0,0,0,.35)}
.modal::backdrop{background:rgba(11,25,44,.7);backdrop-filter:blur(3px)}
.modal form{padding:36px 32px 32px;display:grid;gap:16px;position:relative}
.modal h2{font-size:26px;padding-right:30px}
.modal label{display:grid;gap:6px;font-size:14px;font-weight:600;color:var(--navy)}
.modal input,.modal textarea{padding:12px 14px;border:1.5px solid var(--line);border-radius:8px;color:var(--text);resize:vertical}
.modal input:focus,.modal textarea:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px rgba(0,57,179,.15)}
.modal .invalid{border-color:var(--red)}
.modal__x{position:absolute;top:10px;right:16px;font-size:32px;background:none;border:0;cursor:pointer;color:var(--muted);line-height:1}
.err{color:var(--red);font-size:14px;font-weight:600}

/* responsivo */
@media(max-width:1280px){.hero .wrap,.footer .wrap{padding-inline:60px}}
@media(max-width:1100px){
  .hero{height:auto;min-height:680px}
  .cards5{grid-template-columns:repeat(3,1fr)}
  .footer__top{grid-template-columns:1fr;gap:36px}
  .footer__cols{grid-template-columns:repeat(4,1fr)}
  .quick{gap:18px;font-size:14px}
  .mega__in{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:960px){
  .hero .wrap,.footer .wrap{padding-inline:24px}
  .quick,.header__r .btn{display:none}
  .header__in{padding:0 16px}
  .logo img{width:56px;height:56px}
  .mega__in{grid-template-columns:1fr 1fr}
  .tech{--visible:3;overflow:hidden}
  .tech__in{flex-direction:column;align-items:flex-start;gap:20px;overflow:hidden}
  .tech p{max-width:none}
  .tech ul{flex:none;flex-wrap:nowrap;gap:0;width:calc(100% * 10 / var(--visible));animation:techSlide 14s linear infinite}
  .tech li{flex:0 0 10%;max-width:10%;display:flex;justify-content:center;align-items:center;padding-inline:12px}
  .tech .clone{display:flex}
  .tech img{max-width:100%;height:auto;max-height:28px;object-fit:contain}
  .tech img.tech__lg{max-height:30.8px}
  .about{grid-template-columns:1fr;gap:40px}
  .grid3{grid-template-columns:1fr 1fr}
  .steps{grid-template-columns:1fr 1fr;row-gap:30px}
  .steps li:nth-child(odd){padding-left:0}.steps li:nth-child(odd)::before{left:0}
  .steps li:nth-child(even){padding-left:28px}
  .stats__in{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
  .sec{padding:64px 0}
  .hero{padding-top:48px}
  .hero .wrap,.footer .wrap{padding-inline:20px}
  .mega__in{grid-template-columns:1fr}
  .tech{--visible:2}
  .cards5,.grid3,.steps,.stats__in{grid-template-columns:1fr}
  .card--tall{grid-row:auto}
  .steps li,.steps li+li,.steps li:nth-child(even){padding-left:0}
  .steps li+li::before,.steps li:nth-child(even)::before{left:0}
  .footer__cols{grid-template-columns:1fr 1fr}
  .btn--lg{width:100%}
}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
