/* =====================================================
   RESET
===================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f8fafc;
  color: #0f172a;
  line-height: 1.75;
}

/* =====================================================
   LAYOUT
===================================================== */

.container {
  max-width: 920px;
  margin: 0 auto;
  padding: 80px 28px 100px;
}

/* =====================================================
   HEADER
===================================================== */

.header-simple {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}

/* =====================================================
   LOGO
===================================================== */

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: hsl(220 70% 25%);
  letter-spacing: -0.5px;
}

.logo span {
  color: hsl(200 85% 45%);
}

/* =====================================================
   LANGUAGE SWITCHER
===================================================== */

.lang-switcher {
  display: flex;
  gap: 8px;
}

.lang-switcher button {
  border: 1px solid #e2e8f0;
  background: white;
  padding: 6px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.lang-switcher button:hover {
  background: #2563eb;
  color: white;
  border-color: #2563eb;
}

.lang-switcher button.active {
  background: #2563eb;
  color: white;
  border-color: #2563eb;
}

/* =====================================================
   TYPOGRAPHY
===================================================== */

h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}

.updated {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 42px;
}

h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 14px;
  letter-spacing: -0.2px;
}

p {
  font-size: 1rem;
  margin-bottom: 14px;
  color: #1e293b;
  text-align: justify;
}

ul {
  margin: 14px 0 18px 22px;
}

li {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

/* =====================================================
   CARD
===================================================== */

.card {
  background: #ffffff;
  border-radius: 14px;
  padding: 40px 44px;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.03),
    0 10px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid #eef2f7;
}

/* =====================================================
   HIGHLIGHT
===================================================== */

.highlight {
  background: #f1f5f9;
  border-left: 4px solid #2563eb;
  padding: 16px 18px;
  margin: 24px 0;
  font-size: 0.95rem;
  border-radius: 6px;
}

/* =====================================================
   LINKS
===================================================== */

a {
  color: #2563eb;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  text-decoration: underline;
}

/* =====================================================
   FOOTER
===================================================== */

.footer {
  margin-top: 80px;
  padding-top: 28px;
  border-top: 1px solid #e2e8f0;
  text-align: center;
  font-size: 0.8rem;
  color: #64748b;
}

.footer a {
  color: #64748b;
  margin: 0 6px;
}

.footer a:hover {
  color: #2563eb;
}

/* =====================================================
   RESPONSIVO
===================================================== */

@media (max-width: 768px) {

  .container {
    padding: 50px 20px 70px;
  }

  .card {
    padding: 28px 22px;
  }

  h1 {
    font-size: 1.9rem;
  }

  h2 {
    font-size: 1.1rem;
  }

  p {
    text-align: left;
  }

  .header-simple {
    flex-direction: column;
    align-items: flex-start;
  }

  .lang-switcher {
    margin-top: 6px;
  }
}
