/* FieldSpray — CSS puro, mobile-first, sem dependências externas */

:root {
  --verde-escuro: #2E7D32;
  --verde-medio: #388E3C;
  --verde-claro: #66BB6A;
  --verde-fundo: #E8F5E9;
  --texto: #1A1A1A;
  --texto-suave: #555;
  --borda: #DDD;
  --fundo: #FAFAFA;
  --branco: #FFF;
  --radius: 12px;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--fundo);
  color: var(--texto);
  line-height: 1.6;
  font-size: 16px;
}

a {
  color: var(--verde-escuro);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.site-header {
  background: var(--branco);
  border-bottom: 1px solid var(--borda);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 20px;
}

.header-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 16px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.header-logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.header-logo span {
  font-size: 20px;
  font-weight: 800;
  color: var(--verde-escuro);
  letter-spacing: -0.5px;
}

.header-nav {
  display: flex;
  gap: 20px;
  list-style: none;
}

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

.header-nav a:hover {
  color: var(--verde-escuro);
  text-decoration: none;
}

/* ── Containers ──────────────────────────────────────── */

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.hero {
  background: linear-gradient(135deg, var(--verde-escuro) 0%, var(--verde-medio) 100%);
  color: var(--branco);
  padding: 60px 20px;
  text-align: center;
}

.hero-logo {
  width: 96px;
  height: 96px;
  border-radius: 20px;
  margin: 0 auto 24px;
  display: block;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.hero h1 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}

.hero-tagline {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Botões ──────────────────────────────────────────── */

.btn-primary {
  display: inline-block;
  background: var(--branco);
  color: var(--verde-escuro);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: opacity 0.15s;
}

.btn-primary:hover {
  opacity: 0.9;
  text-decoration: none;
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--branco);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,0.6);
  cursor: pointer;
  transition: border-color 0.15s;
}

.btn-outline:hover {
  border-color: var(--branco);
  text-decoration: none;
}

/* ── Seções ──────────────────────────────────────────── */

section {
  padding: 56px 20px;
}

section:nth-child(even) {
  background: var(--branco);
}

.section-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--verde-escuro);
  margin-bottom: 8px;
  text-align: center;
}

.section-sub {
  font-size: 1rem;
  color: var(--texto-suave);
  text-align: center;
  margin-bottom: 36px;
}

/* ── Feature Grid ────────────────────────────────────── */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
}

.feature-card {
  background: var(--fundo);
  border: 1px solid var(--borda);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.feature-card .icon {
  font-size: 28px;
  margin-bottom: 10px;
  display: block;
}

.feature-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--texto);
  margin-bottom: 4px;
}

.feature-card p {
  font-size: 13px;
  color: var(--texto-suave);
  line-height: 1.5;
}

/* ── Sobre ───────────────────────────────────────────── */

.sobre-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.sobre-inner h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--verde-escuro);
  margin-bottom: 16px;
}

.sobre-inner p {
  font-size: 15px;
  color: var(--texto-suave);
  margin-bottom: 12px;
}

.autores {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.autor-card {
  background: var(--verde-fundo);
  border-radius: var(--radius);
  padding: 16px 20px;
  text-align: left;
  min-width: 220px;
}

.autor-card strong {
  display: block;
  font-size: 14px;
  color: var(--verde-escuro);
  margin-bottom: 2px;
}

.autor-card span {
  font-size: 13px;
  color: var(--texto-suave);
}

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

.site-footer {
  background: var(--verde-escuro);
  color: rgba(255,255,255,0.85);
  padding: 32px 20px;
  text-align: center;
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--branco);
  text-decoration: underline;
}

.footer-copy {
  opacity: 0.7;
  font-size: 13px;
  margin-top: 8px;
}

/* ── Páginas internas (Política / Termos) ────────────── */

.page-hero {
  background: var(--verde-escuro);
  color: var(--branco);
  padding: 40px 20px 32px;
  text-align: center;
}

.page-hero h1 {
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.page-hero .data-atualizacao {
  font-size: 13px;
  opacity: 0.8;
}

.page-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

.page-content h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--verde-escuro);
  margin: 32px 0 10px;
  padding-top: 8px;
  border-top: 1px solid var(--borda);
}

.page-content h2:first-child {
  border-top: none;
  margin-top: 0;
}

.page-content p {
  font-size: 15px;
  color: var(--texto);
  margin-bottom: 12px;
  line-height: 1.7;
}

.page-content ul,
.page-content ol {
  padding-left: 24px;
  margin-bottom: 12px;
}

.page-content li {
  font-size: 15px;
  color: var(--texto);
  line-height: 1.7;
  margin-bottom: 4px;
}

.page-content a {
  color: var(--verde-escuro);
  font-weight: 500;
}

.aviso-box {
  background: var(--verde-fundo);
  border-left: 4px solid var(--verde-escuro);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 18px;
  margin: 20px 0;
  font-size: 14px;
  color: var(--texto);
}

.placeholder-email {
  background: #FFF3E0;
  border: 1px dashed #F57C00;
  border-radius: 6px;
  padding: 2px 8px;
  font-family: monospace;
  font-size: 14px;
  color: #E65100;
}

/* ── Responsivo ──────────────────────────────────────── */

@media (min-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

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

  .page-content {
    padding: 48px 40px 80px;
  }
}
