/*
 * META-8 — Site estático (LP + páginas legais)
 *
 * Design tokens espelhados do app pra manter consistência visual:
 *   - bg #0E0E10, surface #1A1A1C, accent coral #E07856
 *   - Inter (Google Fonts)
 *   - Layout responsivo, mobile-first
 *
 * Estrutura: zero build, zero dependência JS. CSS vanilla.
 */

:root {
  --bg: #0E0E10;
  --surface: #1A1A1C;
  --surface-alt: #242427;
  --border: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.12);
  --text: #F4F4F2;
  --muted: #8E8E92;
  --muted-strong: #A8A8AD;
  --accent: #E07856;
  --accent-dim: #A45A40;
  --accent-bg: rgba(224, 120, 86, 0.10);
  --accent-border: rgba(224, 120, 86, 0.25);
  --green: #5BAA8E;
  --orange: #E5A361;

  --max-w: 1080px;
  --max-w-prose: 720px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 22px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.15s ease;
}

a:hover {
  opacity: 0.75;
}

/* ─── Header ─────────────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(14, 14, 16, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.4px;
}

.brand__logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-weight: 900;
  font-size: 20px;
}

.nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.nav a:hover {
  color: var(--text);
  opacity: 1;
}

@media (max-width: 640px) {
  .nav { gap: 16px; }
  .nav a { font-size: 13px; }
}

/* ─── Hero ───────────────────────────────────────────────────────────────── */

.hero {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 96px 24px 64px;
  text-align: left;
}

.hero__kicker {
  display: inline-block;
  padding: 6px 12px;
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero__title {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.6px;
  margin-bottom: 24px;
  max-width: 720px;
}

.hero__title em {
  font-style: normal;
  color: var(--accent);
}

.hero__sub {
  font-size: 19px;
  color: var(--muted-strong);
  line-height: 1.5;
  max-width: 580px;
  margin-bottom: 36px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.2px;
  border: none;
  cursor: pointer;
  transition: transform 0.1s ease, opacity 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-strong);
}

@media (max-width: 720px) {
  .hero { padding: 60px 20px 40px; }
  .hero__title { font-size: 40px; letter-spacing: -1px; }
  .hero__sub { font-size: 17px; }
}

/* ─── Sections ───────────────────────────────────────────────────────────── */

.section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 64px 24px;
}

.section--alt {
  background: var(--surface);
  max-width: none;
  padding: 64px 24px;
}

.section--alt > .section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section__kicker {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section__title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
  max-width: 680px;
}

.section__lede {
  font-size: 17px;
  color: var(--muted-strong);
  line-height: 1.55;
  max-width: 600px;
  margin-bottom: 40px;
}

@media (max-width: 720px) {
  .section { padding: 48px 20px; }
  .section--alt { padding: 48px 20px; }
  .section__title { font-size: 28px; letter-spacing: -0.5px; }
}

/* ─── Cards ──────────────────────────────────────────────────────────────── */

.grid {
  display: grid;
  gap: 16px;
}

.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 720px) {
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
}

.card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 22px;
}

.card__title {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}

.card__desc {
  font-size: 15px;
  color: var(--muted-strong);
  line-height: 1.5;
}

/* ─── Perfis ────────────────────────────────────────────────────────────── */

.perfis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 8px;
}

@media (max-width: 720px) {
  .perfis { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

@media (max-width: 480px) {
  .perfis { grid-template-columns: 1fr; }
}

.perfil {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.perfil__nome {
  font-size: 15px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.3px;
  margin-bottom: 6px;
}

.perfil__desc {
  font-size: 13px;
  color: var(--muted-strong);
  line-height: 1.45;
}

/* ─── Pedro section ─────────────────────────────────────────────────────── */

.pedro {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
  align-items: start;
}

@media (max-width: 640px) {
  .pedro { grid-template-columns: 1fr; gap: 16px; }
}

.pedro__avatar {
  width: 120px;
  height: 120px;
  border-radius: 60px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  font-weight: 900;
  color: #fff;
}

.pedro__name {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

.pedro__cref {
  display: inline-block;
  padding: 4px 10px;
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  margin-bottom: 16px;
}

.pedro__bio {
  font-size: 16px;
  color: var(--muted-strong);
  line-height: 1.55;
}

/* ─── Stats inline ──────────────────────────────────────────────────────── */

.stats-inline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px 0;
  margin-top: 40px;
}

.stat {
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid var(--border);
}

.stat:last-child { border-right: none; }

.stat__num {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--text);
  margin-bottom: 6px;
}

.stat__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 640px) {
  .stats-inline { grid-template-columns: 1fr; padding: 0; }
  .stat { padding: 20px; border-right: none; border-bottom: 1px solid var(--border); }
  .stat:last-child { border-bottom: none; }
  .stat__num { font-size: 32px; }
}

/* ─── CTA final ─────────────────────────────────────────────────────────── */

.cta-final {
  text-align: center;
  background: linear-gradient(180deg, transparent 0%, var(--surface) 100%);
  padding: 80px 24px;
}

.cta-final__title {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.1;
  margin-bottom: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-final__sub {
  font-size: 17px;
  color: var(--muted-strong);
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 720px) {
  .cta-final { padding: 60px 20px; }
  .cta-final__title { font-size: 30px; }
}

/* ─── Footer ────────────────────────────────────────────────────────────── */

.footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
  text-align: center;
}

.footer__links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 16px;
}

.footer__links a {
  color: var(--muted);
  font-size: 14px;
}

.footer__copy {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.3px;
}

/* ═══════════════════════════════════════════════════════════════════════
   LEGAL PAGES (privacidade.html + termos.html)
   ═══════════════════════════════════════════════════════════════════════ */

.legal {
  max-width: var(--max-w-prose);
  margin: 0 auto;
  padding: 64px 24px 96px;
}

.legal__breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 24px;
}

.legal__breadcrumb a { color: var(--muted); }
.legal__breadcrumb a:hover { color: var(--text); opacity: 1; }

.legal h1 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.1;
  margin-bottom: 8px;
}

.legal__meta {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.legal h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--text);
}

.legal h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.2px;
  margin-top: 28px;
  margin-bottom: 10px;
  color: var(--text);
}

.legal p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted-strong);
  margin-bottom: 16px;
}

.legal ul, .legal ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal li {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted-strong);
  margin-bottom: 8px;
}

.legal strong {
  color: var(--text);
  font-weight: 700;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  background: var(--surface);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.legal table th,
.legal table td {
  padding: 12px 16px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}

.legal table th {
  background: var(--surface-alt);
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.3px;
}

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

.legal table td {
  color: var(--muted-strong);
}

.legal blockquote {
  border-left: 3px solid var(--accent);
  background: var(--accent-bg);
  padding: 16px 20px;
  margin: 24px 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.legal blockquote p {
  color: var(--text);
  margin-bottom: 0;
}

.legal code {
  background: var(--surface-alt);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'SF Mono', Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  color: var(--accent);
}

@media (max-width: 720px) {
  .legal { padding: 40px 20px 64px; }
  .legal h1 { font-size: 30px; }
  .legal h2 { font-size: 21px; }
  .legal h3 { font-size: 17px; }
  .legal table th, .legal table td { padding: 10px 12px; font-size: 13px; }
}
