/* ============================================================
   Central GD — site.css
   Estilos compartilhados das SUBPÁGINAS da landing
   (ferramentas, conteúdo, legais). Replica os tokens e os
   componentes de nav/rodapé do index.html para manter o
   mesmo visual. A index.html segue com CSS inline próprio.
   ============================================================ */

:root {
  --green:        #1cce28;
  --green-dark:   #15a81f;
  --green-muted:  #d4fad6;
  --green-light:  #a8f5ac;
  --charcoal:     #282821;
  --charcoal-mid: #3d3d36;
  --charcoal-lt:  #5c5c56;
  --white:        #ffffff;
  --gray-50:      #f8f8f8;
  --gray-100:     #f0f0f0;
  --gray-200:     #e0e0e0;
  --gray-300:     #c4c4c4;
  --gray-400:     #868686;
  --gray-600:     #4a4a4a;
  --warning:      #f5a623;
  --radius-sm:    6px;
  --radius-md:    10px;
  --radius-lg:    14px;
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:    0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:    0 8px 32px rgba(0,0,0,0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Ubuntu', 'Helvetica Neue', sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ─── REUSABLES ─────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 40px; }

.label {
  display: inline-block;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gray-400);
}
.label-green { color: var(--green); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Ubuntu', sans-serif;
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.03em;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: none; cursor: pointer;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
  white-space: nowrap;
}
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-dark); }
.btn-ghost-dark {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.25);
  color: white;
}
.btn-ghost-dark:hover { border-color: rgba(255,255,255,0.6); }
.btn-ghost {
  background: transparent;
  border: 1.5px solid var(--gray-200);
  color: var(--charcoal);
}
.btn-ghost:hover { border-color: var(--charcoal); }
.btn-lg { font-size: 15px; padding: 14px 28px; }
.btn-sm { font-size: 12px; padding: 8px 16px; }

.dot {
  display: inline-block; width: 7px; height: 7px;
  background: var(--green); border-radius: 2px;
  margin-left: 2px; flex-shrink: 0;
}
.dot-sm {
  display: inline-block; width: 5px; height: 5px;
  background: var(--green); border-radius: 1px;
  margin-left: 1px; flex-shrink: 0;
}

/* ─── NAV ───────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 200;
  background: var(--charcoal);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner { display: flex; align-items: center; height: 60px; gap: 40px; }
.nav-brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-wordmark {
  font-size: 16px; font-weight: 700;
  color: var(--white); display: flex; align-items: center;
}
.nav-links { display: flex; gap: 4px; flex: 1; }
.nav-links a {
  font-size: 13px; font-weight: 400;
  color: rgba(255,255,255,0.5);
  padding: 6px 12px; border-radius: 6px;
  transition: color 150ms ease;
}
.nav-links a:hover { color: white; }
.nav-links a.is-active { color: var(--green); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-login {
  font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,0.55);
  padding: 6px 14px; border-radius: 6px;
  transition: color 150ms;
}
.nav-login:hover { color: white; }

/* ─── PAGE HERO (cabeçalho da subpágina) ─────────── */
.page-hero {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  padding: 64px 0 56px;
}
.page-hero .label { margin-bottom: 14px; }
.page-hero h1 {
  font-size: 44px; font-weight: 700;
  letter-spacing: -0.02em; line-height: 1.1;
  color: var(--charcoal);
  max-width: 720px;
}
.page-hero p {
  font-size: 17px; font-weight: 300;
  color: var(--gray-400);
  max-width: 540px; margin-top: 18px;
  line-height: 1.6;
}
.page-hero-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 500; color: var(--charcoal);
  transition: gap 150ms ease, color 150ms ease;
}
.link-arrow:hover { gap: 10px; color: var(--green-dark); }

