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

:root {
  --primary: #00ddeb;
  --secondary: #1e1a3c;
  --accent: #ff2e63;
  --text: #f0f0f5;
  --gradient: linear-gradient(45deg, #00ddeb, #6b5b95);
  --shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  --transition: all 0.3s ease;
}

html {
  font-family: "Inter", sans-serif;
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  background: var(--secondary);
  color: var(--text);
  margin: 0 auto;
  max-width: 1200px;
  padding: 2rem;
}

/* Reusable button */
.btn {
  display: inline-block;
  text-decoration: none;
  background: var(--accent);
  color: var(--text);
  padding: 1.2rem 2.4rem;
  border-radius: 0.8rem;
  font-size: 1.6rem;
  font-weight: 600;
  transition: var(--transition);
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow);
}

/* Menu */
.menu {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(30, 26, 60, 0.8);
  backdrop-filter: blur(10px);
  padding: 1.5rem 2rem;
  z-index: 1000;
}

.logo-img {
  width: 10rem;
}

.title-menu {
  display: flex;
  gap: 3rem;
}

.title-menu li {
  list-style: none;
}

.title-menu li a {
  text-decoration: none;
  color: var(--text);
  font-size: 1.8rem;
  font-weight: 400;
  transition: var(--transition);
}

.title-menu li a:hover,
.title-menu li a[aria-current="page"] {
  color: var(--primary);
}

/* Hero */
.hero {
  min-height: 80vh;
  display: grid;
  place-items: center;
  background: var(--gradient);
  animation: gradient 8s ease infinite;
  text-align: center;
  padding: 4rem 2rem;
  border-radius: 1.2rem;
}

@keyframes gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-content h1 {
  font-size: 5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.hero-content p {
  font-size: 2rem;
  font-weight: 300;
  max-width: 60rem;
  margin: 0 auto 3rem;
}

/* Projetos */
.projetos {
  padding: 6rem 0;
  text-align: center;
}

.projetos h2 {
  font-size: 3.6rem;
  font-weight: 600;
  margin-bottom: 4rem;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(32rem, 1fr));
  gap: 3rem;
}

.card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1.2rem;
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-1rem);  
  box-shadow: 0 0 15px rgba(0, 221, 235, 0.4);
}

.card-content {
  padding: 2rem;
}

.card-content h3 {
  font-size: 2.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.card-content p {
  font-size: 1.6rem;
  font-weight: 300;
  margin-bottom: 2rem;
}

/* Contato */
.contato {
  padding: 6rem 0;
  text-align: center;
}

.contato h2 {
  font-size: 3.6rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.contato p {
  font-size: 1.8rem;
  font-weight: 300;
  margin-bottom: 3rem;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: center;
}

.social-links a {
  text-decoration: none;
  color: var(--primary);
  font-size: 1.8rem;
  transition: var(--transition);
}

.social-links a:hover {
  color: var(--accent);
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer p {
  font-size: 1.4rem;
  font-weight: 300;
}

/* Media Queries */
@media (max-width: 768px) {
  body { padding: 1.5rem; }
  .hero-content h1 { font-size: 3.6rem; }
  .hero-content p { font-size: 1.6rem; }
  .title-menu li a { font-size: 1.6rem; }
  .cards-container { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .logo-img { width: 8rem; }
  .title-menu { gap: 1.5rem; }
  .hero-content h1 { font-size: 2.8rem; }
}
