@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

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

html { 
  scroll-behavior: smooth; 
  font-family: 'Roboto', sans-serif;
  background: linear-gradient(135deg, #ff006e, #8338ec, #3a86ff, #00f5d4, #fb5607); /* FUNDO COLORIDO ARCO-ÍRIS */
  min-height: 100vh;
}

body { 
  font-family: 'Roboto', sans-serif; 
  line-height: 1.6; 
  min-height: 100vh; 
  background: linear-gradient(135deg, #ff006e, #8338ec, #3a86ff, #00f5d4, #fb5607); /* FUNDO COLORIDO PREENCHIDO */
}

header {
  background: linear-gradient(135deg, #ff006e, #8338ec, #3a86ff, #00f5d4, #fb5607);
  text-align: center;
  padding: 5rem 2rem;
  color: white;
}

header h1 { font-size: 4rem; margin-bottom: 0.5rem; text-shadow: 3px 3px 6px rgba(0,0,0,0.3); }
header p { font-size: 1.5rem; opacity: 0.95; }

nav {
  position: fixed; top: 0; width: 100%;
  background: rgba(10, 10, 30, 0.95);
  backdrop-filter: blur(12px);
  z-index: 1000;
  padding: 0.8rem 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

nav ul { display: flex; justify-content: center; flex-wrap: wrap; list-style: none; gap: 0.5rem; }
nav li { margin: 0 0.8rem; }
nav a {
  color: white; text-decoration: none; font-weight: 700; font-size: 1.1rem;
  padding: 0.6rem 1.2rem; border-radius: 25px;
  transition: all 0.3s ease;
}
nav a:hover {
  background: rgba(255,255,255,0.15);
  color: #ffd700;
  transform: scale(1.05);
}

section {
  min-height: 100vh;
  padding: 140px 2rem 6rem;
  display: flex;
  align-items: center;
  position: relative;
}

.container { max-width: 1200px; margin: 0 auto; width: 100%; }

.tecnologia { background: linear-gradient(135deg, #007bff, #6610f2, #6f42c1); }
.natureza { background: linear-gradient(135deg, #28a745, #20c997, #ffc107); }
.arte { background: linear-gradient(135deg, #e83e8c, #fd7e14, #dc3545); }
.esportes { background: linear-gradient(135deg, #dc3545, #8B0000, #2d0000); }

section h2 { color: white; font-size: 3.5rem; text-shadow: 3px 3px 8px rgba(0,0,0,0.5); margin-bottom: 1rem; text-align: center; }
section > p { color: white; font-size: 1.3rem; text-align: center; max-width: 800px; margin: 0 auto 3rem; opacity: 0.95; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2.5rem;
}

.card {
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.card:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
  background: rgba(255, 255, 255, 0.2);
}

.card img {
  width: 100%; height: 280px; object-fit: cover;
  transition: all 0.4s ease;
  border-bottom: 3px solid rgba(255,255,255,0.2);
}

.card:hover img { transform: scale(1.1); }

.card-content { padding: 2rem; }

.card h3 {
  color: white;
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.card p {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 2px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
}

.btn:hover {
  transform: scale(1.08);
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.8);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  color: white;
}

footer {
  background: linear-gradient(135deg, #ff006e, #8338ec, #3a86ff, #00f5d4, #fb5607);
  color: white;
  text-align: center;
  padding: 3rem 2rem;
  font-size: 1.1rem;
  border-top: 3px solid rgba(255,255,255,0.1);
}

@media (max-width: 768px) {
  header h1 { font-size: 2.5rem; }
  header p { font-size: 1.2rem; }
  nav ul { flex-direction: column; align-items: center; gap: 0.3rem; }
  nav li { margin: 0; }
  section { padding: 120px 1rem 4rem; min-height: auto; }
  section h2 { font-size: 2.5rem; }
  section > p { font-size: 1.1rem; }
  .cards { grid-template-columns: 1fr; gap: 1.5rem; }
  .card img { height: 220px; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

section { animation: fadeInUp 0.8s ease; }
