/* Reset e configurações básicas */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: linear-gradient(135deg, #8b4513 0%, #a0522d 50%, #cd853f 100%);
  color: white;
  padding: 2rem 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo {
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.title {
  font-size: 2.5rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Main content */
.main {
  padding: 3rem 0;
}

.content {
  background: white;
  border-radius: 12px;
  padding: 3rem;
  box-shadow: 0 8px 24px rgba(139, 69, 19, 0.1);
  border: 1px solid #e6d7c3;
}

.section {
  margin-bottom: 2.5rem;
}

.section:last-child {
  margin-bottom: 0;
}

h2 {
  color: #8b4513;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #deb887;
}

h3 {
  color: #a0522d;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 1.5rem 0 0.8rem 0;
}

p {
  margin-bottom: 1rem;
  text-align: justify;
  color: #3c2415;
}

strong {
  color: #8b4513;
  font-weight: 600;
}

a {
  color: #cd853f;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

a:hover {
  color: #8b4513;
  text-decoration: underline;
}

/* Tabela de versões */
.version-table {
  margin: 2rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  background: #faf8f5;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(139, 69, 19, 0.1);
}

th {
  background: #8b4513;
  color: white;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}

td {
  padding: 1rem;
  border-bottom: 1px solid #e6d7c3;
}

tr:last-child td {
  border-bottom: none;
}

tr:nth-child(even) {
  background: #f5f2ed;
}

/* Informações de contato */
.contact-info {
  background: #f5f2ed;
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid #cd853f;
  margin-top: 2rem;
}

.contact-info h3 {
  color: #8b4513;
  margin-top: 0;
}

/* Footer */
.footer {
  background: #2c1810;
  color: #deb887;
  text-align: center;
  padding: 2rem 0;
  margin-top: 3rem;
}

/* Responsividade */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .title {
    font-size: 2rem;
  }

  .logo {
    width: 60px;
    height: 60px;
  }

  .content {
    padding: 2rem 1.5rem;
    margin: 0 10px;
  }

  .container {
    padding: 0 15px;
  }

  table {
    font-size: 0.9rem;
  }

  th,
  td {
    padding: 0.8rem 0.5rem;
  }
}

@media (max-width: 480px) {
  .title {
    font-size: 1.5rem;
  }

  .content {
    padding: 1.5rem 1rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  table {
    font-size: 0.8rem;
  }

  th,
  td {
    padding: 0.6rem 0.4rem;
  }
}

/* Animações suaves */
.section {
  animation: fadeInUp 0.6s ease-out;
}

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

/* Melhorias de acessibilidade */
:focus {
  outline: 2px solid #cd853f;
  outline-offset: 2px;
}

/* Scroll suave */
html {
  scroll-behavior: smooth;
}
