:root{
  --bg:#07060a;
  --paper:#ffffff;
  --muted:#cfc9d9;
  --accent:#8b5cf6;
  --accent-2:#6d28d9;
  --glass: rgba(255,255,255,0.03);
  --radius:14px;
  --max-width:1200px;
}

* {box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: radial-gradient(1200px 400px at 50% 10%, rgba(139,92,246,0.04), transparent), var(--bg);
  color:var(--paper);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  padding:28px 20px;
  line-height:1.45;
}

#tProjetos {
    margin-top: 36px;
    margin-bottom: 12px;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
}

.wrap{max-width:var(--max-width);margin:0 auto}

header{display:flex;justify-content:space-between;align-items:center;margin-bottom:36px}
.brand{display:flex;gap:12px;align-items:center}
.logo{width:58px;height:58px;border-radius:12px;background:linear-gradient(90deg,var(--accent),var(--accent-2));display:flex;align-items:center;justify-content:center;font-weight:800;font-size:20px;color:white;box-shadow:0 8px 30px rgba(109,40,217,0.16)}
.name{font-weight:700}
.top-links{display:flex;gap:14px;align-items:center}
.link{color:var(--muted);text-decoration:none;font-weight:600}
.inst{background:transparent;border:1px solid rgba(255,255,255,0.06);padding:8px 12px;border-radius:999px;color:var(--muted);font-weight:700}

/* Hero similar to the image: big, dark panel */
.hero{background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.12));border-radius:18px;padding:28px;display:grid;grid-template-columns:1fr 420px;gap:26px;align-items:center;box-shadow:0 20px 50px rgba(0,0,0,0.6);border:1px solid rgba(255,255,255,0.03)}

.about h1{font-size:46px;margin:0 0 10px;line-height:1.02}
.about p{color:var(--muted);font-size:16px;margin:0 0 18px}
.cta-row{display:flex;gap:12px}
.btn{background:linear-gradient(90deg,var(--accent),var(--accent-2));border:none;padding:12px 18px;border-radius:12px;color:white;font-weight:700;cursor:pointer}
.ghost{background:transparent;border:1px solid rgba(255,255,255,0.06);padding:10px 14px;border-radius:12px;color:var(--muted);cursor:pointer}

.photo-wrap{display:flex;flex-direction:column;align-items:center;gap:12px}
.photo{width:340px;height:340px;border-radius:18px;overflow:hidden;border:1px solid rgba(255,255,255,0.04);background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.08));display:flex;align-items:center;justify-content:center}
.photo img{width:100%;height:100%;object-fit:cover;display:block}
.caption{color:var(--muted);font-size:13px}

.hint{display:flex;justify-content:center;margin-top:8px;opacity:0.9}
.arrow{width:28px;height:28px;border-radius:8px;background:rgba(255,255,255,0.02);display:flex;align-items:center;justify-content:center}

section.projects{margin-top:36px}
.projects-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.project-card{position:relative;border-radius:12px;overflow:hidden;min-height:180px;cursor:pointer;border:1px solid rgba(255,255,255,0.04);background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.08));display:flex;align-items:center;justify-content:center}
.project-card img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .45s ease;transform-origin:center}
.project-card:hover img{transform:scale(1.06)}
.project-overlay{position:absolute;inset:0;background:linear-gradient(180deg, transparent, rgba(0,0,0,0.45));display:flex;align-items:flex-end;padding:14px}
.project-title{font-weight:700}

footer{margin-top:28px;text-align:center;color:var(--muted);font-size:13px}

@media (max-width:980px){
  .hero{grid-template-columns:1fr}
  .photo{width:100%;height:320px}
  .projects-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:560px){
  header{flex-direction:column;align-items:flex-start;gap:12px}
  .projects-grid{grid-template-columns:1fr}
  .about h1{font-size:32px}
}
