*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Inter',sans-serif;
}

html{
  scroll-behavior:smooth;
}

body{
  background:#f8fafc;
  color:#0f172a;
  overflow-x:hidden;
}

/* FUNDO PREMIUM */

.bg-effect-1{
  position:fixed;
  top:-200px;
  left:-200px;

  width:500px;
  height:500px;

  background:rgba(59,130,246,.15);

  filter:blur(120px);

  border-radius:50%;

  z-index:-1;
}

.bg-effect-2{
  position:fixed;
  bottom:-200px;
  right:-200px;

  width:500px;
  height:500px;

  background:rgba(168,85,247,.12);

  filter:blur(120px);

  border-radius:50%;

  z-index:-1;
}

/* CONTAINER */

.container{
  width:100%;
  max-width:1300px;
  margin:auto;
  padding:0 30px;
}

/* HEADER */

header{
  position:sticky;
  top:0;
  z-index:999;

  background:rgba(255,255,255,.75);

  backdrop-filter:blur(20px);

  border-bottom:1px solid rgba(15,23,42,.06);
}

.header-content{
  display:flex;
  align-items:center;
  justify-content:space-between;

  padding:22px 0;
}

/* LOGO */

.logo{
  display:flex;
  align-items:center;
  gap:16px;
}

.logo-icon{
  width:60px;
  height:60px;

  border-radius:20px;

  background:linear-gradient(135deg,#3b82f6,#8b5cf6);

  display:flex;
  align-items:center;
  justify-content:center;

  box-shadow:0 15px 40px rgba(59,130,246,.25);
}

.logo-icon div{
  width:28px;
  height:28px;

  border:4px solid white;
  border-radius:10px;

  transform:rotate(12deg);
}

.logo h1{
  font-size:30px;
  font-weight:900;

  background:linear-gradient(to right,#2563eb,#7c3aed);

  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.logo p{
  font-size:11px;
  letter-spacing:4px;
  color:#64748b;
  text-transform:uppercase;
}

/* NAV */

nav{
  display:flex;
  gap:40px;
}

nav a{
  text-decoration:none;
  color:#475569;
  font-weight:600;
  transition:.3s;
}

nav a:hover{
  color:#2563eb;
}

/* BOTÕES */

.btn{
  padding:18px 34px;
  border-radius:18px;

  text-decoration:none;

  font-weight:800;

  transition:.3s;

  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.btn-primary{
  background:linear-gradient(to right,#2563eb,#7c3aed);

  color:white;

  box-shadow:0 15px 40px rgba(37,99,235,.25);
}

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

.btn-outline{
  border:1px solid rgba(15,23,42,.08);

  background:white;

  color:#0f172a;
}

.btn-outline:hover{
  background:#f1f5f9;
}

/* HERO */

.hero{
  padding:120px 0;
}

.hero-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:80px;
  align-items:center;
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:10px;

  padding:14px 22px;

  border-radius:999px;

  background:white;

  border:1px solid rgba(15,23,42,.06);

  margin-bottom:30px;

  color:#475569;

  box-shadow:0 10px 30px rgba(15,23,42,.04);
}

.pulse{
  width:10px;
  height:10px;

  background:#2563eb;

  border-radius:50%;

  animation:pulse 1.5s infinite;
}

@keyframes pulse{
  0%{
    transform:scale(1);
    opacity:1;
  }

  50%{
    transform:scale(1.4);
    opacity:.5;
  }

  100%{
    transform:scale(1);
    opacity:1;
  }
}

.hero h2{
  font-size:82px;
  line-height:.95;
  font-weight:900;

  margin-bottom:30px;

  color:#0f172a;
}

.gradient-text{
  background:linear-gradient(to right,#2563eb,#7c3aed);

  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.hero p{
  font-size:21px;
  line-height:1.8;

  color:#64748b;

  margin-bottom:40px;
}

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

.hero-image{
  position:relative;
}

.hero-image::before{
  content:'';

  position:absolute;
  inset:-30px;

  background:linear-gradient(to right,
  rgba(59,130,246,.15),
  rgba(139,92,246,.15));

  filter:blur(60px);

  border-radius:40px;
}

.hero-image img{
  width:100%;
  border-radius:40px;

  position:relative;
  z-index:1;

  box-shadow:0 40px 80px rgba(15,23,42,.12);

  border:1px solid rgba(255,255,255,.8);
}

/* POPUP */

.popup-overlay{
  position:fixed;
  inset:0;

  background:rgba(15,23,42,.45);

  backdrop-filter:blur(10px);

  display:flex;
  align-items:center;
  justify-content:center;

  z-index:99999;

  padding:20px;
}

.popup-card{
  width:100%;
  max-width:620px;

  background:white;

  border-radius:40px;

  padding:60px;

  position:relative;

  box-shadow:0 40px 100px rgba(15,23,42,.2);
}

.popup-badge{
  display:inline-block;

  padding:12px 20px;

  border-radius:999px;

  background:#eff6ff;

  color:#2563eb;

  font-size:12px;
  font-weight:800;

  letter-spacing:4px;

  margin-bottom:30px;
}

.popup-card h2{
  font-size:54px;
  line-height:.95;

  margin-bottom:25px;

  color:#0f172a;
}

.popup-card p{
  color:#64748b;

  line-height:1.8;

  font-size:18px;

  margin-bottom:40px;
}

.close-popup{
  position:absolute;
  top:20px;
  right:20px;

  width:48px;
  height:48px;

  border-radius:50%;

  border:none;

  background:#f1f5f9;

  color:#0f172a;

  font-size:26px;

  cursor:pointer;
}

/* RESPONSIVO */

@media(max-width:1100px){

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

  nav{
    display:none;
  }

  .hero h2{
    font-size:58px;
  }

}

@media(max-width:768px){

  .hero{
    padding:80px 0;
  }

  .hero h2{
    font-size:42px;
  }

  .popup-card{
    padding:40px 25px;
  }

  .popup-card h2{
    font-size:38px;
  }

}

/* SEÇÕES */

section{
  padding:120px 0;
}

.section-title{
  text-align:center;
  margin-bottom:80px;
}

.section-title span{
  color:#2563eb;
  text-transform:uppercase;
  letter-spacing:5px;
  font-size:13px;
  font-weight:800;
}

.section-title h2{
  font-size:58px;
  line-height:1;
  margin:20px 0;
  color:#0f172a;
}

.section-title p{
  max-width:800px;
  margin:auto;
  color:#64748b;
  line-height:1.8;
  font-size:18px;
}

/* PROJETOS */

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

.project-card{
  background:white;
  border-radius:32px;
  overflow:hidden;

  box-shadow:0 20px 60px rgba(15,23,42,.08);

  transition:.4s;
}

.project-card:hover{
  transform:translateY(-8px);
}

.project-card img{
  width:100%;
  height:320px;
  object-fit:cover;
}

.project-content{
  padding:30px;
}

.project-content span{
  color:#2563eb;
  font-size:13px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:3px;
}

.project-content h3{
  font-size:32px;
  margin:18px 0;
  color:#0f172a;
}

.project-content p{
  color:#64748b;
  line-height:1.8;
  margin-bottom:30px;
}

/* SERVIÇOS */

.services-section{
  background:white;
}

.services-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:25px;
}

.service-card{
  background:#fff;

  border:1px solid rgba(15,23,42,.06);

  border-radius:30px;

  padding:40px;

  transition:.3s;
}

.service-card:hover{
  transform:translateY(-6px);

  box-shadow:0 20px 60px rgba(15,23,42,.08);
}

.service-icon{
  width:70px;
  height:70px;

  border-radius:24px;

  margin-bottom:30px;

  background:linear-gradient(to right,#2563eb,#7c3aed);
}

.service-card h3{
  font-size:28px;
  margin-bottom:18px;
}

.service-card p{
  color:#64748b;
  line-height:1.8;
}

/* CONTATO */

.contact-box{
  background:linear-gradient(to right,#2563eb,#7c3aed);

  padding:80px;

  border-radius:40px;

  text-align:center;

  box-shadow:0 30px 80px rgba(37,99,235,.25);
}

.contact-box span{
  color:white;
  text-transform:uppercase;
  letter-spacing:5px;
  font-size:13px;
  font-weight:800;
}

.contact-box h2{
  font-size:58px;
  color:white;

  margin:25px 0;
}

.contact-box p{
  color:rgba(255,255,255,.85);

  max-width:800px;
  margin:auto auto 50px;

  line-height:1.8;
}

form{
  display:grid;
  gap:20px;

  max-width:800px;
  margin:auto;
}

input,
textarea{
  width:100%;

  padding:22px;

  border:none;

  border-radius:20px;

  outline:none;

  font-size:16px;
}

textarea{
  min-height:180px;
  resize:none;
}

.submit-btn{
  border:none;
}

/* FOOTER */

footer{
  padding:40px 0;

  border-top:1px solid rgba(15,23,42,.06);
}

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

.footer-content p{
  color:#64748b;
}

/* RESPONSIVO */

@media(max-width:1100px){

  .projects-grid,
  .services-grid{
    grid-template-columns:1fr;
  }

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

  .contact-box h2{
    font-size:42px;
  }

}

@media(max-width:768px){

  section{
    padding:80px 0;
  }

  .contact-box{
    padding:40px 25px;
  }

  .contact-box h2{
    font-size:34px;
  }

  .footer-content{
    flex-direction:column;
    gap:20px;
    text-align:center;
  }

}

/* ÍCONES */

.badge i{
  color:#2563eb;
}

.btn{
  gap:12px;
}

.service-icon{
  display:flex;
  align-items:center;
  justify-content:center;

  color:white;

  font-size:28px;

  box-shadow:0 15px 40px rgba(37,99,235,.18);
}

.project-card img{
  transition:.5s;
}

.project-card:hover img{
  transform:scale(1.05);
}

.project-card{
  position:relative;
}

.project-card::before{
  content:'';

  position:absolute;
  inset:0;

  background:linear-gradient(
    to top,
    rgba(15,23,42,.12),
    transparent
  );

  z-index:1;

  pointer-events:none;
}

.project-content{
  position:relative;
  z-index:2;
}

/* HERO */

.hero-image img{
  min-height:650px;
  object-fit:cover;
}

/* CARDS PREMIUM */

.project-card,
.service-card{
  backdrop-filter:blur(10px);
}

.project-card:hover,
.service-card:hover{
  box-shadow:
  0 25px 60px rgba(15,23,42,.10),
  0 10px 20px rgba(37,99,235,.08);
}

/* INPUTS */

input,
textarea{
  transition:.3s;
}

input:focus,
textarea:focus{
  box-shadow:0 0 0 4px rgba(255,255,255,.18);
}

/* BOTÃO */

.submit-btn{
  height:70px;
  font-size:18px;
  font-weight:800;
}

.close-popup{
  position:absolute;

  top:20px;
  right:20px;

  width:50px;
  height:50px;

  border:none;

  border-radius:50%;

  background:#f1f5f9;

  display:flex;
  align-items:center;
  justify-content:center;

  color:#0f172a;

  font-size:22px;

  cursor:pointer;

  transition:.3s;
}

.close-popup:hover{
  transform:rotate(90deg);

  background:#e2e8f0;
}
