:root{
  --bg:#000;
  --card: rgba(0,0,0,.60);
  --card2: rgba(0,0,0,.28);
  --gold: #d4af37;
  --green:#00ff88;
  --text:rgba(255,215,0,.75);
  --muted: rgba(255,255,255,.75);
  --border: rgba(255,215,0,.75);
}

*{ box-sizing:border-box; }

body{
  margin:0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x:hidden;
}

/* estrelas */
#star-container{
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
}
.star{
  position:absolute;
  background:white;
  border-radius:50%;
  opacity:.55;
  animation: blink 4s infinite;
}
@keyframes blink{
  0%,100%{ opacity:.15 }
  50%{ opacity:1 }
}

/* header */
header{
  display:flex;
  justify-content:center;
  gap:60px;
  padding:18px 14px;
  background: rgba(0,0,0,.92);
  border-bottom: 1px solid rgba(255,255,255,.06);
  position: sticky;
  top: 0;
  z-index: 50;
}
header a{
  color: var(--green);
  text-decoration:none;
  font-weight:bold;
}
header a:hover{
  text-shadow: 0 0 10px rgba(0,255,136,.35);
}
@media(max-width:700px){
  header{ gap:20px; flex-wrap:wrap; }
}

/* container padrão das páginas */
.page-wrap{
  max-width: 980px;
  margin: 0 auto;
  padding: 26px 18px 80px;
}

/* hero do sobre mim */
.hero{
  display:flex;
  align-items:center;
  gap:22px;
  flex-wrap:wrap;
  padding: 24px 0 10px;
}

.avatar-wrap{
  width: 170px;
  height: 170px;
  border-radius: 50%;
  padding: 6px;
  background: radial-gradient(circle at 30% 30%, rgba(255,215,0,.85), rgba(212,175,55,.25));
  box-shadow: 0 0 24px rgba(212,175,55,.25);
}

.avatar-img{
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;

  /* AJUSTE AQUI se quiser centralizar mais no rosto */
  object-position: center 35%;

  border: 2px solid rgba(0,0,0,.55);
  display:block;
}

.hero-text{
  flex: 1;
  min-width: 240px;
}

.nome-titulo{
  font-size: 44px;
  margin: 0 0 6px;
  letter-spacing: .3px;
}
.subtitulo{
  margin: 0;
  color: var(--muted);
}

@media(max-width:700px){
  .nome-titulo{ font-size: 34px; }
  .avatar-wrap{ width:140px; height:140px; }
}

/* cards padrão */
.about-card{
  margin-top: 22px;
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 22px;
  padding: 22px 20px;
  box-shadow: 0 0 25px rgba(212,175,55,0.18);
}
.about-card h2{ margin:0 0 10px; }
.about-card p{ line-height:1.55; color: rgba(255,255,255,.92); }

/* páginas títulos */
.page-title{
  margin: 10px 0 6px;
  font-size: 34px;
}
.page-subtitle{
  margin: 0 0 18px;
  color: var(--muted);
}

/* projetos */
.projects-grid{
  display:grid;
  gap:16px;
}

.project-card{
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 22px;
  padding: 22px 20px;
  box-shadow: 0 0 25px rgba(212,175,55,0.18);
}

.project-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  margin-bottom: 10px;
}

.project-title{
  margin:0;
  font-size: 22px;
}

.project-badge{
  font-size: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.25);
  color: rgba(255,255,255,.88);
}

.project-desc{
  margin: 0 0 14px;
  color: rgba(255,255,255,.86);
  line-height: 1.5;
}

.project-list{
  list-style:none;
  padding:0;
  margin: 0 0 16px;
  display:grid;
  gap:6px;
  color: rgba(255,255,255,.92);
}

.project-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

/* botões verdes */
.btn-green{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  background:#00cc66;
  border:none;
  padding:12px 18px;
  border-radius:14px;
  font-weight:900;
  cursor:pointer;
  color:#07140c;
  text-decoration:none;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}
.btn-green:hover{
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 0 18px rgba(0,204,102,.22);
}
.btn-green:active{ transform: translateY(0); }
/* =========================
   CONTATOS (ADICIONE NO FINAL)
========================= */

/* garante que conteúdo fique acima das estrelas em qualquer página */
header, .page-wrap { position: relative; z-index: 2; }

/* ajuste das estrelas (mais seguro que z-index:-1) */
#star-container{ z-index: 0; }
body{ position: relative; }
.page-wrap{ position: relative; z-index: 2; }

/* página contatos: você está usando .contato-container + .contact-card */
.contato-container{
  max-width: 980px;
  margin: 0 auto;
  padding: 26px 18px 80px;
}

/* o card real */
.contact-card{
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 22px;
  padding: 22px 20px;
  box-shadow: 0 0 25px rgba(212,175,55,0.18);
}

/* título e texto */
.contact-card h1{
  margin: 0 0 8px;
  font-size: 38px;
  color: var(--gold);
  display:flex;
  align-items:center;
  gap:10px;
}

.contact-card p{
  margin: 0 0 18px;
  color: var(--muted);
}

/* grid dos botões */
.social-icons{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin: 16px 0 18px;
}

/* botão social */
.social-btn{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.22);
  color: rgba(255,255,255,.92);
  text-decoration:none;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, filter .18s ease;
}
.social-btn:hover{
  transform: translateY(-2px);
  border-color: var(--border);
  box-shadow: 0 0 16px rgba(212,175,55,0.18);
  filter: brightness(1.05);
}
.social-btn:active{ transform: translateY(0); }

/* “quadradinho” do ícone */
.social-ic{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.10);
  flex: 0 0 auto;
}

/* SVG dentro do social-ic */
.social-ic svg{
  width: 22px;
  height: 22px;
  fill: currentColor;
  color: rgba(255,255,255,.95);
}

/* formulário */
.form-card{
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.10);
}

.form-card h2{
  margin: 0 0 10px;
  font-size: 20px;
  color: rgba(255,255,255,.92);
}

label{
  display:block;
  margin: 10px 0 6px;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}

input, textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.35);
  color: rgba(255,255,255,.92);
  outline: none;
}

textarea{ min-height: 120px; resize: vertical; }

input:focus, textarea:focus{
  border-color: rgba(0,255,136,.55);
  box-shadow: 0 0 0 3px rgba(0,255,136,.12);
}

/* texto mini */
.mini{
  margin: 10px 0 0;
  font-size: 13px;
  color: rgba(255,255,255,.70);
}

/* responsivo */
@media(max-width:700px){
  .contact-card h1{ font-size: 30px; }
  .social-btn{ width: 100%; }
}

