:root {
  --bg: #ECEEE8;
  --surface: #F8F9F5;
  --ink: #1E2420;
  --quiet: #59625B;
  --line: #C8CDC2;
  --edge: #7C857D;
  --tint: #DDE1D8;
  --olive: #45562F;
  --olive-ink: #F4F6EF;
  --brass: #9A7426;
  --accent: #9A7426;
  --good: #2C7448;
  --good-bg: #DCEBDF;
  --bad: #A8342A;
  --bad-bg: #F2DEDB;
  --focus: #2F5FB3;
  --radius-s: 6px;
  --radius-m: 10px;
  --head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #151916;
    --surface: #1E231F;
    --ink: #E5E9E2;
    --quiet: #A1A9A2;
    --line: #353C36;
    --edge: #8C958D;
    --tint: #2A302B;
    --olive: #A3B886;
    --olive-ink: #151916;
    --brass: #D4AF5E;
    --accent: #D4AF5E;
    --good: #69C48E;
    --good-bg: #1E3326;
    --bad: #E5776A;
    --bad-bg: #3A2220;
    --focus: #8DB1F0;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
    --bg: #151916;
    --surface: #1E231F;
    --ink: #E5E9E2;
    --quiet: #A1A9A2;
    --line: #353C36;
    --edge: #8C958D;
    --tint: #2A302B;
    --olive: #A3B886;
    --olive-ink: #151916;
    --brass: #D4AF5E;
    --accent: #D4AF5E;
    --good: #69C48E;
    --good-bg: #1E3326;
    --bad: #E5776A;
    --bad-bg: #3A2220;
    --focus: #8DB1F0;
    color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.6 var(--body);
  min-height: 100vh;
}
img, svg { max-width: 100%; }
a { color: var(--olive); text-underline-offset: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.1; letter-spacing: 0.005em; margin: 0 0 .5em; }
h1 { font-size: 2.6rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; }
.quiet { color: var(--quiet); }
.small { font-size: .875rem; }
.hidden { display: none !important; }

