/* SEI+ · páginas das trilhas (cópia da trilha Preço Certo). Uma coluna editorial, faixas verdes de marca, caixa de compra destacada. */
:root {
  --verde: #1E3A33; --noite: #14261F; --ouro: #B8925A; --marfim: #F5F0E8; --salvia: #DCE3DC;
  --bg: #F5F0E8; --surface: #FBF8F3; --surface-2: #DCE3DC; --ink: #1E3A33; --text: #2E3D38; --muted: #5B6B65;
  --line: #E2DACC; --gold-text: #8A6738; --btn-bg: #1E3A33; --btn-fg: #F5F0E8;
  --band-bg: #1E3A33; --band-ink: #F5F0E8; --band-muted: #C3D0C9;
  --ok: #2F6B4B; --ok-bg: #DCEADF; --bad: #9C3F33; --bad-bg: #F2DCD7; --warn: #8F6421; --warn-bg: #F3E6CD;
  --f-display: 'Cormorant Garamond', Georgia, serif; --f-text: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --r: 14px; --wrap: 1080px; --shadow: 0 1px 2px rgba(20,38,31,.06), 0 10px 30px rgba(20,38,31,.09);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #14261F; --surface: #1A3029; --surface-2: #213D35; --ink: #F5F0E8; --text: #E4DFD5; --muted: #A6B4AE;
    --line: #2D4840; --gold-text: #D2B07D; --btn-bg: #F5F0E8; --btn-fg: #14261F; --band-bg: #0F1E19;
    --ok: #8CCBA4; --ok-bg: #1F3D30; --bad: #E79A8D; --bad-bg: #3E2522; --warn: #E2B977; --warn-bg: #3B3222; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #14261F; --surface: #1A3029; --surface-2: #213D35; --ink: #F5F0E8; --text: #E4DFD5; --muted: #A6B4AE;
  --line: #2D4840; --gold-text: #D2B07D; --btn-bg: #F5F0E8; --btn-fg: #14261F; --band-bg: #0F1E19;
  --ok: #8CCBA4; --ok-bg: #1F3D30; --bad: #E79A8D; --bad-bg: #3E2522; --warn: #E2B977; --warn-bg: #3B3222; color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--f-text); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
button, input, select, textarea { font-family: inherit; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ouro); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--f-display); color: var(--ink); font-weight: 600; line-height: 1.08; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 18px; }
h3 { font-size: 1.45rem; margin-bottom: 8px; }
p { margin: 0 0 14px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.eyebrow { font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--gold-text); margin-bottom: 14px; display: block; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: .84rem; }

/* topo */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.top .logo img { height: 38px; width: auto; }
.logo .dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo .light { display: none; } :root:not([data-theme="light"]) .logo .dark { display: block; } }
:root[data-theme="dark"] .logo .light { display: none; } :root[data-theme="dark"] .logo .dark { display: block; }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none;
  background: var(--btn-bg); color: var(--btn-fg); font-weight: 600; font-size: .98rem; padding: 15px 26px; border-radius: 999px; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn.gold { background: var(--ouro); color: #14261F; }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn.sm { padding: 10px 18px; font-size: .88rem; }
.btn.block { width: 100%; }

/* seções */
section { padding: 72px 0; }
.hero { padding: 64px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.band { background: var(--band-bg); color: var(--band-ink); }
.band h1, .band h2, .band h3 { color: var(--band-ink); }
.band .muted, .band .lead { color: var(--band-muted); }
.band .eyebrow { color: var(--ouro); }
.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* cartões e grades */
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.band .card { background: rgba(255,255,255,.05); border-color: rgba(245,240,232,.14); }
.card .num { font-family: var(--f-display); font-size: 2.4rem; color: var(--ouro); line-height: 1; margin-bottom: 8px; }
.check { list-style: none; padding: 0; margin: 0 0 16px; }
.check li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.check li::before { content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--ouro);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 100 20 10 10 0 000-20zm4.6 7.3l-5.4 6a1 1 0 01-1.5 0L5.4 11a1 1 0 011.4-1.4l1.6 1.6 4.7-5.2a1 1 0 011.5 1.3z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 100 20 10 10 0 000-20zm4.6 7.3l-5.4 6a1 1 0 01-1.5 0L5.4 11a1 1 0 011.4-1.4l1.6 1.6 4.7-5.2a1 1 0 011.5 1.3z'/%3E%3C/svg%3E") center/contain no-repeat; }
.x li::before { background: var(--bad); }
.pill { display: inline-block; font-size: .75rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: var(--surface-2); color: var(--ink); }

/* caixa de compra */
.buy { background: var(--surface); border: 1.5px solid var(--ouro); border-radius: 20px; padding: 28px; box-shadow: var(--shadow); }
.buy .price { font-family: var(--f-display); font-size: 3.4rem; color: var(--ink); line-height: 1; }
.buy .old { text-decoration: line-through; color: var(--muted); margin-right: 8px; }
.buy .inst { color: var(--muted); font-size: .92rem; margin: 6px 0 18px; }
.buy ul { margin-bottom: 20px; }
.secure { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: .8rem; color: var(--muted); margin-top: 12px; }

/* formulário */
form .field { margin-bottom: 14px; }
label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
input, select, textarea { width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--text); font: inherit; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ouro); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .8rem; color: var(--muted); }
.consent input { width: auto; margin-top: 4px; }
.form-ok { display: none; background: var(--ok-bg); color: var(--ok); padding: 16px; border-radius: 10px; font-weight: 600; }

/* tabela */
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.table-scroll { overflow-x: auto; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::after { content: "+"; font-family: var(--f-display); font-size: 1.6rem; line-height: 1; color: var(--ouro); }
details[open] summary::after { content: "–"; }
details p { margin: 12px 0 0; color: var(--muted); }

/* autores, garantia, rodapé */
.author { display: flex; gap: 18px; align-items: center; }
.avatar { width: 72px; height: 72px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font-family: var(--f-display); font-size: 1.8rem; color: var(--ink); flex: none; }
.guarantee { display: flex; gap: 24px; align-items: center; }
.guarantee img { width: 120px; flex: none; }
footer { padding: 40px 0 90px; font-size: .82rem; color: var(--muted); border-top: 1px solid var(--line); }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 14px; }
.sticky-cta { position: fixed; bottom: 0; left: 0; right: 0; background: var(--band-bg); color: var(--band-ink); padding: 12px 16px; display: none; z-index: 30; align-items: center; justify-content: space-between; gap: 12px; }
.sticky-cta strong { font-family: var(--f-display); font-size: 1.4rem; }

/* calculadora */
.calc { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); }
.calc .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc-out { margin-top: 18px; border-radius: 14px; padding: 18px; background: var(--surface-2); }
.calc-out .big { font-family: var(--f-display); font-size: 2.4rem; color: var(--ink); line-height: 1.1; }
.verdict { margin-top: 10px; padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: .92rem; }
.verdict.bad { background: var(--bad-bg); color: var(--bad); } .verdict.mid { background: var(--warn-bg); color: var(--warn); } .verdict.good { background: var(--ok-bg); color: var(--ok); }

.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 22px 58px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -4px; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--ouro); display: grid; place-items: center; font-family: var(--f-display); font-size: 1.3rem; color: var(--gold-text); }

@media (max-width: 860px) {
  .hero-grid, .g2, .g3, .g4 { grid-template-columns: 1fr; }
  section { padding: 52px 0; }
  .sticky-cta { display: flex; }
  .guarantee { flex-direction: column; align-items: flex-start; }
  .calc .row { grid-template-columns: 1fr; }
}
