/*
Theme Name: CoreLabs
Theme URI: https://corelabs.local
Author: ChatGPT
Description: Tema WordPress ultra rápido inspirado em grandes portais tech.
Version: 1.0
*/

:root{
  --bg:#0b1020;
  --card:#121a2b;
  --text:#f4f7ff;
  --muted:#8fa3c7;
  --accent:#1e90ff;
}

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

body{
  font-family: Arial, sans-serif;
  background:#0b1020;
  color:var(--text);
  line-height:1.6;
}

a{
  color:inherit;
  text-decoration:none;
}

.container{
  width:min(1180px,92%);
  margin:auto;
}

header{
  position:sticky;
  top:0;
  background:rgba(11,16,32,.95);
  border-bottom:1px solid rgba(255,255,255,.06);
  backdrop-filter: blur(8px);
  z-index:999;
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 0;
}

.logo{
  font-size:32px;
  font-weight:800;
}

.logo span{
  color:var(--accent);
}

.menu{
  display:flex;
  gap:24px;
  color:var(--muted);
}

.hero{
  padding:60px 0;
}

.hero-grid{
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:24px;
}

.hero-main{
  background:linear-gradient(135deg,#11192d,#182544);
  border-radius:20px;
  padding:40px;
  min-height:320px;
}

.hero-main h1{
  font-size:52px;
  margin-bottom:18px;
}

.hero-main p{
  color:var(--muted);
  max-width:700px;
}

.card{
  background:var(--card);
  border-radius:18px;
  padding:22px;
  border:1px solid rgba(255,255,255,.05);
  transition:.2s ease;
}

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

.grid-posts{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:22px;
  margin:40px 0;
}

.thumb{
  height:160px;
  border-radius:14px;
  background:linear-gradient(135deg,#1e90ff,#1b4ea3);
  margin-bottom:18px;
}

.card h2{
  font-size:22px;
  margin-bottom:12px;
}

.card p{
  color:var(--muted);
}

footer{
  padding:50px 0;
  color:var(--muted);
  border-top:1px solid rgba(255,255,255,.05);
  margin-top:60px;
}

@media(max-width:900px){
  .hero-grid{
    grid-template-columns:1fr;
  }

  .hero-main h1{
    font-size:38px;
  }

  .menu{
    display:none;
  }
}