/* ---------- barra superior ---------- */
.topbar {
  background: var(--olive); color: var(--olive-ink);
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10;
}
.topbar-in {
  max-width: 1080px; margin: 0 auto; padding: 10px 16px;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.brand { font-family: var(--head); font-weight: 700; font-size: 1.35rem; color: inherit; text-decoration: none; display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand svg { width: 26px; height: 26px; flex: none; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a {
  color: inherit; text-decoration: none; padding: 6px 10px; border-radius: var(--radius-s);
  font-weight: 500; font-size: .95rem;
}
.nav a[aria-current="page"] { background: color-mix(in srgb, var(--olive-ink) 18%, transparent); }
.who { display: flex; align-items: center; gap: 8px; font-size: .9rem; }
.who img { width: 28px; height: 28px; border-radius: 50%; }
.linkbtn { background: none; border: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; padding: 4px; }

/* ---------- estrutura ---------- */
main { max-width: 1080px; margin: 0 auto; padding: 32px 16px 80px; }
.narrow { max-width: 720px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 24px; }
.stack > * + * { margin-top: 16px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 1rem/1 var(--body); padding: 12px 18px; border-radius: var(--radius-s);
  border: 1px solid var(--olive); background: var(--olive); color: var(--olive-ink);
  cursor: pointer; text-decoration: none; min-height: 44px;
}
.btn:hover { filter: brightness(1.08); }
.btn.secondary { background: transparent; color: var(--olive); }
.btn.danger { background: transparent; color: var(--bad); border-color: var(--bad); }
.btn.small { padding: 8px 12px; min-height: 36px; font-size: .9rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- login ---------- */
.login { min-height: calc(100vh - 0px); display: grid; place-items: center; padding: 24px 16px; }
.login-card { max-width: 440px; width: 100%; }
.login-card .mark { width: 72px; height: 72px; margin-bottom: 16px; color: var(--olive); }
.login-card h1 { font-size: 2.4rem; }
.google-btn { width: 100%; background: var(--surface); color: var(--ink); border-color: var(--line); }
.google-btn svg { width: 20px; height: 20px; }

/* ---------- início ---------- */
.greeting { margin-bottom: 28px; }
.greeting h1 { margin-bottom: .2em; }
.home-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 860px) { .home-grid { grid-template-columns: minmax(0, 1fr); } }
.sim-list { list-style: none; margin: 0; padding: 0; }
.sim-list li { border-top: 1px solid var(--line); }
.sim-list li:first-child { border-top: 0; }
.sim-row {
  display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center;
  padding: 12px 4px; color: inherit; text-decoration: none;
}
.sim-row:hover .sim-name { text-decoration: underline; }
.sim-name { font-family: var(--head); font-weight: 600; font-size: 1.25rem; }
.sim-meta { font-size: .875rem; color: var(--quiet); }
.mini-target { width: 52px; height: 52px; }
.score-tag { font-family: var(--head); font-weight: 700; font-size: 1.3rem; text-align: right; white-space: nowrap; }
.score-tag.ok { color: var(--good); }
.score-tag.no { color: var(--bad); }
.score-tag.none { color: var(--quiet); font-weight: 500; font-size: 1rem; font-family: var(--body); }

.toc { list-style: none; margin: 0; padding: 0; }
.toc li + li { border-top: 1px solid var(--line); }
.toc a { display: flex; gap: 12px; padding: 10px 2px; color: inherit; text-decoration: none; }
.toc a:hover span:last-child { text-decoration: underline; }
.toc .num { font-family: var(--head); font-weight: 700; color: var(--brass); width: 1.4em; flex: none; }

/* ---------- simulado ---------- */
.quiz-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.quiz-head h1 { font-size: 2rem; margin: 0; }
.qcount { font-family: var(--head); font-size: 1.25rem; color: var(--quiet); }
.grid-nav { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; margin: 16px 0 24px; }
.grid-nav button {
  font: 600 .95rem/1 var(--head); height: 38px; border-radius: var(--radius-s);
  border: 1px solid var(--line); background: var(--surface); color: var(--quiet); cursor: pointer;
}
.grid-nav button.answered { background: var(--tint); color: var(--ink); border-color: var(--edge); }
.grid-nav button.current { border: 2px solid var(--olive); color: var(--ink); }
.tema { font-size: .9rem; color: var(--brass); font-weight: 600; margin-bottom: 8px; }
.enunciado { font-size: 1.2rem; line-height: 1.5; font-weight: 500; margin-bottom: 20px; }
.opts { display: grid; gap: 10px; }
.opt {
  display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center; text-align: left;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m);
  padding: 14px 16px; font: inherit; color: inherit; cursor: pointer; width: 100%;
}
.opt:hover { border-color: var(--edge); }
.opt .letter {
  font: 700 1.1rem/1 var(--head); width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; border: 2px solid var(--edge); color: var(--quiet);
}
.opt[aria-pressed="true"] { border: 2px solid var(--olive); padding: 13px 15px; }
.opt[aria-pressed="true"] .letter { background: var(--olive); border-color: var(--olive); color: var(--olive-ink); }
.quiz-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; flex-wrap: wrap; }

dialog { border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--surface); color: var(--ink); max-width: 420px; padding: 24px; }
dialog::backdrop { background: color-mix(in srgb, var(--ink) 55%, transparent); }

/* ---------- resultado ---------- */
.result-top { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: center; }
@media (max-width: 640px) { .result-top { grid-template-columns: 1fr; justify-items: start; } }
.big-target { width: 240px; height: 240px; }
.verdict { font-family: var(--head); font-size: 2.8rem; font-weight: 700; line-height: 1; margin-bottom: 8px; }
.verdict.ok { color: var(--good); }
.verdict.no { color: var(--bad); }
.temas { display: grid; gap: 10px; margin-top: 16px; }
.tema-bar { display: grid; grid-template-columns: 1fr 64px; gap: 4px 12px; font-size: .95rem; }
.tema-bar .track { grid-column: 1 / -1; height: 8px; background: var(--tint); border-radius: 4px; overflow: hidden; }
.tema-bar .fill { height: 100%; background: var(--olive); }
.tema-bar .val { text-align: right; font-weight: 600; }

