/* ===============================
   ESTILOS GERAIS
================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #fff;
  background: linear-gradient(135deg, #002f5d, #278ff5);
  transition: background 0.5s ease;
}

/* MODO ESCURO AUTOMÁTICO */
@media (prefers-color-scheme: dark) {
  body {
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
    color: #eee;
  }
}

/* ===============================
   CABEÇALHO
================================= */
.topo {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 8%;
  z-index: 1000;
  transition: all 0.3s ease;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}
.logo span {
  color: #278ff5;
}

.menu a {
  color: #fff;
  margin-left: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.menu a:hover {
  color: #278ff5;
}

.btn {
  background: #278ff5;
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.3s ease;
}
.btn:hover {
  background: #fff;
  color: #002f5d;
}

/* ===============================
   SEÇÃO HERO (início)
================================= */
.hero {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 100px 20px 60px;
  background: transparent;
}

.hero h1 {
  font-size: 2rem;
  max-width: 800px;
  margin: 0 auto 20px;
}

.hero p {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1rem;
  line-height: 1.6;
}

/* ===============================
   PORTFÓLIO
================================= */
.portfolio {
  padding: 80px 8%;
  background: #f4f4f4;
  color: #222;
  text-align: center;
}

.portfolio h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #002f5d;
}

.feed {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.post img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* ===============================
   RODAPÉ
================================= */
.rodape {
  background: #002f5d;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}

.rodape h2 {
  margin-bottom: 15px;
  font-size: 1.8rem;
}

.redes {
  margin: 20px 0;
}
.redes a {
  color: #fff;
  margin: 0 10px;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}
.redes a:hover {
  color: #278ff5;
}

.copy {
  margin-top: 25px;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ===============================
   RESPONSIVIDADE
================================= */
@media (max-width: 768px) {
  .menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 0, 0, 0.9);
    position: absolute;
    top: 60px;
    right: 8%;
    border-radius: 10px;
    padding: 10px;
    display: none;
  }

  .menu a {
    margin: 10px 0;
  }

  .topo {
    flex-direction: column;
  }

  .hero h1 {
    font-size: 1.5rem;
  }
}/* ... (todo o CSS anterior permanece igual) ... */

/* ===============================
   EFEITO FADE-IN NAS SEÇÕES
================================= */
.fade-section {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

.fade-section.visible {
  opacity: 1;
  transform: translateY(0);
}

