/* Cadernito — public site. Generated from site/src/site.css by site/build.mjs (brand colours from brand/brand.json). */

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("fonts/nunito-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --ink: #1D2540;
  --primary: #2F63E6;
  --sun: #FFC23D;
  --coral: #FF7A59;
  --mint: #2BB58F;
  --paper: #FFFDF6;
  --white: #ffffff;
  --muted: #4c5268;
  --muted: color-mix(in srgb, var(--ink) 78%, #ffffff);
  --line: #e4e2da;
  --line: color-mix(in srgb, var(--ink) 12%, var(--paper));
  --primary-soft: #e8eefc;
  --primary-soft: color-mix(in srgb, var(--primary) 10%, #ffffff);
  --sun-soft: #fff3d6;
  --sun-soft: color-mix(in srgb, var(--sun) 22%, #ffffff);
  --mint-soft: #e2f5ef;
  --mint-soft: color-mix(in srgb, var(--mint) 14%, #ffffff);
  --coral-soft: #ffece6;
  --coral-soft: color-mix(in srgb, var(--coral) 14%, #ffffff);
  --radius: 18px;
  --shadow: 0 1px 2px rgba(29, 37, 64, .06), 0 8px 24px rgba(29, 37, 64, .08);
  --font: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; }

a { color: var(--primary); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 { font-weight: 800; line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5.2vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }
.narrow { max-width: 800px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--white); padding: 8px 14px; border-radius: 10px; z-index: 10; }
.skip:focus { left: 8px; }

/* Buttons and badges */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 10px 22px; border-radius: 999px;
  background: var(--primary); color: var(--white); text-decoration: none; font-weight: 800;
  box-shadow: 0 2px 0 rgba(29, 37, 64, .25);
}
.btn:hover { filter: brightness(1.06); }
.btn-small { min-height: 40px; padding: 6px 16px; font-size: .95rem; }

/* Distintivo oficial da App Store: imagem da Apple sem alterações, com espaço livre à volta (≥ ¼ da altura) */
.store-badge { display: inline-flex; align-items: center; gap: 10px; padding: 10px 0; }
.store-badge img { display: block; height: 52px; width: auto; }
.store-soon { font-size: .85rem; font-weight: 700; opacity: .75; }
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; }
.final-cta .stores { justify-content: center; }
/* Google Play: text label until Google's official badge is added to brand/badges */
.store-label { display: inline-flex; align-items: center; min-height: 52px; padding: 6px 18px; border-radius: 12px; background: var(--ink); color: var(--white); font-weight: 800; font-size: .95rem; line-height: 1.2; }
.band-ink .store-label { background: var(--white); color: var(--ink); }

/* Header */
.top { background: var(--paper); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.35rem; }
.brand img { display: block; height: 40px; width: auto; }
.top-nav { display: flex; align-items: center; gap: 4px 18px; flex-wrap: wrap; justify-content: flex-end; }
.top-nav a:not(.btn) { color: var(--ink); text-decoration: none; padding: 6px 2px; }
.top-nav a:not(.btn):hover { color: var(--primary); }
@media (max-width: 719px) { .hide-s { display: none; } }

/* Sections */
.band { padding: 56px 0; }
@media (min-width: 900px) { .band { padding: 80px 0; } }
.band-paper { background: var(--paper); }
.band-sun { background: var(--sun-soft); }
.band-ink { background: var(--ink); color: var(--white); }
.band-ink a { color: var(--white); }
.sec-title { margin-bottom: .4em; }
.sec-lead { font-size: 1.15rem; color: var(--muted); max-width: 46rem; }
.small { font-size: .95rem; color: var(--muted); }
.eyebrow { display: inline-block; background: var(--sun); color: var(--ink); border-radius: 14px; padding: 4px 14px; font-weight: 800; font-size: .95rem; }

/* Hero */
.hero { background: var(--paper); padding: 40px 0 56px; overflow: hidden; }
.hero-in { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero-in { grid-template-columns: 1.1fr .9fr; } .hero { padding: 72px 0 88px; } }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 38rem; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 24px 0 12px; }
.hero-note { color: var(--muted); }

.hero-art { position: relative; max-width: 440px; width: 100%; justify-self: center; padding: 18px 8px; }
.mock { background: var(--white); border-radius: 24px; box-shadow: var(--shadow); padding: 20px; border: 1px solid var(--line); }
.mock-top { display: flex; align-items: center; gap: 10px; }
.mock-title { font-weight: 800; }
.mock-when { margin-left: auto; font-size: .85rem; background: var(--coral-soft); border-radius: 999px; padding: 2px 10px; }
.dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.dot-coral { background: var(--coral); }
.mock-topic { font-size: .9rem; color: var(--muted); margin: 6px 0 14px; }
.mock-q { background: var(--primary-soft); border-radius: 16px; padding: 16px; }
.mock-n { font-size: .8rem; color: var(--muted); margin: 0 0 4px; }
.mock-text { font-weight: 800; margin-bottom: 12px; }
.mock-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mock-opts span { background: var(--white); border: 2px solid var(--line); border-radius: 12px; padding: 8px; text-align: center; font-weight: 800; }
.mock-opts .ok { border-color: var(--mint); background: var(--mint-soft); }
.mock-bar { height: 10px; background: var(--line); border-radius: 999px; margin-top: 16px; overflow: hidden; }
.mock-bar span { display: block; height: 100%; width: 68%; background: var(--mint); border-radius: 999px; }
.sticker { position: absolute; font-weight: 800; border-radius: 14px; padding: 6px 12px; box-shadow: var(--shadow); font-size: .95rem; }
.sticker-sun { background: var(--sun); top: 0; right: 0; transform: rotate(4deg); }
.sticker-mint { background: var(--mint-soft); border: 2px solid var(--mint); bottom: 0; left: 0; transform: rotate(-3deg); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 20px; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step-n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sun); font-weight: 800; font-size: 1.3rem; margin-bottom: 12px; }
.steps p { margin: 0; color: var(--muted); }

/* Feature panels */
.two-col { display: grid; gap: 24px; margin-top: 24px; }
@media (min-width: 860px) { .two-col { grid-template-columns: 1fr 1fr; } }
.two-col-center { align-items: center; margin-top: 0; }
.panel { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border-top: 6px solid var(--mint); }
.panel-parents { border-top-color: var(--primary); }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 14px; height: 8px; border-left: 3px solid var(--mint); border-bottom: 3px solid var(--mint); transform: rotate(-45deg); }
.panel-parents .ticks li::before { border-color: var(--primary); }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 12px; }
.chip { display: inline-block; padding: 8px 18px; border-radius: 999px; font-weight: 800; background: var(--primary-soft); border: 2px solid var(--primary); }
.chip:nth-child(4n+2) { background: var(--coral-soft); border-color: var(--coral); }
.chip:nth-child(4n+3) { background: var(--mint-soft); border-color: var(--mint); }
.chip:nth-child(4n+4) { background: var(--sun-soft); border-color: var(--sun); }
.chips-grades .chip { background: var(--white); border-color: var(--ink); }

