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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #2e2e2e;
  background-color: #f4f6fa;
}

header {
  background: #00bfff;
  color: #fff;
  padding: 0.8rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  text-align: center;
}

header ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}

header ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  transition: all 0.3s ease;
}

header ul li a:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

header ul li:last-child a {
  background-color: #b15eff;
  font-weight: 600;
}

header ul li:last-child a:hover {
  background-color: #9e47e8;
  box-shadow: 0 4px 15px rgba(177, 94, 255, 0.4);
}

#title h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  color: #222;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15);
}

main {
  max-width: 1200px;
  margin: auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: 70vh;
}

aside {
  padding: 2rem;
  animation: fadeInUp 0.8s ease-out;
}

aside h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #3a6073;
}

aside p {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 2rem;
  line-height: 1.8;
}

article {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  animation: fadeInUp 0.8s ease-out 0.2s;
}

#img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

#img:hover {
  transform: scale(1.05);
}

article::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  right: -20px;
  bottom: -20px;
  background: linear-gradient(135deg, #3a6073, #16222a);
  border-radius: 20px;
  z-index: -1;
  opacity: 0.05;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #b15eff, #9b4dff);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
  cursor: pointer;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(177, 94, 255, 0.5);
}

footer {
  background-color: #16222a;
  color: #fff;
  text-align: center;
  padding: 2rem;
  margin-top: 4rem;
}

footer p {
  font-size: 0.9rem;
  opacity: 0.8;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 70px);
  padding: 2rem;
  width: 100%;
}

.card {
  background: #5a4b81;
  color: #fff;
  text-align: center;
  padding: 1.5rem;
  border-radius: 10px;
  width: 500px;
  max-width: 90%;
  box-shadow: 0 8px 32px rgba(90, 75, 129, 0.3);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(90, 75, 129, 0.5);
}

.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #fff;
  font-size: 0.9rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  background-color: rgba(255, 255, 255, 0.95);
}

.card .cta-button {
  width: 100%;
  margin-top: 1rem;
  background: linear-gradient(135deg, #ff758c, #ff7eb3);
}

.card .cta-button:hover {
  background: linear-gradient(135deg, #ff5b72, #ff6a9f);
  transform: translateY(-2px);
}

.contatos-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contatos-section h2 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.contatos-list {
  list-style: none;
  padding: 0;
  text-align: left;
}

.contatos-list li {
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.contatos-list a {
  color: #fcd34d;
  text-decoration: none;
  font-weight: 500;
}

.contatos-list a:hover {
  color: #fde68a;
  text-decoration: underline;
}

.active {
  background-color: rgba(255, 255, 255, 0.15) !important;
}

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

@media (max-width: 768px) {
  header {
    padding: 0.6rem 0;
  }

  header ul {
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0 1rem;
  }

  main {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1rem;
    text-align: center;
  }

  aside h2 {
    font-size: 2.2rem;
  }

  aside p {
    font-size: 1.1rem;
  }

  article {
    order: -1;
  }

  .container {
    padding: 1rem;
  }

  .card {
    padding: 1.5rem;
    width: 100%;
  }

  .form-group input,
  .form-group select {
    padding: 0.6rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  header ul {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem;
  }

  aside h2 {
    font-size: 1.8rem;
  }

  aside p {
    font-size: 1rem;
  }

  .cta-button {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }

  .card {
    padding: 1rem;
    border-radius: 12px;
  }

  .contatos-section h2 {
    font-size: 1.1rem;
  }

  .contatos-list li {
    font-size: 0.85rem;
  }
}