.filters { display: flex; gap: 6px; flex-wrap: wrap; margin: 28px 0 16px; }
.filters button { font: 500 .95rem var(--body); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.review { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.review-item { background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--edge); border-radius: var(--radius-m); padding: 18px 20px; }
.review-item.certa { border-left-color: var(--good); }
.review-item.errada { border-left-color: var(--bad); }
.review-item .q { font-weight: 500; margin-bottom: 10px; }
.review-item .status { font-size: .875rem; font-weight: 600; margin-bottom: 6px; }
.review-item.certa .status { color: var(--good); }
.review-item.errada .status { color: var(--bad); }
.ropts { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 4px; }
.ropts li { padding: 6px 10px; border-radius: var(--radius-s); font-size: .95rem; }
.ropts li.correta { background: var(--good-bg); }
.ropts li.marcada-errada { background: var(--bad-bg); }
.ropts .tag { font-size: .8rem; font-weight: 600; margin-left: 6px; }
.comentario { font-size: .95rem; border-top: 1px dashed var(--line); padding-top: 10px; }
.fonte { font-size: .85rem; color: var(--quiet); margin-top: 4px; }

/* ---------- ebook ---------- */
.reader { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 860px) { .reader { grid-template-columns: minmax(0, 1fr); } .reader-side { display: none; } }
.reader > *, .home-grid > * { min-width: 0; }
.reader-side { position: sticky; top: 76px; }
.reader-side .toc a[aria-current="page"] { font-weight: 600; }
.reader-select { display: none; width: 100%; font: inherit; padding: 10px; border-radius: var(--radius-s); border: 1px solid var(--line); background: var(--surface); color: var(--ink); margin-bottom: 20px; }
@media (max-width: 860px) { .reader-select { display: block; } }
.chapter { max-width: 720px; }
.chapter h1 { font-size: 2.4rem; }
.chapter .capnum { font-family: var(--head); color: var(--brass); font-weight: 600; font-size: 1.15rem; margin-bottom: 4px; }
.chapter h3 { margin-top: 1.8em; }
.chapter h4 { font-family: var(--head); font-size: 1.15rem; margin: 1.4em 0 .4em; }
.chapter ul, .chapter ol { padding-left: 1.3em; }
.chapter li { margin-bottom: .35em; }
.tbl { overflow-x: auto; margin: 0 0 1.4em; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--surface); }
.tbl table { border-collapse: collapse; width: 100%; font-size: .93rem; }
.tbl th, .tbl td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl th { font-weight: 600; background: var(--tint); }
.fig { margin: 1.4em 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 12px; }
.fig svg { display: block; width: 100%; height: auto; }
.fig figcaption { font-size: .85rem; color: var(--quiet); margin-top: 6px; }
.chapter-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.licenca { margin-top: 28px; font-size: .8rem; color: var(--quiet); }

