/* ===========================
   Reset e base
   =========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

html, body {
  height: 100%;
  overflow-x: hidden; /* evita barra horizontal por causa do full-bleed footer */
}

body {
  background: #fff;
  color: #2a2626;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  line-height: 1.6;
}

/* ===========================
   Header / Main
   =========================== */
header {
  background: #000;
  height: 400px; /* Aumentei de 300px para 400px */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

header h1, 
header p {
  color: white;
}

main {
  flex: 1;
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto; /* mantém o conteúdo centralizado */
}

/* ===========================
   Seção Sobre
   =========================== */
.sobre {
  max-width: 800px;
  margin: 40px auto;
  padding: 30px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(48, 45, 45, 0.08);
  text-align: center;
  line-height: 1.8;
  transition: transform 0.3s;
}
.sobre:hover { transform: translateY(-5px); }
.sobre h2 { font-size: 1.8rem; margin-bottom: 20px; color: #222; }
.sobre p  { margin-bottom: 15px; font-size: 1.1rem; color: #333; }

/* ===========================
   Botão Projetos
   =========================== */
.center-btn { text-align: center; }

.btn-projetos {
  display: inline-block;
  padding: 12px 24px;
  margin: 30px 0;
  background: #222;
  color: #e1dcdc;
  font-size: 1.1rem;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
  cursor: pointer;
  border: none;
}
.btn-projetos:hover { background: #444; transform: scale(1.05); }

/* ===========================
   Projetos - efeito cortina
   =========================== */
#projetos {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 30px; /* padding horizontal inicial */
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: left;

  /* cortina */
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.8s ease, opacity 0.6s ease, padding 0.5s ease;
}
#projetos.mostrando {
  max-height: 1200px; /* ajuste se necessário */
  opacity: 1;
  padding: 30px;
}
#projetos h2 { text-align: center; margin-bottom: 20px; }
#projetos ul { list-style: none; padding: 0; }
#projetos li { margin: 12px 0; font-size: 1.1rem; }
#projetos a { color: #040404; text-decoration: none; font-weight: bold; }
#projetos a:hover { text-decoration: underline; }

/* imagens de projetos */
.imagem-projeto { display: block; margin: 20px auto 0; max-width: 100%; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }

/* ===========================
   Footer full-bleed
   =========================== */
.site-footer {
  background: #0c0b0b;
  color: #fff;
  text-align: center;
  padding: 30px 20px;
  border-radius: 0;
  box-sizing: border-box;
  max-width: none !important;
  margin: 0 !important;
}

.site-footer.full-bleed {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  left: 0;
  right: 0;
}

.site-footer .social-icons {
  max-width: 900px;
  margin: 0 auto;
}

footer h2 { margin-bottom: 15px; font-size: 1.4em; }
footer p  { font-size: 0.9em; margin-top: 10px; opacity: 0.8; }

/* ===========================
   Ícones sociais
   =========================== */
.social-icons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-bottom: 15px;
  flex-wrap: wrap;
}
.social-icons a {
  display: inline-block;
  margin: 0 8px;
  font-size: 22px;
  color: white;
  text-decoration: none;  /* removendo o sublinhado */
  border-bottom: none;    /* garante que não apareça linha preta */
  transition: transform 0.2s ease;
}
.social-icons .icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4em;
  color: rgb(3, 3, 3);
  transition: transform 0.2s ease, background 0.2s ease;
}
.social-icons .icon:hover { transform: scale(1.1); }
.social-icons .whatsapp:hover { background: #25d366; color: white; }
.social-icons .github:hover   { background: #333; color: white; }
.social-icons .discord:hover  { background: #5865F2; color: white; }
.social-icons .instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: white;
}
.social-icons .email:hover   { background: #D44638; color: white; }

/* ===========================
   Responsividade
   =========================== */
@media (max-width: 768px) {
  header { height: 300px; } /* Mantém menor no mobile */
  header h1 { font-size: 2em; }
  header p  { font-size: 1em; }
  .sobre, #projetos { padding: 20px; }
  .btn-projetos { font-size: 1rem; padding: 10px 18px; }
}