/* =====================================================================
   Meu Produto Digital — estilos (sem dependências externas além das fontes)
   Paleta: carvão quente + dourado envelhecido + marfim
   ===================================================================== */

:root {
  --bg: #0f0d0b;
  --bg-2: #16130f;
  --surface: #1c1814;
  --surface-2: #241f19;
  --line: rgba(233, 196, 106, .14);
  --line-soft: rgba(255, 255, 255, .07);
  --text: #f3eee6;
  --muted: #a89f92;
  --gold: #d4ae4c;
  --gold-2: #e9c46a;
  --gold-ink: #17130c;
  --success: #4fbf87;
  --warning: #e0a63f;
  --danger: #e2685c;
  --info: #6aa6e0;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--gold-2); text-decoration: none; }
a:hover { text-decoration: underline; }
code { background: rgba(255,255,255,.07); padding: 2px 6px; border-radius: 6px; font-size: .9em; word-break: break-all; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
.icon { flex-shrink: 0; vertical-align: middle; }
.container { width: min(1140px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.mt { margin-top: 28px; }
.h2 { font-size: 1.6rem; } .h3 { font-size: 1.15rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 999px; border: 1px solid transparent; font: 600 .95rem var(--font); cursor: pointer; text-decoration: none !important; transition: transform .2s, box-shadow .2s, background .2s; color: var(--text); background: var(--surface-2); }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-primary { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--gold-ink); box-shadow: 0 10px 30px -10px rgba(212, 174, 76, .6); }
.btn-primary:hover { box-shadow: 0 14px 36px -10px rgba(212, 174, 76, .8); }
.btn-ghost { background: transparent; border-color: var(--line); }
.btn-danger { background: rgba(226, 104, 92, .15); color: #ffb4ab; border-color: rgba(226, 104, 92, .35); }
.btn-success { background: rgba(79, 191, 135, .15); color: #9de6c0; border-color: rgba(79, 191, 135, .35); }
.btn-sm { padding: 7px 14px; font-size: .85rem; }
.btn-lg { padding: 17px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-google { background: #fff; color: #1f1f1f; border-color: #dadce0; }

/* ---------- Formulários ---------- */
label { display: block; font-size: .875rem; font-weight: 500; color: var(--muted); margin-bottom: 14px; }
input, select, textarea { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line-soft); background: var(--bg-2); color: var(--text); font: 1rem var(--font); transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212, 174, 76, .18); }
textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
input[type=checkbox] { display: inline-block; width: 18px; height: 18px; margin: 0 8px 0 0; vertical-align: -3px; accent-color: var(--gold); }
input[type=file] { padding: 10px; }
.check-label { display: flex; align-items: flex-start; gap: 4px; color: var(--text); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; }
.help { display: block; font-size: .8rem; color: var(--muted); font-weight: 400; margin-top: 4px; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .8rem; margin: 18px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line-soft); }

/* ---------- Alertas / badges ---------- */
.alert { padding: 13px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; font-size: .92rem; border: 1px solid; }
.alert-success { background: rgba(79,191,135,.1); border-color: rgba(79,191,135,.35); color: #b8f0d2; }
.alert-error { background: rgba(226,104,92,.1); border-color: rgba(226,104,92,.35); color: #ffc9c2; }
.alert-info { background: rgba(106,166,224,.1); border-color: rgba(106,166,224,.35); color: #c9e1f8; }
.alert-warning { background: rgba(224,166,63,.1); border-color: rgba(224,166,63,.35); color: #f6d9a5; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 600; letter-spacing: .02em; white-space: nowrap; }
.badge-success { background: rgba(79,191,135,.15); color: #8fe0b6; }
.badge-warning { background: rgba(224,166,63,.15); color: #f2c77b; }
.badge-danger { background: rgba(226,104,92,.15); color: #ff9d92; }
.badge-info { background: rgba(106,166,224,.15); color: #a5cbf0; }
.badge-muted { background: rgba(255,255,255,.07); color: var(--muted); }

.card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); margin-bottom: 20px; }

/* =====================================================================
   PÁGINA DE VENDAS
   ===================================================================== */
.site-header { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); background: rgba(15, 13, 11, .78); border-bottom: 1px solid var(--line-soft); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); font-size: 1.05rem; text-decoration: none !important; }
.logo-mark { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--gold-ink); font-family: var(--display); font-weight: 800; font-size: 1.2rem; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a:not(.btn) { color: var(--muted); font-size: .92rem; }
.nav-links a:not(.btn):hover { color: var(--text); text-decoration: none; }

.hero { position: relative; overflow: hidden; padding: 90px 0 80px; }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 720px; height: 720px; background: radial-gradient(circle, rgba(212,174,76,.18), transparent 62%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at 30% 20%, #000 10%, transparent 65%); opacity: .5; pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--gold-2); font-size: .82rem; font-weight: 500; background: rgba(212,174,76,.06); }
.hero h1 { font-family: var(--display); font-size: clamp(2.2rem, 5vw, 3.7rem); font-weight: 700; letter-spacing: -.02em; margin: 22px 0 18px; }
.hero h1 em { font-style: italic; color: var(--gold-2); }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; margin: 0 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.hero-note { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .85rem; }
.price-tag { font-family: var(--display); font-size: 1.5rem; color: var(--text); }

.product-visual { position: relative; aspect-ratio: 4 / 5; border-radius: 24px; background: linear-gradient(160deg, #2a231b, #14110d); border: 1px solid var(--line); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.06); overflow: hidden; }
.product-visual img { width: 100%; height: 100%; object-fit: cover; }
.product-visual .placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 34px; background: radial-gradient(circle at 70% 20%, rgba(212,174,76,.35), transparent 55%); }
.product-visual .placeholder .ph-title { font-family: var(--display); font-size: 2rem; line-height: 1.1; }
.product-visual .placeholder .ph-line { height: 2px; width: 60px; background: var(--gold); margin: 16px 0; }
.float { animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.section { padding: 90px 0; position: relative; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line-soft); }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 52px; }
.section-head .kicker { color: var(--gold-2); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.section-head h2 { font-family: var(--display); font-size: clamp(1.8rem, 3.6vw, 2.6rem); letter-spacing: -.01em; margin-top: 10px; }

.benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.benefit { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-soft); transition: transform .3s, border-color .3s; }
.benefit:hover { transform: translateY(-4px); border-color: var(--line); }
.benefit .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(212,174,76,.1); color: var(--gold-2); margin-bottom: 18px; }
.benefit h3 { font-size: 1.08rem; }
.benefit p { color: var(--muted); margin: 0; font-size: .95rem; }

.modules { display: grid; gap: 14px; max-width: 820px; margin: 0 auto; }
.module-item { display: flex; gap: 18px; padding: 22px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-soft); }
.module-num { font-family: var(--display); font-size: 1.6rem; color: var(--gold); min-width: 44px; }
.module-item h3 { font-size: 1.05rem; margin-bottom: 4px; }
.module-item p { margin: 0; color: var(--muted); font-size: .93rem; }
.module-meta { font-size: .8rem; color: var(--muted); margin-top: 6px; display: flex; align-items: center; gap: 6px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.list-card { padding: 34px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-soft); }
.list-card h3 { font-family: var(--display); font-size: 1.5rem; margin-bottom: 20px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li .icon { color: var(--gold-2); margin-top: 3px; }

.guarantee { display: flex; gap: 28px; align-items: center; max-width: 820px; margin: 0 auto; padding: 36px; border-radius: 24px; border: 1px solid var(--line); background: linear-gradient(135deg, rgba(212,174,76,.08), transparent); }
.seal { flex-shrink: 0; width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; text-align: center; border: 2px dashed var(--gold); color: var(--gold-2); font-family: var(--display); line-height: 1.1; }
.seal strong { display: block; font-size: 2.2rem; }

.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.testimonial { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-soft); }
.testimonial .icon { color: var(--gold); opacity: .6; }
.testimonial p { color: var(--text); margin: 12px 0 16px; }
.testimonial cite { color: var(--muted); font-style: normal; font-size: .9rem; font-weight: 600; }

.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line-soft); }
.faq summary { cursor: pointer; padding: 20px 22px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.4rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

.cta-final { text-align: center; padding: 100px 0; position: relative; overflow: hidden; }
.cta-final::before { content: ""; position: absolute; left: 50%; top: 50%; width: 900px; height: 500px; transform: translate(-50%, -50%); background: radial-gradient(ellipse, rgba(212,174,76,.16), transparent 65%); }
.cta-final > * { position: relative; }
.cta-final h2 { font-family: var(--display); font-size: clamp(2rem, 4vw, 3rem); }
.cta-final p { color: var(--muted); font-size: 1.1rem; margin-bottom: 30px; }

.site-footer { border-top: 1px solid var(--line-soft); padding: 48px 0 30px; color: var(--muted); font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 30px; }
.site-footer h4 { color: var(--text); font-size: .95rem; }
.site-footer a { color: var(--muted); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-bottom { border-top: 1px solid var(--line-soft); padding-top: 22px; font-size: .82rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .float { animation: none; } html { scroll-behavior: auto; } }

.sticky-cta { display: none; }

/* =====================================================================
   AUTENTICAÇÃO
   ===================================================================== */
.auth-page { min-height: 100vh; background: radial-gradient(circle at 20% 0%, rgba(212,174,76,.12), transparent 45%), var(--bg); }
.auth-wrap { width: min(440px, 100% - 32px); margin: 0 auto; padding: 60px 0; }
.install-wrap { width: min(680px, 100% - 32px); margin: 0 auto; padding: 50px 0; }
.auth-brand { display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; margin-bottom: 26px; color: var(--text); font-size: 1.1rem; }
.auth-card h1 { font-family: var(--display); font-size: 1.8rem; text-align: center; }
.auth-card .sub { text-align: center; color: var(--muted); margin: -4px 0 24px; font-size: .95rem; }
.auth-links { display: flex; justify-content: space-between; font-size: .88rem; margin: -4px 0 18px; }
.auth-foot { text-align: center; font-size: .9rem; color: var(--muted); margin-top: 18px; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checklist li { display: flex; align-items: center; gap: 8px; font-size: .92rem; }
.checklist li.ok .icon { color: var(--success); }
.checklist li.fail { color: #ffb4ab; }
.steps { padding-left: 20px; display: grid; gap: 10px; margin: 22px 0 26px; }
.success-icon { color: var(--success); display: flex; justify-content: center; margin-bottom: 10px; }

/* =====================================================================
   ÁREA DE MEMBROS e PAINEL (layout com barra lateral)
   ===================================================================== */
.app { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.sidebar { background: var(--bg-2); border-right: 1px solid var(--line-soft); padding: 22px 16px; position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; }
.sidebar .brand { padding: 4px 8px 22px; }
.side-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); padding: 14px 12px 6px; }
.side-nav { display: grid; gap: 2px; }
.side-nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--muted); font-size: .93rem; font-weight: 500; }
.side-nav a:hover { background: var(--surface); color: var(--text); text-decoration: none; }
.side-nav a.active { background: rgba(212,174,76,.1); color: var(--gold-2); }
.side-user { margin-top: auto; padding: 14px 12px; border-top: 1px solid var(--line-soft); font-size: .85rem; }
.side-user strong { display: block; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-user span { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.main { padding: 34px 40px 60px; min-width: 0; }
.topbar { display: none; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.page-head h1 { font-family: var(--display); font-size: 1.9rem; margin: 0; }
.page-head p { margin: 4px 0 0; color: var(--muted); }

.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 20px; }
.stat .label { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .82rem; }
.stat .label .icon { color: var(--gold); }
.stat .value { font-size: 1.7rem; font-weight: 700; margin-top: 8px; letter-spacing: -.01em; }
.stat.accent { background: linear-gradient(135deg, rgba(212,174,76,.14), var(--surface)); border-color: var(--line); }

.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line-soft); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th { text-align: left; font-weight: 600; color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; padding: 13px 16px; border-bottom: 1px solid var(--line-soft); background: var(--bg-2); white-space: nowrap; }
td { padding: 13px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: rgba(255,255,255,.02); }
.td-actions { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.empty { padding: 40px; text-align: center; color: var(--muted); }

.toolbar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.toolbar input, .toolbar select { margin: 0; width: auto; min-width: 200px; flex: 1; }
.toolbar .btn { flex-shrink: 0; }

.pagination { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 18px; }
.pagination a { min-width: 38px; text-align: center; padding: 7px 10px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line-soft); color: var(--muted); }
.pagination a.active { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }

.chart { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 22px; margin-bottom: 24px; }
.chart-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.chart-head h3 { margin: 0; font-size: 1rem; }
.chart svg { width: 100%; height: auto; display: block; }
.chart .bar { fill: var(--gold); opacity: .85; transition: opacity .2s; }
.chart .bar:hover { opacity: 1; }
.chart .axis { fill: var(--muted); font-size: 10px; font-family: var(--font); }
.chart .grid { stroke: var(--line-soft); }
.segmented { display: inline-flex; background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: 999px; padding: 3px; }
.segmented a { padding: 5px 14px; border-radius: 999px; font-size: .82rem; color: var(--muted); }
.segmented a.active { background: var(--surface-2); color: var(--text); text-decoration: none; }

.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.kv { display: grid; grid-template-columns: 160px 1fr; gap: 8px 16px; font-size: .92rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; word-break: break-word; }
pre.payload { background: var(--bg); border: 1px solid var(--line-soft); border-radius: var(--radius-sm); padding: 16px; overflow: auto; max-height: 460px; font-size: .8rem; color: #d8d0c4; white-space: pre-wrap; word-break: break-word; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; border-bottom: 1px solid var(--line-soft); }
.tabs a { padding: 10px 16px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; font-weight: 500; font-size: .92rem; }
.tabs a.active { color: var(--gold-2); border-color: var(--gold); text-decoration: none; }
.inline-form { display: inline; }
.copy-field { display: flex; gap: 8px; }
.copy-field input { margin: 0; font-family: ui-monospace, monospace; font-size: .85rem; }

/* Membros */
.product-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-bottom: 26px; }
.product-card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, border-color .25s; }
.product-card:hover { transform: translateY(-3px); border-color: var(--line); }
.product-card .thumb { aspect-ratio: 16 / 9; background: linear-gradient(150deg, #2c241a, #15110d); position: relative; display: grid; place-items: center; color: var(--gold); }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.product-card .body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-card .body h3 { margin: 0; font-size: 1.1rem; }
.product-card .body .btn { margin-top: auto; }
.lesson-layout { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; border: 1px solid var(--line-soft); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lesson-list { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
.lesson-list .mod-title { padding: 14px 18px; font-weight: 600; font-size: .88rem; background: var(--bg-2); border-bottom: 1px solid var(--line-soft); }
.lesson-list a { display: flex; gap: 10px; align-items: center; padding: 12px 18px; color: var(--muted); font-size: .9rem; border-bottom: 1px solid var(--line-soft); }
.lesson-list a:hover { background: rgba(255,255,255,.03); color: var(--text); text-decoration: none; }
.lesson-list a.active { color: var(--gold-2); background: rgba(212,174,76,.07); }
.module-block { margin-bottom: 18px; }
.module-block .lessons a { display: flex; align-items: center; gap: 12px; padding: 13px 4px; border-bottom: 1px solid var(--line-soft); color: var(--text); }
.module-block .lessons a:last-child { border-bottom: 0; }
.module-block .lessons a:hover { color: var(--gold-2); text-decoration: none; }
.module-block .lessons .icon { color: var(--gold); }
.material { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.material:last-child { border-bottom: 0; }
.material .ico { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: rgba(212,174,76,.1); color: var(--gold-2); flex-shrink: 0; }
.material .info { flex: 1; min-width: 0; }
.material .info strong { display: block; }

/* =====================================================================
   RESPONSIVO
   ===================================================================== */
@media (max-width: 980px) {
  .hero-grid, .two-col, .cols, .lesson-layout { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 60px; }
  .product-visual { max-width: 420px; margin: 0 auto; width: 100%; aspect-ratio: 4 / 3; }
  .footer-grid { grid-template-columns: 1fr; }
  .app { grid-template-columns: 1fr; }
  .sidebar { position: fixed; inset: 0 auto 0 0; width: 280px; transform: translateX(-100%); transition: transform .3s; z-index: 100; }
  .sidebar.open { transform: none; box-shadow: 30px 0 60px rgba(0,0,0,.6); }
  .topbar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); background: var(--bg-2); position: sticky; top: 0; z-index: 60; }
  .topbar button { background: none; border: 1px solid var(--line-soft); color: var(--text); border-radius: 10px; padding: 8px; cursor: pointer; display: grid; }
  .main { padding: 24px 16px 60px; }
}
@media (max-width: 720px) {
  .nav-links a:not(.btn) { display: none; }
  .section { padding: 64px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .guarantee { flex-direction: column; text-align: center; padding: 28px 22px; }
  .card { padding: 20px; }
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .kv dd { margin-bottom: 10px; }
  .toolbar input, .toolbar select { min-width: 0; width: 100%; }
  .stat .value { font-size: 1.4rem; }
  .sticky-cta { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; }
  .sticky-cta .btn { width: 100%; }
  body.landing { padding-bottom: 78px; }
  .hero-actions .btn { width: 100%; }
}

/* Itens de grade podem encolher (tabelas rolam dentro do próprio card) */
.cols > *, .two-col > *, .hero-grid > *, .lesson-layout > *, .grid-2 > *, .grid-3 > * { min-width: 0; }
@media (max-width: 720px) {
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { padding: 14px; }
  .stat .label { font-size: .75rem; }
}
.card, .empty, .side-user, .site-footer { overflow-wrap: anywhere; }
