:root{
  --navy:#020B18;
  --navy-soft:#071827;
  --primary:#00D2E9;
  --primary-dark:#00AFC4;
  --primary-soft:#E8FBFE;
  --white:#FFFFFF;
  --light:#F6F9FB;
  --light-blue:#EEF7FA;
  --text:#172533;
  --text-soft:#5F6B76;
  --border:#E3EBEF;
  --shadow:0 18px 50px rgba(2,11,24,.08);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:90px}
body{
  margin:0;
  background:var(--white);
  color:var(--text);
  font-family:Inter,Arial,sans-serif;
  line-height:1.6;
  overflow-x:hidden;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{width:min(1180px,calc(100% - 40px));margin:auto}
.skip-link{position:absolute;left:-9999px}
.skip-link:focus{left:20px;top:20px;z-index:999;background:var(--primary);color:var(--navy);padding:10px 16px;border-radius:6px}

.site-header{
  position:sticky;top:0;z-index:100;
  background:rgba(2,11,24,.96);
  backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.nav-wrapper{height:78px;display:flex;align-items:center;justify-content:space-between;gap:25px}
.brand{display:flex;align-items:center;gap:10px;font-family:Orbitron,Inter,sans-serif;font-weight:700;white-space:nowrap}
.brand-symbol{font-size:1.8rem;color:var(--primary);font-weight:700;letter-spacing:-5px}
.brand-name{font-size:1.02rem;color:var(--white)}.brand-name strong{color:var(--primary)}
.main-nav{display:flex;align-items:center;gap:26px;color:#C4CED5;font-size:.92rem}
.main-nav a{transition:.25s}.main-nav a:hover{color:var(--primary)}
.nav-cta{
  border:1px solid rgba(0,210,233,.65);
  color:var(--primary)!important;
  padding:9px 15px;border-radius:7px;
}
.nav-cta:hover{background:rgba(0,210,233,.12);color:var(--primary)!important}
.menu-toggle{display:none;background:none;border:0;padding:8px;cursor:pointer}
.menu-toggle span{display:block;width:25px;height:2px;background:var(--white);margin:5px}

.hero{
  position:relative;padding:100px 0 70px;
  background:
    radial-gradient(circle at 83% 25%,rgba(0,210,233,.14),transparent 30%),
    #020B18;
  overflow:hidden;
}
.hero:after{
  content:"";position:absolute;width:500px;height:500px;border-radius:50%;
  border:1px solid rgba(0,210,233,.06);right:-220px;bottom:-300px;
}
.hero-grid{
  display:grid;grid-template-columns:1.05fr .95fr;gap:70px;
  align-items:center;min-height:600px;position:relative;z-index:1
}
.eyebrow{font-size:.76rem;letter-spacing:2px;color:var(--primary);font-weight:700;margin:0 0 18px}
.eyebrow{display:flex;align-items:center;gap:10px}.eyebrow span{width:34px;height:2px;background:var(--primary)}
h1,h2,h3{line-height:1.14;margin-top:0}
h1{
  font-size:clamp(2.7rem,5vw,5rem);letter-spacing:-2px;
  max-width:760px;margin-bottom:24px;color:var(--white)
}
h1 span{color:var(--primary)}
.hero-description{font-size:1.08rem;color:#AEBCC6;max-width:670px}
.hero-actions{display:flex;gap:14px;margin:32px 0}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:14px;padding:14px 21px;border-radius:7px;font-weight:700;font-size:.93rem;transition:.25s}
.btn-primary{background:var(--primary);color:#001018;box-shadow:0 10px 30px rgba(0,210,233,.18)}
.btn-primary:hover{transform:translateY(-2px);background:#31DEEF}
.btn-secondary{border:1px solid rgba(255,255,255,.16);color:var(--white);background:transparent}
.btn-secondary:hover{border-color:var(--primary);color:var(--primary)}
.hero-highlights{
  padding:0;margin:35px 0 0;list-style:none;display:flex;flex-wrap:wrap;
  gap:10px 24px;color:#82929E;font-size:.87rem
}
.hero-highlights li:before{content:"✓";color:var(--primary);margin-right:7px}

.hero-visual{position:relative;min-height:390px;display:flex;align-items:center}
.code-window{
  position:relative;z-index:2;width:100%;
  background:linear-gradient(145deg,#0A1D2E,#061522);
  border:1px solid rgba(0,210,233,.17);
  border-radius:14px;padding:0 28px 28px;
  box-shadow:0 25px 70px rgba(0,0,0,.28);
}
.window-bar{height:58px;display:flex;align-items:center;gap:8px;border-bottom:1px solid rgba(255,255,255,.06);margin-bottom:22px}
.window-bar i{width:10px;height:10px;border-radius:50%;background:var(--primary);opacity:.85}
.window-bar i:nth-child(2){opacity:.5}.window-bar i:nth-child(3){opacity:.25}
pre{margin:0;white-space:pre-wrap;overflow:auto;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:clamp(.78rem,1.5vw,1rem);line-height:1.9;color:#9AAAB6}
.cyan{color:var(--primary)}.blue{color:#74B8FF}.text{color:#A6E3A1}.white{color:#FFFFFF}.green{color:#7EE787}
.glow{position:absolute;border-radius:50%;filter:blur(60px);opacity:.18}
.glow-one{width:230px;height:230px;background:var(--primary);right:-50px;top:-20px}
.glow-two{width:160px;height:160px;background:#0076FF;left:-60px;bottom:-30px}

@media(max-width:900px){
  .menu-toggle{display:block}
  .main-nav{
    position:absolute;top:78px;left:0;right:0;background:#020B18;
    display:none;flex-direction:column;align-items:stretch;padding:20px;
    border-bottom:1px solid rgba(0,210,233,.16);box-shadow:0 20px 40px rgba(0,0,0,.25);
  }
  .main-nav.open{display:flex}.main-nav a{padding:10px}.nav-cta{text-align:center}
  .hero{padding-top:70px}.hero-grid,.two-columns{grid-template-columns:1fr;gap:50px}
  .hero-visual{max-width:650px;margin:auto;width:100%}
  .services-grid{grid-template-columns:repeat(2,1fr)}
  .tech-grid{grid-template-columns:repeat(2,1fr)}
  .process-list{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:620px){
  .container{width:min(100% - 28px,1180px)}
  .nav-wrapper{height:68px}.brand-symbol{font-size:1.5rem}.brand-name{font-size:.84rem}.main-nav{top:68px}
  .hero{padding:65px 0 55px}.hero-grid{min-height:auto}
  .hero-actions{flex-direction:column;align-items:stretch}.btn{width:100%}
  .hero-highlights{display:block}.hero-highlights li{margin-bottom:8px}
  .code-window{padding:0 18px 20px}
}
.stats{border-top:1px solid var(--border);border-bottom:1px solid var(--border);background:var(--white)}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr)}
.stats-grid div{padding:28px;border-right:1px solid var(--border)}
.stats-grid div:last-child{border:0}
.stats-grid strong{display:block;color:var(--primary-dark);font-size:1.05rem}
.stats-grid span{font-size:.8rem;color:var(--text-soft)}

.section{padding:110px 0}
.about{background:var(--white)}
.two-columns{display:grid;grid-template-columns:.9fr 1.1fr;gap:100px}
.section h2{font-size:clamp(2rem,4vw,3.35rem);letter-spacing:-1.4px;max-width:760px;color:var(--navy)}
.section-text{color:var(--text-soft);font-size:1.03rem}
.section-text p:first-child{margin-top:0}

.services{background:var(--light)}
.section-heading{display:flex;justify-content:space-between;gap:50px;align-items:end;margin-bottom:45px}
.section-heading>p{max-width:410px;color:var(--text-soft);margin:0}
.centered{text-align:center;justify-content:center}
.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.service-card{
  position:relative;padding:31px;background:var(--white);
  border:1px solid var(--border);border-radius:10px;min-height:285px;
  transition:.3s;
}
.service-card:hover{transform:translateY(-6px);border-color:rgba(0,210,233,.65);box-shadow:var(--shadow)}
.service-number{position:absolute;right:22px;top:20px;color:#C5D1D7;font-weight:700}
.service-icon{color:var(--primary-dark);font-size:1.45rem;font-family:Orbitron,sans-serif;margin-bottom:38px}
.service-card h3{font-size:1.22rem;color:var(--navy)}
.service-card p{color:var(--text-soft);font-size:.92rem}

.technologies{
  background:linear-gradient(135deg,#061827 0%,#0A2534 100%);
  color:var(--white);
}
.technologies .section-tag{color:var(--primary)}
.technologies h2{color:var(--white)}
.tech-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-top:45px}
.tech-card{
  padding:27px 22px;border:1px solid rgba(255,255,255,.09);
  border-top:2px solid var(--primary);background:rgba(255,255,255,.04);
  border-radius:8px;
}
.tech-card h3{font-size:1rem;margin-bottom:8px;color:var(--white)}
.tech-card p{margin:0;color:#A9BBC5;font-size:.85rem}

.process{background:var(--white)}
.process-list{list-style:none;padding:0;margin:55px 0 0;display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.process-list li{border-top:2px solid #DCE8EC;padding-top:25px}
.process-list li:hover{border-color:var(--primary)}
.process-list span{font-family:Orbitron,sans-serif;color:var(--primary-dark);font-size:.85rem}
.process-list h3{margin:14px 0 9px;font-size:1.1rem;color:var(--navy)}
.process-list p{color:var(--text-soft);font-size:.9rem;margin:0}

.cta-section{padding:90px 0;background:var(--light-blue)}
.cta-box{
  display:flex;align-items:center;justify-content:space-between;gap:60px;padding:55px;
  border:1px solid #D5EBEF;background:var(--white);border-radius:14px;
  box-shadow:var(--shadow);
}
.cta-box h2{font-size:clamp(2rem,4vw,3.1rem);max-width:720px;margin-bottom:12px;color:var(--navy)}
.cta-box p:not(.section-tag){color:var(--text-soft);margin-bottom:0}
.contact-actions{display:flex;flex-direction:column;align-items:flex-start;gap:16px;min-width:220px}
.contact-link{color:var(--primary-dark);font-size:.9rem;font-weight:600}

.site-footer{padding:55px 0 0;background:var(--navy);color:var(--white)}
.footer-content{display:flex;justify-content:space-between;gap:40px;padding-bottom:40px}
.footer-brand .brand-name{color:var(--white)}
.footer-brand .brand-symbol{color:var(--primary)}
.footer-brand .brand-name strong{color:var(--primary)}
.footer-content p{color:#8FA1AC;max-width:390px;font-size:.88rem}
.footer-links{display:flex;gap:24px;align-items:flex-start;color:#AAB8C0;font-size:.88rem}
.footer-links a:hover{color:var(--primary)}
.footer-bottom{border-top:1px solid rgba(255,255,255,.08);padding:18px 0;display:flex;justify-content:space-between;color:#6F828D;font-size:.78rem}

.back-to-top{
  position:fixed;right:22px;bottom:22px;width:42px;height:42px;
  border:0;border-radius:50%;background:var(--primary-dark);color:var(--white);
  cursor:pointer;opacity:0;visibility:hidden;transform:translateY(10px);transition:.25s;
  box-shadow:0 10px 25px rgba(0,175,196,.22);
}
.back-to-top.visible{opacity:1;visibility:visible;transform:none}

@media(max-width:900px){
  .menu-toggle{display:block}
  .main-nav{
    position:absolute;top:78px;left:0;right:0;background:var(--white);
    display:none;flex-direction:column;align-items:stretch;padding:20px;
    border-bottom:1px solid var(--border);box-shadow:var(--shadow);
  }
  .main-nav.open{display:flex}.main-nav a{padding:10px}.nav-cta{text-align:center}
  .hero{padding-top:70px}.hero-grid,.two-columns{grid-template-columns:1fr;gap:50px}
  .hero-visual{max-width:650px;margin:auto;width:100%}
  .services-grid{grid-template-columns:repeat(2,1fr)}
  .tech-grid{grid-template-columns:repeat(2,1fr)}
  .process-list{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:620px){
  .container{width:min(100% - 28px,1180px)}
  .nav-wrapper{height:68px}.brand-symbol{font-size:1.5rem}.brand-name{font-size:.84rem}.main-nav{top:68px}
  .hero{padding:65px 0 55px}.hero-grid{min-height:auto}
  .hero-actions{flex-direction:column;align-items:stretch}.btn{width:100%}
  .hero-highlights{display:block}.hero-highlights li{margin-bottom:8px}
  .code-window{padding:0 18px 20px}
  .stats-grid{grid-template-columns:repeat(2,1fr)}
  .stats-grid div:nth-child(2){border-right:0}.stats-grid div{padding:20px 15px}
  .section{padding:75px 0}
  .section-heading,.cta-box,.footer-content,.footer-bottom{flex-direction:column;align-items:flex-start;gap:25px}
  .services-grid,.tech-grid,.process-list{grid-template-columns:1fr}
  .cta-section{padding:55px 0}.cta-box{padding:32px 24px}.footer-links{flex-wrap:wrap}
}


/* Logotipo oficial: imagem preservando a proporção original */
.brand-logo{
  display:inline-flex;
  align-items:center;
  line-height:0;
}
.brand-logo img{
  display:block;
  width:auto;
  height:38px;
  max-width:220px;
  object-fit:contain;
}
.footer-brand.brand-logo img{
  height:42px;
  max-width:260px;
}

@media(max-width:620px){
  .brand-logo img{
    height:30px;
    max-width:190px;
  }
  .footer-brand.brand-logo img{
    height:36px;
  }
}


/* WhatsApp flutuante */
.whatsapp-float{
  position:fixed;
  right:22px;
  bottom:76px;
  z-index:90;
  display:flex;
  align-items:center;
  gap:9px;
  padding:11px 16px;
  border-radius:999px;
  background:#25D366;
  color:#fff;
  font-size:.86rem;
  font-weight:700;
  box-shadow:0 14px 35px rgba(37,211,102,.28);
  transition:transform .25s, box-shadow .25s;
}
.whatsapp-float:hover{
  transform:translateY(-3px);
  box-shadow:0 18px 42px rgba(37,211,102,.38);
}
.whatsapp-float svg{
  width:23px;
  height:23px;
  fill:currentColor;
}

/* Modal de contato */
.modal{
  position:fixed;
  inset:0;
  z-index:1000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  opacity:0;
  visibility:hidden;
  transition:opacity .25s ease, visibility .25s ease;
}
.modal.is-open{
  opacity:1;
  visibility:visible;
}
.modal-overlay{
  position:absolute;
  inset:0;
  background:rgba(2,11,24,.78);
  backdrop-filter:blur(5px);
}
.modal-dialog{
  position:relative;
  z-index:1;
  width:min(680px,100%);
  max-height:calc(100vh - 40px);
  overflow:auto;
  padding:42px;
  border-radius:16px;
  background:#fff;
  box-shadow:0 30px 90px rgba(0,0,0,.32);
  transform:translateY(18px) scale(.98);
  transition:transform .25s ease;
}
.modal.is-open .modal-dialog{
  transform:translateY(0) scale(1);
}
.modal-close{
  position:absolute;
  top:15px;
  right:18px;
  width:38px;
  height:38px;
  border:0;
  border-radius:50%;
  background:#eef4f6;
  color:var(--navy);
  font-size:1.7rem;
  line-height:1;
  cursor:pointer;
  transition:.2s;
}
.modal-close:hover{
  background:var(--primary);
}
.modal-dialog h2{
  margin-bottom:12px;
  color:var(--navy);
  font-size:clamp(1.8rem,4vw,2.6rem);
}
.modal-description{
  margin:0 0 28px;
  color:var(--text-soft);
}
.contact-form{
  display:grid;
  gap:17px;
}
.form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:17px;
}
.form-group{
  display:grid;
  gap:7px;
}
.form-group label{
  color:var(--navy);
  font-size:.87rem;
  font-weight:700;
}
.form-group input,
.form-group textarea{
  width:100%;
  border:1px solid #d9e4e8;
  border-radius:8px;
  padding:13px 14px;
  font:inherit;
  color:var(--text);
  background:#fff;
  outline:none;
  transition:border-color .2s, box-shadow .2s;
}
.form-group textarea{
  resize:vertical;
  min-height:130px;
}
.form-group input:focus,
.form-group textarea:focus{
  border-color:var(--primary-dark);
  box-shadow:0 0 0 4px rgba(0,210,233,.12);
}
.form-submit{
  border:0;
  cursor:pointer;
  justify-self:start;
}

@media(max-width:620px){
  .whatsapp-float{
    right:16px;
    bottom:70px;
    width:52px;
    height:52px;
    padding:0;
    justify-content:center;
  }
  .whatsapp-float span{display:none}
  .whatsapp-float svg{width:26px;height:26px}

  .modal{padding:10px}
  .modal-dialog{
    max-height:calc(100vh - 20px);
    padding:32px 20px 24px;
    border-radius:13px;
  }
  .form-grid{grid-template-columns:1fr}
  .form-submit{width:100%}
}