/* ---------- tabelas de dados (histórico e painel) ---------- */
.data { width: 100%; border-collapse: collapse; font-size: .95rem; }
.data th, .data td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.data th { font-weight: 600; color: var(--quiet); font-size: .875rem; }
.data-wrap { overflow-x: auto; }
.pill { display: inline-block; font-size: .8rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.pill.pendente { background: var(--tint); color: var(--brass); }
.pill.liberado { background: var(--good-bg); color: var(--good); }
.pill.bloqueado { background: var(--bad-bg); color: var(--bad); }
.pill.hotmart { background: #FCE9E1; color: #B4441C; margin-left: 4px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pill.hotmart { background: #3A2419; color: #F29A72; } }
:root[data-theme="dark"] .pill.hotmart { background: #3A2419; color: #F29A72; }
.toggles { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius-s); overflow: hidden; }
.toggle { font: 600 .85rem var(--body); padding: 7px 12px; white-space: nowrap; border: 0; background: var(--surface); color: var(--quiet); cursor: pointer; min-height: 34px; }
.toggle + .toggle { border-left: 1px solid var(--line); }
.toggle[aria-pressed="true"] { background: var(--olive); color: var(--olive-ink); }
.toggle[aria-pressed="false"]::before { content: "+ "; }
.toggle[aria-pressed="true"]::before { content: "✓ "; }
.panel.locked { background: transparent; border-style: dashed; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.search { font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--surface); color: var(--ink); min-width: 240px; flex: 1; }
.empty { padding: 28px 8px; color: var(--quiet); }
.notice { border-left: 4px solid var(--brass); background: var(--surface); padding: 14px 16px; border-radius: var(--radius-s); }
.err { border-left-color: var(--bad); }
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: var(--radius-s); z-index: 50; font-weight: 500; }
.loading { padding: 60px 0; text-align: center; color: var(--quiet); }

@media (max-width: 640px) {
  .topbar { position: static; }
  .topbar-in { gap: 6px 12px; padding: 8px 12px; }
  .brand { font-size: 1.15rem; }
  .brand svg { width: 22px; height: 22px; }
  .nav a { padding: 4px 8px; font-size: .9rem; }
  .who img { display: none; }
}
@media (max-width: 520px) {
  h1 { font-size: 2.1rem; }
  .grid-nav { gap: 4px; }
  .grid-nav button { height: 34px; font-size: .85rem; padding: 0; }
  .panel { padding: 18px; }
  main { padding-top: 24px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hit { animation: hit .35s ease-out both; }
  @keyframes hit { from { transform: scale(0); } to { transform: scale(1); } }
}
@media print { .topbar, .chapter-nav, .reader-side, .reader-select { display: none; } }

/* ---- termo de uso ---- */
.termo { max-width: 620px; text-align: left; }
.termo h1, .termo .mark { text-align: center; }
.termo ul { padding-left: 20px; margin: 12px 0 16px; }
.termo li { margin: 8px 0; line-height: 1.5; }
.aceite { display: flex; gap: 10px; align-items: center; font-weight: 600; cursor: pointer; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--bg); }
.aceite input { width: 20px; height: 20px; accent-color: var(--olive); }

/* ---- proteção do conteúdo ---- */
#wm { position: fixed; inset: 0; z-index: 40; pointer-events: none; opacity: .13; background-repeat: repeat; }
body.protegido #app { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
body.protegido #app input, body.protegido #app textarea { -webkit-user-select: text; user-select: text; }
body.protegido img, body.protegido svg { -webkit-user-drag: none; }
body.velado #app { filter: blur(22px); transition: filter .05s; }
@media print {
  body.protegido > * { display: none !important; }
  body.protegido::before { content: "Impressão não permitida. Material de uso pessoal protegido pela Lei 9.610/1998."; display: block; padding: 40px; font: 16px sans-serif; }
}
.termo .mark { display: block; margin-left: auto; margin-right: auto; }

/* =================== página de entrada (pública) =================== */
html.logado #landing { display: none; }
#landing main { max-width: none; padding: 0; }
#landing { --gold: #C9971C; }
.lp-in { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.lp-narrow { max-width: 780px; }
.lp-top { position: sticky; top: 0; z-index: 30; background: var(--olive); color: var(--olive-ink); padding-top: env(safe-area-inset-top, 0px); }
.lp-top-in { display: flex; align-items: center; gap: 20px; min-height: 60px; }
.lp-brand { color: var(--olive-ink); }
.lp-nav { display: flex; gap: 18px; }
.lp-nav a { color: var(--olive-ink); text-decoration: none; font-weight: 500; opacity: .9; }
.lp-nav a:hover { opacity: 1; text-decoration: underline; }
.lp-top .btn { background: var(--olive-ink); color: var(--olive); border-color: var(--olive-ink); }
.lp-hero { padding: 56px 0 48px; border-bottom: 1px solid var(--line); }
.lp-hero-in { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 40px; align-items: center; }
.lp-kicker { font-family: var(--head); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brass); margin: 0 0 10px; }
.lp-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 16px; }
.lp-lead { font-size: 1.12rem; line-height: 1.6; max-width: 640px; }
.lp-ctas { margin: 24px 0; }
.lp-nums { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--quiet); }
.lp-nums strong { font-family: var(--head); font-size: 1.7rem; color: var(--ink); margin-right: 4px; }
.lp-alvo { width: 100%; height: auto; }
.lp-sec { padding: 56px 0; }
.lp-alt { background: var(--tint); }
.lp-sub { color: var(--quiet); font-size: 1.05rem; line-height: 1.6; max-width: 760px; margin-bottom: 24px; }
.lp-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.lp-list { padding-left: 20px; margin: 0 0 16px; }
.lp-list li { margin: 8px 0; line-height: 1.5; }
.lp-tbl td:last-child, .lp-tbl th:last-child { text-align: center; width: 90px; }
.lp-prod { display: flex; flex-direction: column; }
.lp-prod .lp-list { flex: 1; }
.lp-prod .btn { align-self: flex-start; }
.lp-preco { font-family: var(--head); font-size: 1.6rem; font-weight: 700; color: var(--brass); margin: 0 0 8px; }
.lp-preco:empty { display: none; }
.lp-combo { margin-top: 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.lp-combo h3 { margin: 0; }
.lp-final { text-align: center; background: var(--olive); color: var(--olive-ink); }
.lp-final .btn { background: var(--olive-ink); color: var(--olive); border-color: var(--olive-ink); }
.lp-final .btn.secondary { background: transparent; color: var(--olive-ink); }
.lp-foot { padding: 28px 0 48px; font-size: .875rem; color: var(--quiet); border-top: 1px solid var(--line); }

/* simulado grátis */
.g-q { border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--surface); padding: 18px; margin: 0 0 14px; min-width: 0; }
.g-q legend { float: left; width: 100%; padding: 0; font-weight: 600; font-size: 1.05rem; line-height: 1.45; margin-bottom: 12px; }
.g-q legend + * { clear: both; }
.g-n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--olive); color: var(--olive-ink); font-size: .85rem; margin-right: 8px; vertical-align: 1px; }
.g-tema { display: block; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--brass); margin-bottom: 4px; }
.g-ops { display: grid; gap: 8px; }
.g-op { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-s); cursor: pointer; line-height: 1.4; }
.g-op:has(input:checked) { border-color: var(--olive); background: var(--tint); }
.g-op input { position: absolute; opacity: 0; pointer-events: none; }
.g-op:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.g-k { flex: none; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--edge); font-weight: 600; font-size: .85rem; }
.g-op:has(input:checked) .g-k { background: var(--olive); border-color: var(--olive); color: var(--olive-ink); }
.g-op.certa { border-color: var(--good); background: var(--good-bg); }
.g-op.certa .g-k { background: var(--good); border-color: var(--good); color: var(--surface); }
.g-op.errada { border-color: var(--bad); background: var(--bad-bg); }
.g-op.errada .g-k { background: var(--bad); border-color: var(--bad); color: var(--surface); }
.g-op:has(input:disabled) { cursor: default; }
.g-coment { margin-top: 12px; padding: 12px 14px; border-left: 4px solid var(--edge); background: var(--bg); border-radius: var(--radius-s); line-height: 1.55; }
.g-q.ok .g-coment { border-left-color: var(--good); }
.g-q.no .g-coment { border-left-color: var(--bad); }
.g-coment p { margin: 0 0 6px; }
.g-fonte { font-size: .85rem; color: var(--quiet); }
.g-acoes { margin-top: 8px; }
.g-res { margin-top: 16px; }
.g-nota { font-size: 1.15rem; margin: 0 0 6px; }

