/* Orçamento Seguro - estilos globais */
:root {
  --color-bg: #0f1419;
  --color-surface: #1a2332;
  --color-border: #2d3a4d;
  --color-text: #e6edf3;
  --color-text-muted: #8b949e;
  --color-accent: #3b82f6;
  --color-accent-hover: #2563eb;
  --color-success: #22c55e;
  --font-sans: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --radius: 8px;
  --max-width: 720px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Header */
.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.site-logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-text);
}
.site-nav {
  display: flex;
  gap: 1.25rem;
}
.site-nav a {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}
.site-nav a:hover {
  color: var(--color-text);
}

/* Main */
main {
  flex: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem;
  width: 100%;
}

/* Hero */
.hero {
  text-align: center;
  padding: 3rem 0 2rem;
}
.hero h1 {
  font-size: 2.25rem;
  margin: 0 0 0.75rem;
  font-weight: 700;
}
.hero .subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin: 0 0 2rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-primary {
  background: var(--color-accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-accent-hover);
  text-decoration: none;
}
.btn-secondary {
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.btn-secondary:hover {
  background: var(--color-border);
  text-decoration: none;
}

/* Seções */
.section {
  margin-bottom: 2.5rem;
}
.section h2 {
  font-size: 1.35rem;
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border);
}
.section h3 {
  font-size: 1.1rem;
  margin: 1.25rem 0 0.5rem;
}
.section ul {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
}
.section li {
  margin-bottom: 0.35rem;
}
.section p {
  margin: 0.5rem 0;
  color: var(--color-text-muted);
}

/* Rodapé */
.site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 2rem 1.5rem;
  margin-top: auto;
}
.site-footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}
.site-footer-inner a {
  color: var(--color-text-muted);
}
.site-footer-inner a:hover {
  color: var(--color-text);
}
.footer-links {
  margin-bottom: 0.75rem;
}
.footer-links a {
  margin: 0 0.5rem;
}
.footer-copy {
  margin-top: 0.5rem;
}

/* Páginas internas (privacy, terms) */
.page-title {
  font-size: 1.75rem;
  margin: 0 0 0.5rem;
}
.page-date {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}
