/* Seu Ebook — estilo base (mobile first) */
:root {
  --bg: #FFFBF5;
  --surface: #FFFFFF;
  --ink: #1F2937;
  --muted: #6B7280;
  --line: #E5E7EB;
  --brand: #F97316;
  --brand-ink: #FFFFFF;
  --brand-dark: #C2410C;
  --radius: 16px;
  --shadow: 0 4px 20px rgba(31, 41, 55, .08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg); color: var(--ink); line-height: 1.6; font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }

/* Topo */
.top { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 8px; font-family: "Poppins", sans-serif; font-weight: 800; font-size: 1.35rem; text-decoration: none; }
.logo span { color: var(--brand); }
.logo img { width: 34px; height: 34px; border-radius: 50%; display: block; }
.top nav a { text-decoration: none; color: var(--muted); font-size: .95rem; margin-left: 16px; }
.top nav a:hover { color: var(--ink); }

/* Hero */
.hero { padding: 56px 0 40px; text-align: center; }
.hero h1 { font-family: "Poppins", sans-serif; font-size: clamp(1.8rem, 5vw, 2.8rem); line-height: 1.2; margin-bottom: 12px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero p { color: var(--muted); max-width: 620px; margin: 0 auto 24px; font-size: 1.1rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chip {
  border: 1px solid var(--line); background: var(--surface); border-radius: 999px;
  padding: 8px 16px; font-size: .95rem; text-decoration: none; cursor: pointer;
}
.chip:hover, .chip.on { border-color: var(--brand); color: var(--brand-dark); }

/* Seções e cards */
.section { padding: 32px 0; }
.section h2 { font-family: "Poppins", sans-serif; font-size: 1.5rem; margin-bottom: 4px; }
.section > .wrap > p { color: var(--muted); margin-bottom: 20px; }
.grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; display: flex; flex-direction: column;
}
.card .cover {
  aspect-ratio: 16 / 9; display: grid; place-items: center; font-size: 3rem;
  background: var(--c, #F3F4F6);
}
img.card-cover {
  aspect-ratio: 16 / 9; width: 100%; object-fit: cover; object-position: top; display: block;
}
.card .body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { font-size: 1.1rem; line-height: 1.3; }
.card p { color: var(--muted); font-size: .95rem; flex: 1; }
.price { font-weight: 800; font-size: 1.25rem; }
.btn {
  display: inline-block; text-align: center; text-decoration: none; font-weight: 700;
  background: var(--brand); color: var(--brand-ink); border-radius: 12px; padding: 12px 18px;
}
.btn:hover { background: var(--brand-dark); }
.btn.soon { background: var(--line); color: var(--muted); pointer-events: none; }

/* Confiança */
.trust { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 760px) { .trust { grid-template-columns: repeat(4, 1fr); } }
.trust div { background: var(--surface); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.trust strong { display: block; margin-bottom: 4px; }
.trust span { color: var(--muted); font-size: .95rem; }

/* Texto legal */
.legal { background: var(--surface); border-radius: var(--radius); padding: 24px; margin: 32px auto; max-width: 800px; box-shadow: var(--shadow); }
.legal h1 { font-family: "Poppins", sans-serif; font-size: 1.6rem; margin-bottom: 8px; }
.legal h2 { font-size: 1.15rem; margin: 20px 0 6px; }
.legal p, .legal li { color: #374151; margin-bottom: 8px; }
.legal ul { padding-left: 20px; }
.legal .upd { color: var(--muted); font-size: .9rem; }

/* Rodapé */
footer { border-top: 1px solid var(--line); padding: 32px 0; margin-top: 40px; color: var(--muted); font-size: .9rem; }
footer .wrap { display: flex; flex-direction: column; gap: 8px; }
footer nav a { margin-right: 16px; }
