/* ===========================
   ESTILOS GERAIS (DARK MODE)
=========================== */
body {
  font-family: 'Inter', sans-serif;
  background-color: #0f172a;
  color: #e5e7eb;
  line-height: 1.7;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ===========================
   CONTAINERS E SEÇÕES
=========================== */
.main-container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.content-section {
  background-color: rgba(30, 41, 59, 0.8);
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.3s ease, transform 0.3s;
  backdrop-filter: blur(12px);
}

.content-section:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

/* ===========================
   CABEÇALHO
=========================== */
.site-header {
  background-color: rgba(15, 23, 42, 0.9);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
}

.header-content {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-title {
  font-size: 2rem;
  font-weight: 700;
  color: #10b981;
  letter-spacing: -0.02em;
}

.main-nav ul {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: #cbd5e1;
  font-weight: 500;
  position: relative;
  transition: color 0.3s, transform 0.2s;
}

.nav-link:hover {
  color: #10b981;
  transform: translateY(-1px);
}

.nav-link.active {
  color: #22c55e;
  font-weight: 700;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #22c55e;
  border-radius: 2px;
}

/* ===========================
   CONTEÚDO EM DESTAQUE
=========================== */
.featured-content {
  margin-top: 3rem;
}

.featured-content h3 {
  font-size: 1.875rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  color: #f1f5f9;
}

.cards-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.feature-card {
  background-color: rgba(30, 41, 59, 0.9);
  border-radius: 0.75rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6);
}

.card-image {
  width: 100%;
  height: 13rem;
  object-fit: cover;
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #f9fafb;
}

.card-description {
  color: #cbd5e1;
  font-size: 0.95rem;
}

.news-link {
  display: inline-block;
  margin-top: 0.75rem;
  color: #10b981;
  font-weight: 600;
  transition: color 0.2s;
}

.news-link:hover {
  color: #34d399;
}

/* ===========================
   CONTEÚDO PRINCIPAL
=========================== */
.content-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: #f9fafb;
}

.investimentos-title {
  color: #10b981;
}

/* ===========================
   FORMULÁRIO DE CONTATO
=========================== */
.form-group label {
  color: #e2e8f0;
}

.form-group input,
.form-group textarea {
  background-color: rgba(30, 41, 59, 0.9);
  border: 1px solid #334155;
  color: #f8fafc;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.25);
  outline: none;
}

.form-button {
  background-color: #10b981;
  color: #ffffff;
}

.form-button:hover {
  background-color: #059669;
}

/* ===========================
   RODAPÉ
=========================== */
.site-footer {
  background-color: #0f172a;
  color: #94a3b8;
  margin-top: 4rem;
}

.footer-content {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2rem 1rem;
  text-align: center;
}

.footer-content p:last-child {
  font-size: 0.875rem;
  color: #64748b;
}

/* ===========================
   ANIMAÇÃO
=========================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-card,
.content-section {
  animation: fadeInUp 0.5s ease forwards;
}