/* depoimentos (estrelas douradas) */
.dep-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.dep { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.estrelas { color: #C9971C; font-size: 1.25rem; letter-spacing: 2px; line-height: 1; }
.estrelas .apagada { color: var(--line); }
.dep blockquote { margin: 0; line-height: 1.55; flex: 1; }
.dep footer { font-size: .9rem; color: var(--quiet); }
.dep footer strong { color: var(--ink); }
.dep .selo-aprov { display: inline-block; font-size: .78rem; font-weight: 600; color: var(--good); background: var(--good-bg); border-radius: 999px; padding: 2px 8px; margin-left: 6px; }

/* perguntas frequentes */
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { font-weight: 600; cursor: pointer; font-size: 1.05rem; }
.faq details p { margin: 10px 0 0; line-height: 1.6; color: var(--ink); }

@media (max-width: 760px) {
  .lp-top-in { justify-content: space-between; flex-wrap: wrap; gap: 0 12px; padding-top: 8px; }
  .lp-nav { order: 3; width: 100%; overflow-x: auto; gap: 12px; font-size: .86rem; justify-content: space-between; padding: 8px 0 10px; scrollbar-width: none; white-space: nowrap; }
  .lp-nav::-webkit-scrollbar { display: none; }
  .lp-hero { padding: 32px 0; }
  .lp-hero-in { grid-template-columns: minmax(0, 1fr); }
  .lp-alvo { max-width: 180px; margin: 0 auto; order: -1; }
  .lp-cols { grid-template-columns: minmax(0, 1fr); }
  .lp-sec { padding: 40px 0; }
}

/* formulário de depoimento do aluno */
.estrelas-input { display: flex; gap: 4px; }
.estrelas-input button { background: none; border: 0; font-size: 2rem; line-height: 1; color: var(--line); cursor: pointer; padding: 2px; }
.estrelas-input button.on { color: #C9971C; }
.form-dep label.campo { display: block; font-weight: 600; margin: 16px 0 6px; }
.form-dep input[type="text"], .form-dep textarea, .form-dep select { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--surface); color: var(--ink); }
.form-dep textarea { min-height: 120px; resize: vertical; }
.lp-sec, #topo { scroll-margin-top: 64px; }
@media (max-width: 760px) { .lp-sec, #topo { scroll-margin-top: 104px; } }
[hidden] { display: none !important; }

/* escolha de produtos */
.lp-pick { display: flex; align-items: center; gap: 10px; font-weight: 600; padding: 12px 14px; border: 2px solid var(--olive); border-radius: var(--radius-s); color: var(--olive); cursor: pointer; align-self: stretch; user-select: none; }
.lp-pick input { position: absolute; opacity: 0; pointer-events: none; }
.lp-pick-box { flex: none; width: 22px; height: 22px; border: 2px solid currentColor; border-radius: 5px; display: grid; place-items: center; }
.lp-pick:has(input:checked) { background: var(--olive); color: var(--olive-ink); }
.lp-pick:has(input:checked) .lp-pick-box::after { content: "✓"; font-size: 15px; line-height: 1; }
.lp-pick:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.lp-prod.escolhido { border-color: var(--olive); box-shadow: 0 0 0 1px var(--olive); }
.lp-pedido { margin-top: 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.lp-pedido h3 { margin: 0 0 4px; }
.lp-pedido p { margin: 0; }
.lp-pedido #pedido-txt:not(.quiet) { font-weight: 600; font-size: 1.1rem; }
.btn.off { opacity: .5; }
#rodape-contato a { color: inherit; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
#contato-links .quiet { margin-right: 4px; }

.lp-preco s.de { font-size: 1.1rem; color: var(--quiet); font-weight: 500; margin-right: 6px; }
.lp-preco .economia { display: inline-block; vertical-align: middle; font-family: var(--body); font-size: .8rem; font-weight: 600; color: var(--good); background: var(--good-bg); border-radius: 999px; padding: 3px 10px; margin-left: 6px; }
.lp-preco .dica-combo { display: block; font-family: var(--body); font-size: .85rem; font-weight: 500; color: var(--quiet); margin-top: 2px; }

/* janela de entrar */
.dlg-login { width: min(420px, calc(100vw - 32px)); position: relative; }
.dlg-login h2 { margin-bottom: 16px; }
.dlg-login .google-btn { width: 100%; }
.dlg-x { position: absolute; top: 10px; right: 12px; background: none; border: 0; font-size: 1.6rem; line-height: 1; color: var(--quiet); cursor: pointer; padding: 4px 8px; }
.ou { display: flex; align-items: center; gap: 10px; color: var(--quiet); font-size: .85rem; margin: 18px 0 2px; }
.ou::before, .ou::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.dlg-login .form-dep label.campo { margin-top: 12px; }
.dlg-login input[type="password"] { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--surface); color: var(--ink); }
.err-txt { color: var(--bad); }
#l-msg:empty { display: none; }
#l-ok { margin-top: 16px; }