/* Score card */
.score-card { background: var(--white); border-radius: 24px; padding: 24px; box-shadow: var(--shadow); max-width: 380px; width: 100%; justify-self: center; transform: rotate(-1.5deg); }
.score-head { font-weight: 800; margin: 0; }
.score-big { font-size: 3.5rem; font-weight: 800; line-height: 1; color: var(--primary); margin: 8px 0 16px; }
.score-big span { font-size: 1.4rem; color: var(--muted); }
.score-card ul { list-style: none; padding: 0; margin: 0 0 12px; }
.score-card li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.score-foot { margin: 0; font-size: .9rem; color: var(--muted); }

/* Privacy promise */
.promise { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 16px; }
@media (min-width: 640px) { .promise { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .promise { grid-template-columns: repeat(3, 1fr); } }
.promise li { background: var(--paper); border: 1px solid var(--line); border-left: 6px solid var(--coral); border-radius: 14px; padding: 18px 20px; }
.promise li:nth-child(3n+2) { border-left-color: var(--mint); }
.promise li:nth-child(3n+3) { border-left-color: var(--primary); }
.promise strong { display: block; font-size: 1.1rem; }
.promise span { color: var(--muted); }

/* Pricing: plan cards (stacked on phones, side by side from 900 px), comparison table, packs */
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.trial { display: inline-block; background: var(--mint-soft); border: 2px solid var(--mint); border-radius: 14px; padding: 8px 16px; }
.plans { list-style: none; padding: 0; display: grid; gap: 20px; margin: 28px 0 20px; align-items: start; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.plan { position: relative; display: flex; flex-direction: column; background: var(--white); border: 2px solid var(--line); border-radius: var(--radius); padding: 28px 24px 22px; }
.plan h3 { font-size: 1.35rem; margin-bottom: .2em; }
.plan-line { color: var(--muted); margin-bottom: 14px; }
.plan-best { border-color: var(--primary); box-shadow: var(--shadow); }
@media (min-width: 900px) { .plan-best { transform: translateY(-8px); } }
.plan-tag { position: absolute; top: -15px; left: 20px; margin: 0; background: var(--sun); border-radius: 999px; padding: 2px 12px; font-weight: 800; font-size: .9rem; }
.price { font-size: 2.4rem; font-weight: 800; line-height: 1.1; margin: 0 0 4px; }
.price .per { font-size: 1.05rem; color: var(--muted); }
.price-year { color: var(--muted); margin-bottom: 18px; }
.price-year .per { font-size: inherit; }
.plan .ticks { margin-bottom: 8px; }
.plan-best .ticks li::before { border-color: var(--primary); }
.plan-limits-title { margin: auto 0 6px; padding-top: 14px; border-top: 1px dashed var(--line); font-weight: 800; font-size: .9rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.plan-limits { list-style: none; margin: 0; padding: 0; font-size: .95rem; color: var(--muted); }
.plan-limits li { padding: 2px 0 2px 18px; position: relative; }
.plan-limits li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--sun); }
.plans-cta { margin: 0 0 8px; }

.sub-title { font-size: 1.35rem; margin-top: 48px; scroll-margin-top: 16px; }
.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.compare { border-collapse: collapse; width: 100%; font-size: .97rem; }
.compare caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.compare th, .compare td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { font-weight: 800; line-height: 1.25; }
.compare th[scope="row"] { text-align: left; font-weight: 700; }
.compare .col-best { background: var(--primary-soft); }
.compare .yes { color: var(--mint); font-weight: 800; font-size: 1.15rem; }
.compare .no { color: var(--muted); }
@media (max-width: 639px) {
  .compare { font-size: .88rem; }
  .compare th, .compare td { padding: 9px 6px; }
  .compare th[scope="row"] { padding-left: 12px; width: 38%; }
}
.fichas-note { margin-top: 12px; max-width: 46rem; }

.packs { list-style: none; padding: 0; margin: 16px 0 24px; display: grid; gap: 12px; }
@media (min-width: 640px) { .packs { grid-template-columns: repeat(auto-fit, minmax(260px, 340px)); } }
.packs li { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--white); border: 2px dashed var(--sun); border-radius: 14px; padding: 12px 18px; }
.pack-name { font-weight: 800; }
.pack-price { font-weight: 800; white-space: nowrap; background: var(--sun-soft); border-radius: 999px; padding: 2px 12px; }
.fine { max-width: 760px; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 4px 0; }
summary { cursor: pointer; font-weight: 800; padding: 14px 32px 14px 0; position: relative; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-size: 1.5rem; line-height: 1.2; color: var(--primary); }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); }