/* ─── FERRAMENTAS — grid de cards ────────────────── */
.section { padding: 72px 0; }
.tools-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.tool-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex; flex-direction: column;
  transition: box-shadow 180ms ease, transform 180ms ease, border-color 180ms ease;
}
.tool-card:hover {
  box-shadow: var(--shadow-md); transform: translateY(-3px);
  border-color: var(--gray-300);
}
.tool-ico {
  width: 46px; height: 46px; border-radius: var(--radius-sm);
  background: var(--charcoal);
  display: flex; align-items: center; justify-content: center;
  color: var(--green); margin-bottom: 20px;
}
.tool-ico svg { width: 22px; height: 22px; }
.tool-card h3 {
  font-size: 18px; font-weight: 700; line-height: 1.3;
  color: var(--charcoal); margin-bottom: 10px;
}
.tool-card p {
  font-size: 14px; font-weight: 300; line-height: 1.6;
  color: var(--gray-400); flex: 1; margin-bottom: 20px;
}
.tool-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--green);
  transition: gap 150ms ease, color 150ms ease;
}
.tool-cta:hover { gap: 10px; color: var(--green-dark); }
.tool-card.soon { position: relative; }
.tag-soon {
  position: absolute; top: 20px; right: 20px;
  font-size: 10px; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-400); background: var(--gray-100);
  padding: 4px 9px; border-radius: 999px;
}

/* ─── CONTEÚDO — cards de artigo ─────────────────── */
.articles-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.article-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 180ms ease, transform 180ms ease, border-color 180ms ease;
}
.article-card:hover {
  box-shadow: var(--shadow-md); transform: translateY(-3px);
  border-color: var(--gray-300);
}
.article-thumb {
  position: relative; aspect-ratio: 16 / 10;
  background: var(--charcoal);
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 23px, rgba(255,255,255,0.04) 23px, rgba(255,255,255,0.04) 24px),
    repeating-linear-gradient(90deg, transparent, transparent 23px, rgba(255,255,255,0.04) 23px, rgba(255,255,255,0.04) 24px);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.18);
}
.article-thumb svg { width: 56px; height: 56px; }
.article-tag {
  position: absolute; left: 16px; bottom: 16px;
  font-size: 10px; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal); background: var(--green);
  padding: 5px 11px; border-radius: 999px;
}
.article-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.article-meta {
  font-size: 11px; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--gray-400); margin-bottom: 12px;
}
.article-card h3 {
  font-size: 19px; font-weight: 700; line-height: 1.3;
  color: var(--charcoal); margin-bottom: 12px;
}
.article-card p {
  font-size: 14px; font-weight: 300; line-height: 1.6;
  color: var(--gray-400); flex: 1;
}

/* ─── LEGAL / PROSE ──────────────────────────────── */
.prose {
  max-width: 760px; margin: 0 auto; padding: 64px 40px 80px;
}
.prose .label { margin-bottom: 12px; }
.prose h1 {
  font-size: 38px; font-weight: 700; letter-spacing: -0.02em;
  color: var(--charcoal); margin-bottom: 10px;
}
.prose .updated { font-size: 13px; color: var(--gray-400); margin-bottom: 40px; }
.prose h2 {
  font-size: 20px; font-weight: 700; color: var(--charcoal);
  margin: 40px 0 14px;
}
.prose p, .prose li {
  font-size: 15px; font-weight: 300; line-height: 1.75;
  color: var(--charcoal-mid);
}
.prose p { margin-bottom: 16px; }
.prose ul { margin: 0 0 16px 22px; }
.prose li { margin-bottom: 8px; }
.prose a.inline { color: var(--green-dark); font-weight: 400; }
.prose a.inline:hover { text-decoration: underline; }

/* ─── FOOTER ────────────────────────────────────── */
.footer {
  background: #1e1e1a;
  padding: 60px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-wm { font-size: 16px; font-weight: 700; color: white; display: flex; align-items: center; }
.footer-slogan {
  font-size: 13px; font-weight: 300;
  color: rgba(255,255,255,0.35); line-height: 1.6;
  max-width: 220px; margin-bottom: 20px;
}
.footer-col-title {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); margin-bottom: 14px;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.4); transition: color 150ms; }
.footer-links a:hover { color: white; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.25); }
.footer-legal { display: flex; gap: 16px; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,0.25); transition: color 150ms; }
.footer-legal a:hover { color: rgba(255,255,255,0.55); }

/* ─── RESPONSIVO ────────────────────────────────── */
@media (max-width: 860px) {
  .container { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-inner { gap: 16px; }
  .page-hero { padding: 48px 0 44px; }
  .page-hero h1 { font-size: 32px; }
  .section { padding: 48px 0; }
  .tools-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .prose { padding: 48px 20px 64px; }
  .prose h1 { font-size: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
}
@media (max-width: 560px) {
  .tools-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .page-hero h1 { font-size: 28px; }
}
