*{margin:0;padding:0;box-sizing:border-box}

:root{
  --blue:#0874ff;
  --navy:#061633;
  --text:#071b43;
  --muted:#40516d;
  --light:#f7faff;
  --shadow:0 18px 42px rgba(5,20,55,.12);
  --success:#27ae60;
  --danger:#e74c3c;
}

html{scroll-behavior:smooth}

body{
  font-family:'Inter',Arial,sans-serif;
  background:#fff;
  color:var(--text);
  overflow-x:hidden;
}

/* ANIMAÇÕES */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* TOPO */
.topbar{
  width:100%;
  background:linear-gradient(90deg,#061d52,#082d78);
  color:white;
  font-size:14px;
  font-weight:800;
}

.topbar-inner{
  width:min(1280px,92%);
  min-height:37px;
  margin:auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
}

.top-left,.top-right{
  display:flex;
  align-items:center;
  gap:14px;
}

.top-right a{
  color:white;
  text-decoration:none;
  font-size:18px;
  transition:.25s;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.top-right a:hover{
  color:#1591ff;
  transform:scale(1.15);
}



/* MENU */
.menu-wrapper{
  width:100%;
  background:#fff;
  position:relative;
  z-index:20;
}

.menu-bar{
  width:min(1280px,86%);
  min-height:74px;
  margin:0 auto;
  background:linear-gradient(135deg,#06183f,#082766 60%,#0a4dbb);
  border-radius:14px 14px 0 0;
  display:flex;
  align-items:center;
  gap:26px;
  padding:0 26px;
  border-bottom:4px solid #1976ff;
  box-shadow:0 10px 30px rgba(0,0,0,.20);
}

.home{
  color:white;
  text-decoration:none;
  font-size:28px;
  width:36px;
  text-align:center;
  transition:.25s;
}

.home:hover{
  color:#1591ff;
  transform:scale(1.1);
}

.hamburger{
  display:none;
  flex-direction:column;
  background:none;
  border:none;
  cursor:pointer;
  gap:6px;
  padding:8px;
}

.hamburger span{
  width:25px;
  height:3px;
  background:white;
  border-radius:2px;
  transition:.3s;
}

.hamburger.active span:nth-child(1){
  transform:rotate(45deg) translate(10px,10px);
}

.hamburger.active span:nth-child(2){
  opacity:0;
}

.hamburger.active span:nth-child(3){
  transform:rotate(-45deg) translate(7px,-7px);
}

nav{
  flex:1;
  display:flex;
  align-items:center;
  gap:18px;
}

nav a{
  color:white;
  text-decoration:none;
  padding:27px 6px 23px;
  font-size:15px;
  font-weight:900;
  position:relative;
  white-space:nowrap;
  transition:.25s;
}

nav a.active,
nav a:hover{color:#1591ff}

nav a.active:after,
nav a:hover:after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:4px;
  background:#1976ff;
  border-radius:20px 20px 0 0;
}

.btn-menu{
  color:white;
  text-decoration:none;
  background:linear-gradient(135deg,#1976ff,#0661ee);
  padding:16px 34px;
  border-radius:9px;
  font-weight:900;
  white-space:nowrap;
  transition:.25s;
}

.btn-menu:hover{
  transform:translateY(-4px);
  box-shadow:0 14px 30px rgba(0,100,255,.30);
}

/* HERO */
.hero{
  width:100%;
  min-height:430px;
  display:grid;
  grid-template-columns:52% 48%;
  background:linear-gradient(90deg,#061633 0%,#061633 52%,#071d46 100%);
  color:white;
  overflow:hidden;
  animation: fadeInUp 0.8s ease-out;
}

.hero-left{
  padding:55px 40px 50px max(7vw,calc((100vw - 1280px)/2 + 24px));
}

.hero-left span{
  display:block;
  color:#0874ff;
  font-size:16px;
  font-weight:900;
  margin-bottom:24px;
}

.hero-left h1{
  font-size:clamp(40px,3.4vw,54px);
  line-height:1.15;
  font-weight:900;
  letter-spacing:-.045em;
  margin-bottom:22px;
}

.hero-left p{
  max-width:570px;
  font-size:18px;
  line-height:1.68;
  color:#f3f7ff;
  margin-bottom:30px;
}

.hero-buttons{
  display:flex;
  gap:20px;
  flex-wrap:wrap;
}

.btn-primary,.btn-outline,.btn-white{
  min-height:58px;
  padding:0 28px;
  border-radius:9px;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  font-size:16px;
  transition:.25s;
}

.btn-primary{
  color:white;
  background:linear-gradient(135deg,#1976ff,#0661ee);
  box-shadow:0 14px 30px rgba(0,100,255,.30);
}

.btn-outline{
  color:white;
  border:1px solid rgba(255,255,255,.75);
}

.btn-primary:hover,.btn-outline:hover,.btn-white:hover,.btn-menu:hover{
  transform:translateY(-4px);
}

.hero-right{
  min-height:430px;
  position:relative;
  overflow:hidden;
}

.hero-right:before{
  content:"";
  position:absolute;
  left:-130px;
  top:0;
  width:230px;
  height:100%;
  background:linear-gradient(90deg,#061633 0%,rgba(6,22,51,.85) 45%,rgba(6,22,51,0) 100%);
  z-index:2;
}

.hero-right img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
  display:block;
}

/* SEÇÕES GERAIS */
.section-title{
  text-align:center;
  margin-bottom:28px;
}

.section-title span{
  display:block;
  color:#0874ff;
  font-size:15px;
  font-weight:900;
  margin-bottom:8px;
}

.section-title h2{
  font-size:39px;
  line-height:1.1;
  font-weight:900;
  letter-spacing:-.04em;
}

.line{
  width:70px;
  height:4px;
  background:#0b73ff;
  margin:13px auto 0;
  border-radius:20px;
}

/* SERVIÇOS */
.services{
  width:100%;
  background:#fff;
  padding:34px 0 76px;
}

.services-grid{
  width:min(1280px,86%);
  margin:auto;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
}

.service-card{
  min-height:184px;
  background:white;
  border:1px solid #e6ebf4;
  border-radius:14px;
  padding:26px 24px;
  box-shadow:0 12px 33px rgba(5,20,55,.07);
  transition:.25s;
  animation: fadeInUp 0.6s ease-out;
}

.service-card:hover{
  transform:translateY(-8px);
  box-shadow:var(--shadow);
}

.icon{
  width:58px;
  height:58px;
  border-radius:10px;
  background:linear-gradient(135deg,#0b2e76,#1976ff);
  color:white;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:26px;
  margin-bottom:18px;
}

.service-card h3{
  font-size:16px;
  font-weight:900;
  margin-bottom:14px;
}

.service-card p{
  font-size:14px;
  line-height:1.7;
  color:#34455e;
}

/* SOBRE */
.about{
  padding:82px 0;
  background:#f7faff;
}

.content-grid{
  width:min(1280px,86%);
  margin:auto;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:42px;
  align-items:center;
}

.tag{
  color:#0874ff;
  font-weight:900;
  margin-bottom:18px;
  display:block;
}

.about h2{
  font-size:41px;
  line-height:1.15;
  font-weight:900;
  letter-spacing:-.04em;
  margin-bottom:18px;
}

.about p{
  font-size:18px;
  line-height:1.75;
  color:#4a5b75;
  margin-bottom:20px;
}

.stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  margin-top:30px;
}

.stat{
  text-align:center;
}

.stat strong{
  display:block;
  font-size:32px;
  color:#0874ff;
  margin-bottom:5px;
}

.stat span{
  font-size:14px;
  color:#666;
}

.box{
  background:white;
  border-radius:18px;
  padding:34px;
  box-shadow:var(--shadow);
  border:1px solid #e7ecf5;
}

.box h3{
  font-size:25px;
  margin-bottom:12px;
}

.box p{
  font-size:16px;
  line-height:1.6;
  color:#666;
  margin-bottom:20px;
}

.checklist{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.check-item{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:15px;
  color:#333;
}

.check-item i{
  color:var(--success);
  font-weight:bold;
}

/* PREÇOS */
.pricing{
  width:100%;
  background:#fff;
  padding:76px 0;
}

.pricing-grid{
  width:min(1280px,86%);
  margin:auto;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
}

.pricing-card{
  background:white;
  border:2px solid #e6ebf4;
  border-radius:18px;
  padding:40px 30px;
  text-align:center;
  transition:.3s;
  position:relative;
  animation: fadeInUp 0.6s ease-out;
}

.pricing-card:hover{
  transform:translateY(-10px);
  box-shadow:var(--shadow);
}

.pricing-card.featured{
  border-color:#0874ff;
  background:linear-gradient(135deg,rgba(8,116,255,.05),rgba(25,118,255,.05));
  transform:scale(1.05);
}

.badge{
  position:absolute;
  top:-15px;
  left:50%;
  transform:translateX(-50%);
  background:#0874ff;
  color:white;
  padding:8px 20px;
  border-radius:20px;
  font-size:12px;
  font-weight:900;
}

.price-header h3{
  font-size:24px;
  margin-bottom:10px;
}

.price{
  font-size:48px;
  font-weight:900;
  color:#0874ff;
  margin:20px 0;
}

.price span{
  font-size:18px;
  color:#999;
}

.features{
  list-style:none;
  margin:30px 0;
  text-align:left;
}

.features li{
  padding:12px 0;
  border-bottom:1px solid #f0f0f0;
  display:flex;
  align-items:center;
  gap:10px;
}

.features i{
  color:#0874ff;
}

.btn-pricing{
  width:100%;
  padding:16px;
  background:linear-gradient(135deg,#1976ff,#0661ee);
  color:white;
  border:none;
  border-radius:9px;
  font-weight:900;
  cursor:pointer;
  text-decoration:none;
  display:inline-block;
  transition:.25s;
  margin-top:20px;
}

.btn-pricing:hover{
  transform:translateY(-4px);
}

.btn-pricing.featured{
  background:linear-gradient(135deg,#0874ff,#0661ee);
}

/* DEPOIMENTOS */
.testimonials{
  width:100%;
  background:#f7faff;
  padding:76px 0;
}

.testimonials-carousel{
  width:min(1280px,86%);
  margin:auto;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
}

.testimonial-card{
  background:white;
  padding:30px;
  border-radius:14px;
  box-shadow:0 12px 33px rgba(5,20,55,.07);
  transition:.25s;
  animation: fadeInUp 0.6s ease-out;
}

.testimonial-card:hover{
  transform:translateY(-8px);
  box-shadow:var(--shadow);
}

.stars{
  font-size:20px;
  margin-bottom:15px;
}

.testimonial-card p{
  font-size:16px;
  line-height:1.6;
  color:#666;
  margin-bottom:20px;
  font-style:italic;
}

.testimonial-author{
  display:flex;
  align-items:center;
  gap:15px;
}

.author-avatar{
  width:50px;
  height:50px;
  border-radius:50%;
  background:linear-gradient(135deg,#0874ff,#1976ff);
  color:white;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
}

.testimonial-author strong{
  display:block;
  margin-bottom:3px;
}

.testimonial-author span{
  font-size:13px;
  color:#999;
}

.carousel-dots{
  text-align:center;
  margin-top:30px;
}

.dot{
  width:12px;
  height:12px;
  border-radius:50%;
  background:#ddd;
  display:inline-block;
  margin:0 6px;
  cursor:pointer;
  transition:.25s;
}

.dot.active{
  background:#0874ff;
}

/* FAQ */
.faq{
  width:100%;
  background:#fff;
  padding:76px 0;
}

.faq-container{
  width:min(1280px,86%);
  margin:auto;
}

.faq-item{
  margin-bottom:15px;
  border:1px solid #e6ebf4;
  border-radius:10px;
  overflow:hidden;
  animation: fadeInUp 0.6s ease-out;
}

.faq-question{
  width:100%;
  padding:20px;
  background:#f9fbff;
  border:none;
  cursor:pointer;
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:16px;
  font-weight:900;
  color:#071b43;
  transition:.25s;
}

.faq-question:hover{
  background:#f0f5ff;
}

.faq-question i{
  transition:.3s;
}

.faq-item.active .faq-question i{
  transform:rotate(180deg);
}

.faq-answer{
  max-height:0;
  overflow:hidden;
  transition:max-height .3s ease-out;
}

.faq-item.active .faq-answer{
  max-height:500px;
}

.faq-answer p{
  padding:20px;
  color:#666;
  line-height:1.6;
}

/* PORTFÓLIO */
.portfolio{
  width:100%;
  background:#f7faff;
  padding:76px 0;
}

.portfolio-grid{
  width:min(1280px,86%);
  margin:auto;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:30px;
}

.portfolio-item{
  background:white;
  padding:40px 30px;
  border-radius:14px;
  text-align:center;
  box-shadow:0 12px 33px rgba(5,20,55,.07);
  transition:.25s;
  animation: fadeInUp 0.6s ease-out;
}

.portfolio-item:hover{
  transform:translateY(-8px);
  box-shadow:var(--shadow);
}

.portfolio-icon{
  width:70px;
  height:70px;
  border-radius:50%;
  background:linear-gradient(135deg,#0874ff,#1976ff);
  color:white;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:32px;
  margin:0 auto 20px;
}

.portfolio-item h3{
  font-size:20px;
  margin-bottom:10px;
}

.portfolio-item p{
  font-size:14px;
  color:#666;
  line-height:1.6;
}

/* CERTIFICAÇÕES */
.certifications{
  width:100%;
  background:#fff;
  padding:76px 0;
}

.certifications-grid{
  width:min(1280px,86%);
  margin:auto;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:30px;
}

.cert-card{
  background:linear-gradient(135deg,#f9fbff,#f0f5ff);
  padding:40px 30px;
  border-radius:14px;
  text-align:center;
  border:2px solid #e6ebf4;
  transition:.25s;
  animation: fadeInUp 0.6s ease-out;
}

.cert-card:hover{
  border-color:#0874ff;
  transform:translateY(-8px);
}

.cert-card i{
  font-size:48px;
  color:#0874ff;
  margin-bottom:15px;
}

.cert-card h3{
  font-size:18px;
  margin-bottom:10px;
}

.cert-card p{
  font-size:13px;
  color:#666;
}

/* BLOG */
.blog{
  width:100%;
  background:#f7faff;
  padding:76px 0;
}

.blog-grid{
  width:min(1280px,86%);
  margin:auto;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
}

.blog-card{
  background:white;
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 12px 33px rgba(5,20,55,.07);
  transition:.25s;
  animation: fadeInUp 0.6s ease-out;
}

.blog-card:hover{
  transform:translateY(-8px);
  box-shadow:var(--shadow);
}

.blog-image{
  height:200px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:64px;
  color:white;
}

.blog-card h3{
  font-size:18px;
  padding:20px 20px 10px;
  font-weight:900;
}

.blog-card p{
  font-size:14px;
  color:#666;
  padding:0 20px 15px;
  line-height:1.6;
}

.read-more{
  display:inline-block;
  padding:0 20px 20px;
  color:#0874ff;
  text-decoration:none;
  font-weight:900;
  transition:.25s;
}

.read-more:hover{
  color:#1976ff;
}

/* CALCULADORA */
.calculator{
  width:100%;
  background:#fff;
  padding:76px 0;
}

.calculator-container{
  width:min(1280px,86%);
  margin:auto;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:50px;
  align-items:center;
}

.calculator-form{
  background:#f9fbff;
  padding:40px;
  border-radius:14px;
  border:2px solid #e6ebf4;
}

.form-group{
  margin-bottom:20px;
}

.form-group label{
  display:block;
  margin-bottom:8px;
  font-weight:900;
  color:#071b43;
}

.form-group input,
.form-group select,
.form-group textarea{
  width:100%;
  padding:12px;
  border:1px solid #e6ebf4;
  border-radius:8px;
  font-family:inherit;
  font-size:14px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{
  outline:none;
  border-color:#0874ff;
  box-shadow:0 0 0 3px rgba(8,116,255,.1);
}

.btn-calculate{
  width:100%;
  padding:16px;
  background:linear-gradient(135deg,#1976ff,#0661ee);
  color:white;
  border:none;
  border-radius:8px;
  font-weight:900;
  cursor:pointer;
  transition:.25s;
}

.btn-calculate:hover{
  transform:translateY(-4px);
}

.calculator-result{
  background:linear-gradient(135deg,#f9fbff,#f0f5ff);
  padding:40px;
  border-radius:14px;
  border:2px solid #e6ebf4;
  display:block !important;
  visibility:visible !important;
}

.calculator-result h3{
  font-size:20px;
  margin-bottom:20px;
  color:#071b43;
}

.result-item{
  display:flex;
  justify-content:space-between;
  padding:15px 0;
  border-bottom:1px solid #e6ebf4;
  font-size:16px;
}

.result-item:last-child{
  border-bottom:none;
}

.result-item strong{
  font-weight:900;
}

/* ÁREA DO CLIENTE */
.client{
  background:linear-gradient(135deg,#061633,#0b4fd8);
  color:white;
  padding:75px 0;
}

.client-inner{
  width:min(1280px,86%);
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:35px;
}

.client span{
  color:#9ec8ff;
  font-weight:900;
  margin-bottom:18px;
  display:block;
}

.client h2{
  font-size:41px;
  line-height:1.15;
  font-weight:900;
  letter-spacing:-.04em;
  margin-bottom:18px;
  color:white;
}

.client p{
  font-size:18px;
  line-height:1.75;
  color:white;
}

.btn-white{
  background:white;
  color:#0b4fd8;
  white-space:nowrap;
}

/* MAPA */
.map-section{
  width:100%;
  background:#f7faff;
  padding:76px 0;
}

.map-container{
  width:min(1280px,86%);
  margin:auto 0 40px;
  border-radius:14px;
  overflow:hidden;
  box-shadow:var(--shadow);
}

.location-info{
  width:min(1280px,86%);
  margin:auto;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
}

.info-item{
  background:white;
  padding:30px;
  border-radius:14px;
  display:flex;
  gap:20px;
  box-shadow:0 12px 33px rgba(5,20,55,.07);
}

.info-item i{
  font-size:32px;
  color:#0874ff;
  min-width:40px;
}

.info-item strong{
  display:block;
  margin-bottom:5px;
}

/* CONTATO */
.contact{
  width:100%;
  background:#fff;
  padding:76px 0;
}

.contact-container{
  width:min(1280px,86%);
  margin:auto;
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:50px;
}

.contact-form{
  background:#f9fbff;
  padding:40px;
  border-radius:14px;
  border:2px solid #e6ebf4;
}

.form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}

.form-group{
  margin-bottom:20px;
}

.form-group.checkbox{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:30px;
}

.form-group.checkbox input{
  width:auto;
}

.form-group.checkbox label{
  margin:0;
}

.form-group.checkbox a{
  color:#0874ff;
  text-decoration:none;
}

.btn-submit{
  width:100%;
  padding:16px;
  background:linear-gradient(135deg,#1976ff,#0661ee);
  color:white;
  border:none;
  border-radius:8px;
  font-weight:900;
  cursor:pointer;
  transition:.25s;
}

.btn-submit:hover{
  transform:translateY(-4px);
}

.form-note{
  font-size:13px;
  color:#999;
  margin-top:10px;
  text-align:center;
}

.contact-info h3{
  font-size:20px;
  margin-bottom:20px;
  color:#071b43;
}

.info-box{
  background:#f9fbff;
  padding:20px;
  border-radius:10px;
  margin-bottom:20px;
  border-left:4px solid #0874ff;
}

.info-box h4{
  font-size:16px;
  margin-bottom:10px;
  color:#071b43;
}

.info-box p{
  font-size:14px;
  color:#666;
  line-height:1.6;
}

/* NEWSLETTER */
.newsletter{
  width:100%;
  background:linear-gradient(135deg,#061633,#0b4fd8);
  color:white;
  padding:60px 0;
}

.newsletter-content{
  width:min(1280px,86%);
  margin:auto;
  text-align:center;
}

.newsletter-content h2{
  font-size:36px;
  margin-bottom:15px;
}

.newsletter-content p{
  font-size:18px;
  margin-bottom:30px;
}

.newsletter-form{
  display:flex;
  gap:10px;
  max-width:500px;
  margin:auto;
}

.newsletter-form input{
  flex:1;
  padding:16px;
  border:none;
  border-radius:8px;
  font-size:14px;
}

.newsletter-form button{
  padding:16px 30px;
  background:white;
  color:#0b4fd8;
  border:none;
  border-radius:8px;
  font-weight:900;
  cursor:pointer;
  transition:.25s;
}

.newsletter-form button:hover{
  transform:translateY(-4px);
}

/* COMPARADOR */
.comparator{
  width:100%;
  background:#f7faff;
  padding:76px 0;
}

.comparison-table{
  width:min(1280px,86%);
  margin:auto;
  overflow-x:auto;
}

.comparison-table table{
  width:100%;
  border-collapse:collapse;
  background:white;
  border-radius:14px;
  overflow:hidden;
  box-shadow:var(--shadow);
}

.comparison-table th{
  background:linear-gradient(135deg,#06183f,#082766);
  color:white;
  padding:20px;
  text-align:left;
  font-weight:900;
}

.comparison-table td{
  padding:20px;
  border-bottom:1px solid #e6ebf4;
}

.comparison-table tr:last-child td{
  border-bottom:none;
}

.comparison-table tr:nth-child(even){
  background:#f9fbff;
}

/* FOOTER */
footer{
  background:#050f25;
  color:#dce8ff;
  padding:50px 7%;
}

.footer-content{
  width:min(1280px,92%);
  margin:0 auto 30px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:40px;
}

.footer-section h4{
  color:white;
  margin-bottom:15px;
  font-size:16px;
}

.footer-section p{
  font-size:14px;
  line-height:1.6;
  margin-bottom:10px;
}

.footer-section a{
  color:#dce8ff;
  text-decoration:none;
  font-size:14px;
  transition:.25s;
}

.footer-section a:hover{
  color:white;
}

.footer-section ul{
  list-style:none;
}

.footer-section ul li{
  margin-bottom:10px;
}

.social-links{
  display:flex;
  gap:15px;
  margin-top:15px;
}

.social-links a{
  width:40px;
  height:40px;
  border-radius:50%;
  background:rgba(255,255,255,.1);
  display:flex;
  align-items:center;
  justify-content:center;
  transition:.25s;
}

.social-links a:hover{
  background:#0874ff;
}

.footer-bottom{
  text-align:center;
  padding-top:30px;
  border-top:1px solid rgba(255,255,255,.1);
  font-size:14px;
}

/* BOTÃO FLUTUANTE */
.float-whats{
  position:fixed;
  right:26px;
  bottom:25px;
  width:72px;
  height:72px;
  border-radius:50%;
  background:#24d366;
  color:white;
  text-decoration:none;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:38px;
  box-shadow:0 15px 35px rgba(0,0,0,.26);
  border:5px solid rgba(255,255,255,.85);
  z-index:999;
  transition:.25s;
  animation:pulse 2s infinite;
}

.float-whats:hover{
  transform:scale(1.1);
}

/* RESPONSIVO */
@media(max-width:1150px){
  .menu-bar{
    width:100%;
    margin-top:0;
    border-radius:0;
    min-height:auto;
    flex-wrap:wrap;
    padding:12px;
  }

  .hamburger{
    display:flex;
    order:2;
  }

  nav{
    order:3;
    width:100%;
    max-height:0;
    overflow:hidden;
    flex-direction:column;
    transition:max-height .3s ease-in-out;
    background:rgba(6,22,51,.95);
    border-radius:0 0 14px 14px;
    gap:0;
  }

  nav.active{
    max-height:500px;
  }

  nav a{
    padding:16px 12px;
    font-size:13px;
    width:100%;
    border-bottom:1px solid rgba(255,255,255,.1);
  }

  .btn-menu{
    width:100%;
    text-align:center;
    justify-content:center;
    order:4;
  }

  .hero{
    grid-template-columns:1fr;
  }

  .hero-left{
    padding:50px 5% 35px;
  }

  .hero-right{
    min-height:390px;
    height:390px;
  }

  .hero-right:before{
    display:none;
  }

  .services-grid,.portfolio-grid,.certifications-grid,.blog-grid{
    grid-template-columns:repeat(2,1fr);
    width:92%;
  }

  .content-grid,.calculator-container,.contact-container{
    grid-template-columns:1fr;
    width:92%;
  }

  .pricing-grid{
    grid-template-columns:1fr;
  }

  .pricing-card.featured{
    transform:scale(1);
  }

  .testimonials-carousel{
    grid-template-columns:1fr;
  }

  .client-inner{
    width:92%;
    flex-direction:column;
    text-align:center;
  }

  .location-info{
    grid-template-columns:1fr;
  }

  .footer-content{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:700px){
  .topbar-inner{
    min-height:auto;
    padding:10px 0;
    flex-direction:column;
    align-items:flex-start;
  }

  .top-left{
    flex-wrap:wrap;
  }

  .hero-left h1{
    font-size:39px;
  }

  .hero-left p{
    font-size:17px;
  }

  .btn-primary,.btn-outline,.btn-white{
    width:100%;
  }

  .services-grid,.portfolio-grid,.certifications-grid,.blog-grid{
    grid-template-columns:1fr;
  }

  .section-title h2{
    font-size:33px;
  }

  .float-whats{
    width:62px;
    height:62px;
    font-size:30px;
  }

  nav{
    max-height:400px !important;
  }

  .stats{
    grid-template-columns:1fr;
  }

  .pricing-grid{
    grid-template-columns:1fr;
  }

  .footer-content{
    grid-template-columns:1fr;
  }

  .newsletter-form{
    flex-direction:column;
  }

  .form-row{
    grid-template-columns:1fr;
  }

  .calculator-container{
    grid-template-columns:1fr;
    gap:20px;
  }

  .calculator-form,
  .calculator-result{
    padding:25px 15px;
  }

  .calculator-result{
    display:block !important;
    visibility:visible !important;
    margin-top:20px;
  }

  .result-item{
    display:flex;
    justify-content:space-between;
    align-items:center;
  }
}


/* NOTÍCIAS */
.news{
  width:100%;
  background:#fff;
  padding:76px 0;
}

.news-grid{
  width:min(1280px,86%);
  margin:auto;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:30px;
}

.news-card{
  background:white;
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 12px 33px rgba(5,20,55,.07);
  transition:.25s;
  animation: fadeInUp 0.6s ease-out;
  display:flex;
  border-left:5px solid #0874ff;
}

.news-card:hover{
  transform:translateY(-8px);
  box-shadow:var(--shadow);
}

.news-date{
  min-width:80px;
  background:linear-gradient(135deg,#0874ff,#1976ff);
  color:white;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:20px 15px;
  text-align:center;
  font-weight:900;
}

.news-date .day{
  font-size:28px;
  line-height:1;
  margin-bottom:5px;
}

.news-date .month{
  font-size:12px;
  opacity:0.9;
}

.news-content{
  flex:1;
  padding:25px;
  display:flex;
  flex-direction:column;
}

.news-category{
  display:inline-block;
  background:#e6ebf4;
  color:#0874ff;
  padding:5px 12px;
  border-radius:20px;
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  margin-bottom:10px;
  width:fit-content;
}

.news-card h3{
  font-size:18px;
  font-weight:900;
  margin-bottom:10px;
  color:var(--text);
  line-height:1.4;
}

.news-card p{
  font-size:14px;
  color:#666;
  line-height:1.6;
  margin-bottom:15px;
  flex:1;
}

.news-meta{
  display:flex;
  gap:20px;
  font-size:13px;
  color:#999;
  margin-bottom:15px;
  flex-wrap:wrap;
}

.news-meta span{
  display:flex;
  align-items:center;
  gap:6px;
}

.news-meta i{
  color:#0874ff;
}

.news-card .read-more{
  display:inline-block;
  color:#0874ff;
  text-decoration:none;
  font-weight:900;
  transition:.25s;
  width:fit-content;
}

.news-card .read-more:hover{
  color:#1976ff;
  transform:translateX(5px);
}

/* RESPONSIVO - NOTÍCIAS */
@media(max-width:768px){
  .news-grid{
    grid-template-columns:1fr;
  }

  .news-card{
    flex-direction:column;
    border-left:none;
    border-top:5px solid #0874ff;
  }

  .news-date{
    min-width:auto;
    flex-direction:row;
    gap:15px;
    padding:15px 20px;
  }

  .news-date .day{
    font-size:24px;
  }

  .news-date .month{
    font-size:11px;
  }

  .news-content{
    padding:20px;
  }

  .news-card h3{
    font-size:16px;
  }

  .news-card p{
    font-size:13px;
  }
}

/* NOTÍCIAS AUTOMÁTICAS - V3 */
.news-subtitle{
  max-width:820px;
  margin:14px auto 0;
  color:#5b6475;
  font-size:16px;
  line-height:1.7;
}
.news-toolbar{
  width:min(1280px,86%);
  margin:0 auto 24px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
}
.news-filter-group{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.news-filter{
  border:1px solid #dce5f5;
  background:#fff;
  color:#0f2552;
  padding:10px 14px;
  border-radius:999px;
  font-weight:800;
  cursor:pointer;
  transition:.25s;
  box-shadow:0 8px 20px rgba(5,20,55,.04);
}
.news-filter:hover,.news-filter.active{
  background:linear-gradient(135deg,#082766,#0874ff);
  color:#fff;
  border-color:#0874ff;
  transform:translateY(-2px);
}
.news-status{
  font-size:13px;
  font-weight:800;
  color:#68758b;
  background:#f3f6fb;
  border:1px solid #e1e8f5;
  padding:10px 14px;
  border-radius:999px;
}
.news-featured{
  width:min(1280px,86%);
  margin:0 auto 26px;
}
.news-featured .featured-card{
  background:linear-gradient(135deg,#061a42,#082766 50%,#0874ff);
  color:#fff;
  border-radius:22px;
  padding:32px;
  display:grid;
  grid-template-columns:90px 1fr auto;
  gap:24px;
  align-items:center;
  box-shadow:0 24px 55px rgba(5,20,55,.2);
  overflow:hidden;
  position:relative;
}
.news-featured .featured-card::after{
  content:"";
  position:absolute;
  inset:auto -80px -110px auto;
  width:260px;
  height:260px;
  background:rgba(255,255,255,.08);
  border-radius:50%;
}
.news-featured .news-date{
  border-radius:18px;
  min-height:86px;
  background:rgba(255,255,255,.14);
  backdrop-filter:blur(8px);
}
.news-featured h3{
  font-size:26px;
  margin:8px 0 10px;
  line-height:1.25;
}
.news-featured p{
  color:rgba(255,255,255,.82);
  line-height:1.7;
}
.news-featured .news-category{
  background:rgba(255,255,255,.14);
  color:#fff;
}
.news-featured a{
  position:relative;
  z-index:2;
  color:#082766;
  background:#fff;
  text-decoration:none;
  font-weight:900;
  padding:13px 18px;
  border-radius:999px;
  white-space:nowrap;
}
.news-source-tag{
  display:inline-flex;
  align-items:center;
  gap:6px;
  background:#f3f6fb;
  color:#526176;
  border-radius:999px;
  padding:4px 10px;
  font-size:12px;
  font-weight:800;
}
.news-actions{
  width:min(1280px,86%);
  margin:30px auto 0;
  display:flex;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
}
.news-refresh{
  cursor:pointer;
}
.news-error{
  width:min(1280px,86%);
  margin:0 auto;
  padding:18px;
  border-radius:16px;
  background:#fff7e8;
  color:#7a4d00;
  border:1px solid #ffd894;
  font-weight:700;
}
@media(max-width:900px){
  .news-featured .featured-card{
    grid-template-columns:1fr;
  }
  .news-featured a{
    width:fit-content;
  }
}
@media(max-width:768px){
  .news-toolbar,.news-featured,.news-actions{
    width:92%;
  }
  .news-filter-group{
    width:100%;
    overflow-x:auto;
    flex-wrap:nowrap;
    padding-bottom:6px;
  }
  .news-filter{
    white-space:nowrap;
  }
  .news-featured .featured-card{
    padding:24px;
  }
  .news-featured h3{
    font-size:21px;
  }
}


/* CORREÇÃO FINAL DAS ABAS */
body.tab-mode main > section.tab-hidden{
  display:none !important;
}
body.tab-mode main > section.tab-active{
  display:block !important;
  animation:tabFade .30s ease both;
}
body.tab-mode #nav-menu a.active{
  background:rgba(255,255,255,.16);
  color:#0874ff !important;
  border-radius:10px;
}


/* CORREÇÃO FINAL - FAIXA AZUL MENOR SEM QUEBRAR A FOTO */

.hero,
.hero-section,
.banner,
.banner-section {
    min-height: auto !important;
}

/* reduz somente a área azul do texto */
.hero-content,
.banner-content,
.hero .container,
.banner .container {
    padding-top: 55px !important;
    padding-bottom: 55px !important;
}

/* mantém a imagem/banner em destaque, sem distorcer */
.hero img,
.banner img,
.hero-image img,
.banner-image img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 auto !important;
}

/* evita que qualquer imagem suba/corte */
.hero-image,
.banner-image {
    margin-top: 0 !important;
    transform: none !important;
}

/* reduz título para ocupar menos altura no desktop */
.hero h1,
.banner h1 {
    line-height: 1.08 !important;
    margin-bottom: 18px !important;
}

/* aproxima a foto da faixa azul */
.hero + section,
.banner + section {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

@media (max-width: 768px) {
    .hero-content,
    .banner-content,
    .hero .container,
    .banner .container {
        padding-top: 35px !important;
        padding-bottom: 35px !important;
    }
}

