/* Caderninho da Caneta — landing page e páginas legais */
:root {
  --bg: #f6f4ef; --surface: #fff; --surface-2: #ece8de; --ink: #17302d; --muted: #5d6d6a; --line: #e2ded4;
  --primary: #0f6e66; --primary-ink: #fff; --primary-soft: #dcefec; --accent: #d9583b; --accent-soft: #fbe3dc;
  --gold: #f2c46d; --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1615; --surface: #162120; --surface-2: #1d2b29; --ink: #e6efed; --muted: #9aaca8; --line: #2a3a38;
    --primary: #3cb2a5; --primary-ink: #04201c; --primary-soft: #173a36; --accent: #f08a6e; --accent-soft: #3b2520;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 var(--font); }
a { color: var(--primary); }
img { max-width: 100%; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .6rem; }
h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); font-weight: 850; }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1rem; }
.muted { color: var(--muted); }
.eyebrow { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px;
  border-radius: 14px; font-weight: 700; text-decoration: none; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
}
.btn.primary { background: var(--primary); color: var(--primary-ink); border-color: transparent; }
.btn.accent { background: var(--accent); color: #fff; border-color: transparent; }
.btn.sm { min-height: 40px; padding: 8px 16px; font-size: .92rem; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }

.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-block: 34px 60px; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 34ch; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 18px; font-size: .9rem; color: var(--muted); list-style: none; padding: 0; }
.trust li::before { content: "✓ "; color: var(--primary); font-weight: 800; }

.phone {
  width: 300px; max-width: 100%; margin: 0 auto; border-radius: 42px; padding: 10px; background: #111c1b;
  box-shadow: 0 30px 70px rgba(15, 50, 46, .25);
}
.phone iframe { display: block; width: 100%; height: 600px; border: 0; border-radius: 33px; background: var(--bg); }
.phone.small iframe { height: 520px; }
.hero-art { position: relative; }
.hero-art::before {
  content: ""; position: absolute; inset: 10% -4% 6% 8%; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--gold), transparent 60%), radial-gradient(circle at 70% 70%, var(--primary-soft), transparent 65%);
  z-index: -1; filter: blur(8px);
}

section { padding: 56px 0; }
.band { background: var(--surface); border-block: 1px solid var(--line); }
.meds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.meds span { padding: 6px 12px; border-radius: 99px; background: var(--surface-2); font-size: .9rem; font-weight: 600; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.feature .ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--primary-soft); font-size: 1.3rem; margin-bottom: 12px; }
.feature p { color: var(--muted); font-size: .96rem; margin: 0; }

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px; }
.shots figure { margin: 0; }
.shots figcaption { text-align: center; margin-top: 12px; font-weight: 700; }
.shots figcaption small { display: block; font-weight: 400; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; margin-top: 24px; }
.step { padding: 20px; border-radius: 20px; background: var(--surface-2); }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: var(--primary-ink); font-weight: 800; margin-bottom: 10px; }

.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 820px; margin: 26px auto 0; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; }
.plan.pro { border: 2px solid var(--primary); position: relative; }
.plan.pro::before { content: "Mais escolhido"; position: absolute; top: -13px; left: 24px; background: var(--primary); color: var(--primary-ink); font-size: .75rem; font-weight: 800; padding: 4px 10px; border-radius: 99px; }
.plan .price { font-size: 2.4rem; font-weight: 850; letter-spacing: -.03em; }
.plan .price small { font-size: .95rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 14px 0 22px; display: grid; gap: 8px; flex: 1; }
.plan li { padding-left: 26px; position: relative; font-size: .97rem; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 800; }
.plan li.no::before { content: "–"; color: var(--muted); }
.plan li.no { color: var(--muted); }

.privacy { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.privacy-box { background: var(--primary); color: var(--primary-ink); border-radius: 26px; padding: 30px; }
.privacy-box ul { margin: 0; padding-left: 20px; }
.privacy-box li { margin: 6px 0; }

.faq { max-width: 760px; margin: 22px auto 0; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 4px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::after { content: "+"; font-size: 1.3rem; color: var(--primary); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); }

.medical { background: var(--accent-soft); border-radius: 22px; padding: 24px; max-width: 860px; margin: 0 auto; }
.medical h2 { font-size: 1.3rem; color: var(--accent); }
.medical p { margin: 0 0 .5rem; }

.cta-final { text-align: center; }
footer { padding: 30px 0 50px; font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line); }
footer .links { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 10px; }

/* Páginas legais */
.legal { max-width: 760px; margin: 0 auto; padding: 10px 16px 60px; }
.legal h1 { font-size: 2rem; }
.legal h2 { font-size: 1.2rem; margin-top: 1.8rem; }
.legal li { margin: 6px 0; }
.legal .box { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }

@media (max-width: 860px) {
  .hero, .privacy { grid-template-columns: 1fr; }
  .hero { padding-top: 14px; gap: 30px; }
  .hero > * { min-width: 0; }
  .features, .steps { grid-template-columns: 1fr 1fr; }
  .shots { grid-template-columns: 1fr; }
  .shots figure:nth-child(n+2) { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .features, .steps, .pricing { grid-template-columns: 1fr; }
  .pricing .plan.pro { order: -1; }
  section { padding: 42px 0; }
  .nav .btn { padding: 8px 12px; }
}
.pricing.four { grid-template-columns: repeat(4, 1fr); max-width: 1080px; }
.unlock-list { max-width: 860px; margin: 22px auto 0; padding: 16px 20px; border-radius: 18px; background: var(--surface-2); font-size: .95rem; text-align: center; }
@media (max-width: 960px) { .pricing.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pricing.four { grid-template-columns: 1fr; } }
.legal table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 10px 0; display: block; overflow-x: auto; }
.legal th, .legal td { text-align: left; padding: 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { background: var(--surface-2); }
