:root{
  --bg:#05070c;
  --card:#0c1220;
  --border:rgba(255,255,255,.06);
  --text:#ffffff;
  --muted:#9aa1b3;
  --accent:#4da3ff;
  --accent2:#2563eb;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Inter',sans-serif;
}

html, body{
  min-height:100vh;
}

body{
  background: radial-gradient(circle at top,#0b1220,#05070c 60%);
  color:var(--text);
  display:flex;
  flex-direction:column;
}

/* NAVBAR */

header{
  position: fixed;
  width: 100%;
  top: 20px;
  padding: 0 20px;
  z-index:1000;
}

nav{
  max-width:1100px;
  margin:auto;
  padding:10px 16px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:rgba(15,20,30,.6);
  backdrop-filter:blur(12px);
  border:1px solid var(--border);
  border-radius:999px;
}

.logo{
  font-weight:500;
  color:var(--accent);
  font-size:1rem;
}

nav a{
  color:var(--muted);
  text-decoration:none;
  font-size:.9rem;
  margin-left:25px;
  transition:.3s;
}

nav a:hover{
  color:var(--text);
}

/* HERO */

.hero{
  min-height:60vh;
  display:flex;
  align-items:center;
  padding:120px 6% 0 6%;
  flex:1;
}

.hero-content{
  max-width:650px;
}

.hero h1{
  font-size:clamp(2.5rem,5vw,4rem);
  line-height:1.05;
  font-weight:700;
}

.hero h1 span{
  color:var(--muted);
}

.hero p{
  margin-top:1.5rem;
  color:var(--muted);
  font-size:1.05rem;
  max-width:520px;
}

.cta{
  display:inline-block;
  margin-top:2.5rem;
  padding:.9rem 1.9rem;
  border-radius:999px;
  text-decoration:none;
  font-weight:600;
  transition:.3s;
}

.secondary{
  border:1px solid rgba(255,255,255,.15);
  color:#fff;
  background:rgba(15,20,30,.6);
  backdrop-filter:blur(10px);
  box-shadow:0 10px 30px rgba(37,99,235,.25);
}

.secondary:hover{
  background:rgba(255,255,255,.05);
  transform:translateY(-3px);
  box-shadow:0 16px 40px rgba(37,99,235,.45);
}

/* PROJETOS */

.projects{
  padding:140px 6%;
  flex:1;
}

.section-header{
  text-align:center;
  margin-bottom:80px;
}

.section-header span{
  color:var(--accent);
  font-size:12px;
  letter-spacing:3px;
}

.section-header h2{
  font-size:40px;
  margin:15px 0;
}

.section-header p{
  color:var(--muted);
}

.projects-grid{
  max-width:1100px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:32px;
}

.project-card{
  position:relative;
  background:linear-gradient(180deg,#0c1220,#070a12);
  padding:40px 30px;
  border-radius:20px;
  border:1px solid var(--border);
  transition:.4s;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(37,99,235,.25);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  text-decoration:none;
  color:inherit;
  min-height:240px;
}

.project-card:hover{
  transform:translateY(-12px);
  border-color:rgba(77,163,255,.6);
}

.project-card h3{
  font-size:20px;
  margin-bottom:12px;
  line-height:1.3;
}

.project-card p{
  color:var(--muted);
  font-size:14px;
  margin-bottom:25px;
  line-height:1.6;
}

.project-card span{
  color:var(--accent);
  font-weight:600;
}

.overlay{
  position:absolute;
  top:-50%;
  left:-50%;
  width:200%;
  height:200%;
  background:radial-gradient(circle,rgba(77,163,255,.08),transparent 60%);
  transform:rotate(25deg);
  opacity:0;
  transition:.4s;
  pointer-events:none;
}

.project-card:hover .overlay{
  opacity:1;
}

/* RESPONSIVO */

@media(max-width:768px){
  nav{
    border-radius:18px;
  }

  .section-header h2{
    font-size:32px;
  }
}

.whatsapp-btn{
position:fixed;
bottom:20px;
right:20px;
display:flex;
align-items:center;
gap:10px;
padding:14px 22px;
border-radius:40px;
font-weight:600;
text-decoration:none;
color:white;
background:linear-gradient(45deg,#000000,#2404af,#000000,#04119c);
box-shadow:0 8px 25px rgba(0,0,0,0.4);
transition:0.3s;
}

.whatsapp-btn svg{
width:20px;
height:20px;
}

.whatsapp-btn:hover{
transform:translateY(-4px) scale(1.03);
}

