/* ========================= */
/* style.css */
/* ========================= */

:root{
  --primary:#0E5EB7;
  --secondary:#071B34;
  --accent:#1EA7FF;
  --light:#F4F8FD;
  --white:#FFFFFF;
  --text:#1A1A1A;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Montserrat',sans-serif;
  color:var(--text);
  background:var(--white);
}

.container{
  width:90%;
  max-width:1200px;
  margin:auto;
}

/* HEADER */

.header{
  position:fixed;
  width:100%;
  top:0;
  z-index:999;
  background:rgba(7,27,52,.9);
  backdrop-filter:blur(10px);
}

.nav-container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:85px;
}

.logo img{
  width:60px;
}

.nav{
  display:flex;
  gap:30px;
}

.nav a{
  color:white;
  text-decoration:none;
  font-weight:500;
  transition:.3s;
}

.nav a:hover{
  color:var(--accent);
}

.btn-header{
  background:var(--primary);
  color:white;
  padding:14px 24px;
  border-radius:50px;
  text-decoration:none;
  font-weight:700;
  transition:.3s;
}

.btn-header:hover{
  background:var(--accent);
}

.menu-mobile{
  display:none;
  color:white;
  font-size:24px;
  cursor:pointer;
}

/* HERO */

.hero{
  height:100vh;
  display:flex;
  align-items:center;

  background:
  linear-gradient(rgba(5,15,30,.78), rgba(5,15,30,.78)),
  url('https://images.unsplash.com/photo-1556740749-887f6717d7e4?q=80&w=1600&auto=format&fit=crop');

  background-size:cover;
  background-position:center;
}

.hero-text{
  max-width:700px;
}

.hero-badge{
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.2);
  color:white;
  padding:12px 20px;
  border-radius:50px;
  display:inline-block;
  margin-bottom:25px;
}

.hero h1{
  font-size:68px;
  line-height:1.1;
  color:white;
  margin-bottom:25px;
}

.hero p{
  color:#dfe9f5;
  font-size:20px;
  line-height:1.8;
  margin-bottom:40px;
}

.hero-buttons{
  display:flex;
  gap:20px;
}

.btn-primary{
  background:var(--primary);
  color:white;
  padding:16px 32px;
  border-radius:50px;
  text-decoration:none;
  font-weight:700;
  transition:.3s;
}

.btn-primary:hover{
  background:var(--accent);
  transform:translateY(-3px);
}

.btn-secondary{
  border:2px solid white;
  color:white;
  padding:16px 32px;
  border-radius:50px;
  text-decoration:none;
  font-weight:700;
  transition:.3s;
}

.btn-secondary:hover{
  background:white;
  color:var(--secondary);
}

/* TITLES */

.section-title{
  text-align:center;
  margin-bottom:70px;
}

.section-title span{
  color:var(--primary);
  font-weight:700;
}

.section-title h2{
  font-size:42px;
  margin-top:15px;
}

/* SERVICES */

.services{
  padding:120px 0;
  background:var(--light);
}

.services-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:30px;
}

.service-card{
  background:white;
  padding:40px;
  border-radius:20px;
  transition:.4s;
  box-shadow:0 10px 30px rgba(0,0,0,.05);
}

.service-card:hover{
  transform:translateY(-10px);
}

.service-card i{
  font-size:42px;
  color:var(--primary);
  margin-bottom:25px;
}

.service-card h3{
  margin-bottom:15px;
}

.service-card p{
  color:#555;
  line-height:1.8;
}

/* ABOUT */

.about{
  padding:120px 0;
}

.about-container{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:center;
}

.about-image img{
  width:100%;
  border-radius:25px;
}

.about-text span{
  color:var(--primary);
  font-weight:700;
}

.about-text h2{
  font-size:46px;
  margin:20px 0;
}

.about-text p{
  line-height:1.9;
  color:#555;
}

.stats{
  display:flex;
  gap:25px;
  margin-top:40px;
}

.stat-box{
  background:var(--secondary);
  color:white;
  padding:25px;
  border-radius:18px;
  text-align:center;
  min-width:140px;
}

.stat-box h3{
  font-size:32px;
}

/* DIFFERENTIALS */

.differentials{
  padding:120px 0;
  background:var(--secondary);
}

.differentials .section-title h2{
  color:white;
}

.diff-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:30px;
}

.diff-card{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  padding:40px;
  border-radius:20px;
  color:white;
  transition:.4s;
}

.diff-card:hover{
  transform:translateY(-10px);
}

.diff-card i{
  font-size:40px;
  color:var(--accent);
  margin-bottom:20px;
}

.diff-card h3{
  margin-bottom:15px;
}

/* CTA */

.cta{
  padding:120px 0;
  text-align:center;

  background:
  linear-gradient(rgba(14,94,183,.92), rgba(14,94,183,.92)),
  url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?q=80&w=1600&auto=format&fit=crop');

  background-size:cover;
  background-position:center;
}

.cta h2{
  color:white;
  font-size:52px;
  margin-bottom:20px;
}

.cta p{
  color:white;
  font-size:20px;
  margin-bottom:40px;
}

/* FOOTER */

.footer{
  background:#04101F;
  color:white;
}

.footer-container{
  padding:70px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:40px;
}

.footer-links{
  display:flex;
  gap:25px;
}

.footer-links a{
  color:white;
  text-decoration:none;
}

.footer-social{
  display:flex;
  gap:18px;
}

.footer-social a{
  width:45px;
  height:45px;
  background:rgba(255,255,255,.1);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:white;
  text-decoration:none;
  transition:.3s;
}

.footer-social a:hover{
  background:var(--primary);
}

.footer-bottom{
  border-top:1px solid rgba(255,255,255,.08);
  text-align:center;
  padding:20px;
  color:#b9c7d6;
}

/* WHATS */

.whatsapp{
  position:fixed;
  right:25px;
  bottom:25px;
  width:65px;
  height:65px;
  background:#25D366;
  color:white;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:32px;
  text-decoration:none;
  z-index:999;
}

/* BACK TO TOP */

.back-to-top{
  position:fixed;
  right:25px;
  bottom:105px;
  width:55px;
  height:55px;
  border:none;
  border-radius:50%;
  background:var(--primary);
  color:white;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
  opacity:0;
  visibility:hidden;
  transition:.3s;
  z-index:999;
}

.back-to-top.show{
  opacity:1;
  visibility:visible;
}

.back-to-top:hover{
  background:var(--accent);
}

/* RESPONSIVO */

@media(max-width:992px){

  .hero h1{
    font-size:48px;
  }

  .about-container{
    grid-template-columns:1fr;
  }

  .nav{
    position:fixed;
    top:85px;
    right:-100%;
    width:280px;
    height:100vh;
    background:var(--secondary);
    flex-direction:column;
    padding:40px;
    transition:.4s;
  }

  .nav.active{
    right:0;
  }

  .menu-mobile{
    display:block;
  }

  .btn-header{
    display:none;
  }

}

@media(max-width:768px){

  .hero{
    text-align:center;
  }

  .hero-buttons{
    flex-direction:column;
  }

  .hero h1{
    font-size:40px;
  }

  .section-title h2{
    font-size:34px;
  }

  .about-text h2{
    font-size:34px;
  }

  .cta h2{
    font-size:38px;
  }

  .stats{
    flex-direction:column;
  }

}