.final-cta { text-align: center; }
.final-cta p { font-size: 1.15rem; }
.final-cta .small-ink { font-size: 1rem; margin-top: 12px; opacity: .9; }

/* Footer */
.foot { background: var(--paper); border-top: 1px solid var(--line); padding: 40px 0 32px; font-size: .95rem; }
.foot-in { display: grid; gap: 20px; }
.foot-brand { display: flex; gap: 12px; align-items: center; }
.foot-brand img { width: 40px; height: 40px; flex: none; }
.foot-brand p { margin: 0; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot-nav a { color: var(--ink); }
.foot-legal { color: var(--muted); font-size: .85rem; margin: 0; }

/* Documents (legal pages rendered from docs/legal/*.md) */
.doc { padding: 40px 0 64px; }
.doc .wrap { max-width: 820px; }
.doc h1 { font-size: clamp(1.8rem, 4.4vw, 2.6rem); margin-bottom: .6em; }
.doc h2 { font-size: 1.45rem; margin-top: 1.8em; scroll-margin-top: 16px; }
.doc h3 { font-size: 1.15rem; margin-top: 1.4em; scroll-margin-top: 16px; }
.doc ul, .doc ol { padding-left: 1.4em; margin: 0 0 1em; }
.doc li { margin-bottom: .35em; }
.doc blockquote { margin: 0 0 1.5em; padding: 14px 18px; background: var(--sun-soft); border-left: 6px solid var(--sun); border-radius: 12px; }
.doc blockquote p:last-child { margin-bottom: 0; }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.doc code { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 0 5px; font-size: .92em; }
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; -webkit-overflow-scrolling: touch; }
.doc table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: .97rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.doc th { background: var(--paper); font-weight: 800; }
@media (max-width: 639px) {
  .doc table { min-width: 0; }
  .doc thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .doc tr { display: block; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; padding: 4px 0; }
  .doc td { display: block; border: 0; padding: 6px 14px; }
  .doc td::before { content: attr(data-label); display: block; font-weight: 800; font-size: .85rem; color: var(--muted); }
}
.toc { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin: 0 0 2em; }
.toc p { font-weight: 800; margin: 0 0 6px; }
.toc ol { margin: 0; padding-left: 1.2em; columns: 2 240px; column-gap: 32px; }
.toc li { margin-bottom: 4px; break-inside: avoid; }

/* Children's page */
body.kids .doc { background: var(--sun-soft); }
body.kids .doc .wrap { font-size: 1.2rem; }
body.kids .doc h2 { color: var(--primary); }
body.kids .doc ul { list-style: none; padding: 0; }
body.kids .doc ul li { background: var(--white); border-radius: 14px; padding: 12px 16px; margin-bottom: 10px; box-shadow: 0 1px 2px rgba(29, 37, 64, .06); }

@media print {
  .top, .foot, .skip, .toc { display: none; }
  body { font-size: 11pt; }
  a { color: inherit; }
  .doc { padding: 0; }
}
