/* style.css */

html{
  scroll-behavior:smooth;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:'Inter',sans-serif;
  color:#f5f5f5;
  line-height:1.6;
  background:
    radial-gradient(circle at top right, rgba(61,220,151,.06), transparent 35%),
    #0d1117;
}

a{
  text-decoration:none;
  color:inherit;
}

.container{
  width:min(1180px,92%);
  margin:0 auto;
}

/* HEADER */

header{
  position:fixed;
  top:0;
  width:100%;
  z-index:1000;
  background:rgba(13,17,23,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(255,255,255,.05);
}

.nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:22px 0;
}

.logo{
  font-size:1.2rem;
  font-weight:700;
}

.logo span{
  color:#3ddc97;
}

.menu{
  display:flex;
  gap:32px;
  color:#c9d1d9;
}

.menu a{
  transition:.2s;
}

.menu a:hover{
  color:#3ddc97;
}

/* HERO */

.hero{
  min-height:100vh;
  display:flex;
  align-items:center;
  padding-top:100px;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:60px;
  align-items:center;
}

.hero small{
  display:inline-block;
  margin-bottom:18px;
  color:#3ddc97;
  text-transform:uppercase;
  letter-spacing:2px;
  font-weight:600;
}

.hero h1{
  font-size:clamp(2.8rem,5vw,5rem);
  line-height:1.05;
  margin-bottom:24px;
  max-width:780px;
}

.hero p{
  color:#aab3bd;
  font-size:1.08rem;
  max-width:620px;
}

.buttons{
  display:flex;
  gap:16px;
  margin-top:34px;
  flex-wrap:wrap;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:15px 28px;
  border-radius:14px;
  font-weight:600;
  transition:.25s;
}

.btn-primary{
  background:#3ddc97;
  color:#0d1117;
}

.btn-primary:hover{
  transform:translateY(-3px);
  background:#4ff3aa;
}

.btn-secondary{
  border:1px solid rgba(255,255,255,.12);
}

.btn-secondary:hover{
  border-color:#3ddc97;
  color:#3ddc97;
}

.hero-proof{
  margin-top:24px;
  color:#96a2ad;
  font-size:.95rem;
  max-width:600px;
}

.hero-card{
  background:linear-gradient(180deg,#151b23,#0f141a);
  border:1px solid rgba(255,255,255,.06);
  border-radius:28px;
  padding:34px;
  box-shadow:0 30px 80px rgba(0,0,0,.35);
}

.code-top{
  display:flex;
  gap:8px;
  margin-bottom:22px;
}

.dot{
  width:12px;
  height:12px;
  border-radius:50%;
}

.dot:nth-child(1){background:#ff5f57;}
.dot:nth-child(2){background:#ffbd2e;}
.dot:nth-child(3){background:#28c840;}

.code{
  font-family:monospace;
  line-height:1.9;
}

.green{color:#3ddc97;}
.blue{color:#69b7ff;}
.purple{color:#b58cff;}

/* DIFERENCIAIS */

.diferenciais{
  padding:30px 0 20px;
}

.diferenciais-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}

.diferencial-card,
.project-card,
.process-card,
.about-card,
.tech-card,
.links-card{
  background:#131922;
  border:1px solid rgba(255,255,255,.06);
  border-radius:24px;
  box-shadow:0 10px 30px rgba(0,0,0,.18);
}

.diferencial-card{
  padding:28px;
}

.diferencial-card h3{
  margin-bottom:12px;
}

.diferencial-card p{
  color:#aeb8c2;
}

/* SEÇÕES */

section{
  padding:110px 0;
}

.section-title{
  font-size:2.4rem;
  line-height:1.2;
  margin-bottom:18px;
}

.projects-tag{
  display:inline-block;
  margin-bottom:14px;
  color:#3ddc97;
  text-transform:uppercase;
  letter-spacing:2px;
  font-size:.82rem;
  font-weight:600;
}

/* PROJETOS */

.projects-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:28px;
  margin-top:48px;
}

.project-card{
  position:relative;
  overflow:hidden;
  padding:32px;
  transition:.3s;
}

.project-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(135deg, rgba(61,220,151,.12), transparent 45%);
  opacity:0;
  transition:.3s;
}

.project-card:hover{
  transform:translateY(-6px);
  border-color:rgba(61,220,151,.35);
}

.project-card:hover::before{
  opacity:1;
}

.project-icon{
  width:72px;
  height:72px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:20px;
  background:rgba(61,220,151,.1);
  font-size:2rem;
  margin-bottom:22px;
}

.project-mini{
  display:block;
  margin-bottom:8px;
  color:#3ddc97;
  text-transform:uppercase;
  letter-spacing:1px;
  font-size:.8rem;
}

.project-card h3{
  font-size:1.3rem;
  margin-bottom:14px;
}

.project-card p,
.section-subtitle{
  color:#aeb8c2;
}

/* PROCESSO */

.process-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
  margin-top:42px;
}

.process-card{
  padding:30px;
}

.process-card strong{
  display:inline-flex;
  width:42px;
  height:42px;
  align-items:center;
  justify-content:center;
  background:#3ddc97;
  color:#0d1117;
  border-radius:50%;
  margin-bottom:18px;
}

.process-card h3{
  margin-bottom:12px;
}

/* SOBRE */

.about-grid{
  display:grid;
  grid-template-columns:1.4fr .9fr;
  gap:32px;
  margin-top:40px;
}

.about-card,
.tech-card,
.links-card{
  padding:32px;
}

.about-side{
  display:flex;
  flex-direction:column;
  gap:24px;
}

.about-card p{
  color:#b6c0ca;
  margin-bottom:22px;
}

.about-card strong{
  color:#3ddc97;
}

.tech-list{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:18px;
}

.tech-list span{
  background:rgba(61,220,151,.08);
  border:1px solid rgba(61,220,151,.18);
  color:#3ddc97;
  padding:10px 14px;
  border-radius:999px;
}

.profile-link{
  display:flex;
  align-items:center;
  gap:12px;
  padding:16px 18px;
  margin-top:14px;
  background:#0f141a;
  border:1px solid rgba(255,255,255,.05);
  border-radius:16px;
  transition:.25s;
}

.profile-link:hover{
  color:#3ddc97;
  border-color:rgba(61,220,151,.35);
}

/* CTA */

.cta{
  text-align:center;
  background:linear-gradient(180deg,#11161d,#0d1117);
  border-top:1px solid rgba(255,255,255,.05);
  border-bottom:1px solid rgba(255,255,255,.05);
}

.cta h2{
  font-size:2.5rem;
  margin-bottom:20px;
}

.cta p{
  max-width:700px;
  margin:0 auto 34px;
  color:#9ca6b1;
}

/* FOOTER */

footer{
  padding:50px 0;
}

.footer-grid{
  display:flex;
  justify-content:space-between;
  gap:30px;
  align-items:center;
}

.footer-links{
  display:flex;
  gap:24px;
  color:#96a2ad;
}

.footer-links a:hover{
  color:#3ddc97;
}

/* RESPONSIVO */

@media(max-width:900px){

  .menu{
    display:none;
  }

  .hero{
    padding-top:140px;
  }

  .hero-grid,
  .about-grid,
  .process-grid,
  .diferenciais-grid,
  .footer-grid{
    grid-template-columns:1fr;
    display:grid;
  }

  .hero h1{
    font-size:2.8rem;
  }

  .projects-grid{
    grid-template-columns:1fr;
  }

  .footer-links{
    flex-direction:column;
    gap:12px;
  }
}