/* Trainix — estilo compartilhado das páginas legais */

:root {
  --bg: #0d0f0e;
  --surface: #141917;
  --border: #1f2724;
  --accent: #b6f542;
  --text: #e8ede9;
  --muted: #7a8c80;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--accent);
  color: var(--bg);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(13, 15, 14, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  font-family: "DM Serif Display", Georgia, serif;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: -0.02em;
  line-height: 1;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(182, 245, 66, 0.7);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(182, 245, 66, 0.7);
    transform: scale(1);
  }
  60% {
    box-shadow: 0 0 0 12px rgba(182, 245, 66, 0);
    transform: scale(1.05);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(182, 245, 66, 0);
    transform: scale(1);
  }
}

/* Container principal */
main {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 80px;
}

/* Título principal e subtítulo */
.page-title {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.page-title em {
  color: var(--accent);
  font-style: italic;
}

.last-updated {
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 48px;
}

/* Seções */
section {
  margin-bottom: 36px;
}

h2 {
  font-family: "DM Sans", system-ui, sans-serif;
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

h2::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

h3 {
  font-family: "DM Sans", system-ui, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  margin: 18px 0 8px;
  color: var(--text);
}

p {
  color: var(--text);
  margin-bottom: 14px;
}

p + p {
  margin-top: -2px;
}

ul {
  list-style: none;
  margin: 8px 0 16px;
  padding-left: 0;
}

ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  color: var(--text);
}

ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 12px;
  width: 6px;
  height: 1px;
  background: var(--accent);
}

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

a:hover {
  border-bottom-color: var(--accent);
}

strong {
  font-weight: 500;
  color: var(--text);
}

/* Caixa de destaque com borda esquerda verde */
.highlight-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  padding: 18px 22px;
  margin: 18px 0;
}

.highlight-box p:last-child {
  margin-bottom: 0;
}

/* Rodapé */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 0.875rem;
}

footer a {
  color: var(--muted);
  border-bottom: 1px dotted var(--muted);
}

footer a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

footer .footer-links {
  display: inline-flex;
  gap: 18px;
  margin-bottom: 10px;
}

/* Responsivo */
@media (max-width: 640px) {
  main {
    padding: 40px 20px 60px;
  }
  .site-header__inner {
    padding: 14px 20px;
  }
  .logo {
    font-size: 1.25rem;
  }
  h2 {
    font-size: 1.1rem;
  }
}
