/* Protótipo — Solucionando Educação
   Tema escuro azul-grafite das logos atuais. Destaque: verde-água do "Educação Online". */
:root {
  --bg: #10151d;
  --bg-2: #141a24;
  --surface: #1a212c;
  --surface-2: #232b38;
  --line: #2a3341;
  --line-2: #374152;
  --text: #e8eaee;
  --muted: #98a3b3;
  --head: #ffffff;
  --red: #6cc3ad;
  --red-dark: #58b09a;
  --red-soft: rgba(108, 195, 173, .14);
  --green: #6cc3ad;
  --green-soft: rgba(108, 195, 173, .13);
  --gold: #f2c94c;
  --warn-bg: rgba(242, 201, 76, .16);
  --warn-line: #d9a91a;
  --warn-text: #ffd866;
  --radius: 16px;
  --shadow: 0 18px 40px rgba(0, 0, 0, .35);
  --max: 1160px;
  color-scheme: dark;
  font-size: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: #8fd8c6; }
h1, h2, h3, h4 { font-family: "Plus Jakarta Sans", "Inter", sans-serif; line-height: 1.15; margin: 0 0 .5em; color: var(--head); }
h1 { font-size: clamp(2.1rem, 4.8vw, 3.5rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.7rem, 3.3vw, 2.5rem); font-weight: 800; letter-spacing: -.03em; }
h3 { font-size: 1.18rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section.soft { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.dark { background: linear-gradient(180deg, #19202b, #10151d); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .75rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--red); margin-bottom: .9em;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.center .eyebrow::before { display: none; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 680px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.head { margin-bottom: 48px; }
.muted { color: var(--muted); }

/* ---------- Faixa de protótipo ---------- */
.proto-bar { background: #2a2410; color: var(--warn-text); font-size: .82rem; font-weight: 600; padding: 7px 0; border-bottom: 1px solid #4a3d12; }
.proto-bar .wrap { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.proto-bar a { color: var(--warn-text); }
.proto-bar label { display: inline-flex; gap: 6px; align-items: center; cursor: pointer; }

/* Dados que o dono precisa confirmar */
.pend { background: var(--warn-bg); border-bottom: 2px dashed var(--warn-line); padding: 0 .25em; border-radius: 3px; color: var(--warn-text); font-weight: 700; }
.pend::after { content: " ✎"; font-size: .8em; }
body.hide-pend .pend { background: none; border: 0; color: inherit; padding: 0; font-weight: inherit; }
body.hide-pend .pend::after { content: ""; }
.pend-box { border: 2px dashed var(--warn-line); background: var(--warn-bg); color: var(--warn-text); border-radius: var(--radius); display: grid; place-items: center; text-align: center; font-weight: 700; font-size: .9rem; padding: 16px; }
body.hide-pend .pend-box { background: var(--surface); border-color: var(--line); color: var(--muted); }
.flag {
  position: absolute; top: 10px; left: 10px; z-index: 2; font-size: .68rem; font-weight: 800;
  background: #2a2410; color: var(--warn-text); border: 1px solid var(--warn-line); border-radius: 6px; padding: 2px 7px;
}
body.hide-pend .flag { display: none; }

/* ---------- Topo ---------- */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(16, 21, 29, .82); backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; gap: 24px; height: 74px; }
.brand img { height: 54px; width: auto; }
.nav { display: flex; gap: 2px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; color: #c5ccd6; font-weight: 600; font-size: .93rem; padding: 8px 12px; border-radius: 10px; }
.nav a:hover { background: var(--surface-2); color: #fff; }
.nav a.active { color: #fff; background: var(--surface); }
.nav .btn { margin-left: 10px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-btn span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: inherit; font-weight: 700;
  font-size: .98rem; text-decoration: none; padding: 13px 22px; border-radius: 12px; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s, border-color .15s; color: #fff;
}
.btn:hover { transform: translateY(-1px); }
.btn-red { background: var(--red); color: #0b1a17 !important; box-shadow: 0 8px 24px rgba(108, 195, 173, .28); }
.btn-red:hover { background: var(--red-dark); }
.btn-navy { background: #fff; color: #131417 !important; }
.btn-navy:hover { background: #e3e5e9; }
.btn-ghost { background: rgba(255, 255, 255, .04); border-color: var(--line-2); color: #fff !important; }
.btn-ghost:hover { border-color: #6b707b; background: rgba(255, 255, 255, .07); }
.btn-green { background: #25d366; color: #06301a !important; }
.btn-sm { padding: 9px 15px; font-size: .88rem; border-radius: 10px; }
.btn-block { width: 100%; }
.btn[data-pend] { position: relative; }
.btn[data-pend]::after { content: "link a definir"; position: absolute; top: -10px; right: -6px; font-size: .62rem; background: #2a2410; color: var(--warn-text); border: 1px solid var(--warn-line); border-radius: 6px; padding: 1px 6px; }
body.hide-pend .btn[data-pend]::after { display: none; }

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(180deg, rgba(16, 21, 29, .55) 0%, rgba(16, 21, 29, .92) 75%, var(--bg) 100%),
    radial-gradient(700px 420px at 85% 15%, rgba(108, 195, 173, .22), transparent 65%),
    url("../assets/fundo-doodles.jpg") center / cover;
  padding: 96px 0 110px; position: relative; overflow: hidden;
}
.hero h1 em { font-style: normal; color: var(--red); }
.hero .lead { font-size: 1.18rem; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0 24px; }
.hero-trust { display: flex; gap: 18px; flex-wrap: wrap; font-size: .9rem; color: var(--muted); }
.hero-trust span::before { content: "✓ "; color: var(--green); font-weight: 900; }
.hero-card { background: rgba(31, 33, 38, .85); backdrop-filter: blur(10px); border: 1px solid var(--line-2); border-radius: 22px; padding: 28px; box-shadow: var(--shadow); }
.hero-card h3 { margin-bottom: 4px; }
.page-hero { padding: 72px 0 80px; }
.page-hero h1 { font-size: clamp(2rem, 4.2vw, 2.9rem); }
.hero-visual { position: relative; }
.hero-visual .device { filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .55)); }
.hero-visual .float-cover { position: absolute; width: 34%; border-radius: 10px; box-shadow: 0 20px 40px rgba(0, 0, 0, .5); }

/* ---------- Números ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: -40px; position: relative; z-index: 2; }
.stat { background: var(--surface); padding: 24px; text-align: center; }
.stat b { display: block; font-family: "Plus Jakarta Sans", sans-serif; font-size: 1.9rem; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.stat span { color: var(--muted); font-size: .88rem; }

/* ---------- Cartões ---------- */
.grid { display: grid; gap: 20px; }
.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(--radius); padding: 28px; display: flex; flex-direction: column; transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--line-2); }
.card.shadow { box-shadow: var(--shadow); }
.card .icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 18px; background: var(--surface-2); border: 1px solid var(--line-2); }
.card p { color: var(--muted); }
.card .btn { margin-top: auto; align-self: flex-start; }
.card-media { margin: -28px -28px 22px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; aspect-ratio: 16/9; background: var(--surface-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--green-soft); color: var(--green); }
.card .tag, .plan .tag { align-self: flex-start; }
.tag.red { background: var(--red-soft); color: #8fd8c6; }
.tag.navy { background: var(--surface-2); color: #d5d8de; border: 1px solid var(--line-2); }

.checks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.checks li { padding: 6px 0 6px 30px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 8px; width: 20px; height: 20px; border-radius: 6px; background: var(--green-soft); color: var(--green); font-weight: 900; font-size: .72rem; display: grid; place-items: center; }

/* ---------- Faixa de aulas (carrossel) ---------- */
.reel { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.reel-track { display: flex; gap: 18px; width: max-content; animation: reel 140s linear infinite; }
.reel:hover .reel-track { animation-play-state: paused; }
.reel figure { margin: 0; position: relative; flex: none; }
.reel img { width: 400px; aspect-ratio: 16/9; object-fit: cover; border-radius: 14px; border: 1px solid var(--line-2); box-shadow: 0 16px 34px rgba(0, 0, 0, .4); }
.reel figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(16, 21, 29, .86); backdrop-filter: blur(6px); color: #fff; font-size: .78rem; font-weight: 600; padding: 5px 11px; border-radius: 8px; border: 1px solid var(--line-2); }
@keyframes reel { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .reel-track { animation: none; } }

/* ---------- Planos ---------- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 400px)); justify-content: center; gap: 24px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 34px 30px; display: flex; flex-direction: column; position: relative; }
.plan.featured { border: 1px solid rgba(108, 195, 173, .6); background: linear-gradient(180deg, rgba(108, 195, 173, .10), var(--surface) 45%); box-shadow: 0 24px 60px rgba(108, 195, 173, .14); }
.plan .ribbon { position: absolute; top: -13px; left: 30px; background: var(--red); color: #0b1a17; font-weight: 700; font-size: .78rem; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
.plan h3 { font-size: 1.3rem; }
.price { font-family: "Plus Jakarta Sans", sans-serif; color: #fff; margin: 10px 0 4px; }
.price small { font-size: 1rem; font-weight: 600; color: var(--muted); }
.price b { font-size: 2.8rem; font-weight: 800; letter-spacing: -.03em; }
.price-note { color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.plan .btn { margin-top: auto; }
.plans-foot { text-align: center; color: var(--muted); font-size: .88rem; margin-top: 24px; }
.exams { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 20px 0 0; }
.exams span { background: var(--surface); border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 14px; font-weight: 700; font-size: .8rem; color: #d5d8de; }

/* Cursos isolados */
.course { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; position: relative; }
.course .cv { aspect-ratio: 720/1040; background: #dfe9ef; }
.course .cv img { width: 100%; height: 100%; object-fit: cover; }
.course .body { padding: 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.course h3 { margin: 0; font-size: 1.05rem; }
.course .meta { color: var(--muted); font-size: .85rem; }
.course .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; }
.course .row b { font-family: "Plus Jakarta Sans", sans-serif; color: #fff; font-size: 1.1rem; }
.course .row small { display: block; color: var(--muted); font-size: .75rem; font-weight: 500; }
.course .row b .per { font-family: Inter, sans-serif; font-size: .78rem; font-weight: 600; color: var(--red); margin-left: 3px; }
.pro { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: center; background: linear-gradient(120deg, #1d2531, #161c26); border: 1px solid var(--line-2); border-radius: 22px; padding: 28px; }
.pro img { border-radius: 14px; }

/* ---------- Garantia ---------- */
.guarantee { display: flex; gap: 22px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px 28px; }
.seal { flex: none; width: 84px; height: 84px; border-radius: 50%; background: var(--green-soft); border: 2px solid var(--green); color: var(--green); display: grid; place-items: center; text-align: center; font-weight: 800; line-height: 1; font-family: "Plus Jakarta Sans", sans-serif; }
.seal b { font-size: 1.9rem; display: block; color: #fff; }
.seal small { font-size: .66rem; letter-spacing: .08em; }
.guarantee h3 { margin-bottom: 4px; }
.guarantee p { margin: 0; color: var(--muted); }

/* ---------- Depoimentos ---------- */
.quote { background: var(--surface); border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.quote p { margin: 0; font-size: 1.02rem; }
.who { display: flex; gap: 12px; align-items: center; margin-top: auto; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #374152, var(--red)); color: #fff; display: grid; place-items: center; font-weight: 800; flex: none; }
.who b { display: block; color: #fff; }
.who small { color: var(--muted); }
.approved { color: var(--green); font-weight: 700; font-size: .85rem; }

/* ---------- Professor ---------- */
.teacher { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: center; }
.teacher .photo { aspect-ratio: 4/5; }

/* ---------- Captura ---------- */
.capture { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.capture .cover { max-width: 330px; margin: 0 auto; border-radius: 12px; box-shadow: 0 30px 60px rgba(0, 0, 0, .55); transform: rotate(-3deg); }
.form { background: var(--surface); border: 1px solid var(--line-2); border-radius: 20px; padding: 28px; display: grid; gap: 14px; }
.form label { font-weight: 600; font-size: .88rem; display: grid; gap: 6px; color: #d5d8de; }
.form input, .form select { font: inherit; color: var(--text); padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg); }
.form input::placeholder { color: #6b707b; }
.form input:focus, .form select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.form .fine { font-size: .78rem; color: var(--muted); margin: 0; }
.form-ok { display: none; background: var(--green-soft); color: #8ee0a8; border-radius: 10px; padding: 14px; font-weight: 600; }

/* ---------- E-books ---------- */
.book { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; position: relative; transition: transform .2s, border-color .2s; }
.book:hover { transform: translateY(-3px); border-color: var(--line-2); }
.book .cv { aspect-ratio: 1/1; background: #fff; position: relative; }
.book .cv img { width: 100%; height: 100%; object-fit: cover; }
.book .body { padding: 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.book h3 { font-size: 1.02rem; margin: 0; }
.book .meta { color: var(--muted); font-size: .84rem; }
.book .row { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; gap: 10px; }
.book .row b { font-family: "Plus Jakarta Sans", sans-serif; font-size: 1.2rem; color: #fff; }
.combo { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; background: linear-gradient(120deg, #1f2734, #19202b); border: 1px solid var(--line-2); border-radius: 22px; padding: 30px 34px; }
.combo h3 { font-size: 1.5rem; }
.combo p { color: var(--muted); }
.combo .old { text-decoration: line-through; opacity: .7; }
.combo .new { font-family: "Plus Jakarta Sans", sans-serif; font-size: 2.3rem; font-weight: 800; color: #fff; margin-bottom: 10px; }
.stack { display: flex; }
.stack img { width: 92px; border-radius: 8px; box-shadow: 0 10px 20px rgba(0, 0, 0, .45); border: 2px solid var(--surface); }
.stack img + img { margin-left: -38px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-bottom: 30px; background: var(--surface); border: 1px solid var(--line); padding: 5px; border-radius: 14px; width: fit-content; margin-left: auto; margin-right: auto; }
.tabs button { font: inherit; font-weight: 600; border: 0; background: transparent; padding: 8px 16px; border-radius: 10px; cursor: pointer; color: var(--muted); }
.tabs button.on { background: var(--surface-2); color: #fff; }
.shelf { display: flex; justify-content: center; align-items: flex-end; gap: 0; }
.shelf img { width: 30%; border-radius: 10px; box-shadow: 0 24px 40px rgba(0, 0, 0, .55); }
.shelf img:nth-child(1) { transform: rotate(-7deg) translateX(18%); }
.shelf img:nth-child(2) { transform: translateY(-18px); z-index: 2; position: relative; width: 34%; }
.shelf img:nth-child(3) { transform: rotate(7deg) translateX(-18%); }

/* ---------- Passos ---------- */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; padding: 26px; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); }
.step::before { counter-increment: s; content: "0" counter(s); font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: 1.6rem; color: var(--red); display: block; margin-bottom: 10px; }
.step p { color: var(--muted); margin: 0; }

/* ---------- Contato (aulas) ---------- */
.contact-cta { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; background: linear-gradient(120deg, rgba(37, 211, 102, .10), var(--surface) 60%); border: 1px solid rgba(37, 211, 102, .35); border-radius: 22px; padding: 32px 34px; }
.contact-cta p { color: var(--muted); margin: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 600; color: #fff; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--red); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 22px 18px; color: var(--muted); }

/* ---------- Avisos ---------- */
.notice { border-radius: 16px; padding: 22px 26px; display: flex; gap: 18px; align-items: flex-start; }
.notice.closed { background: rgba(229, 72, 77, .10); border: 1px solid rgba(229, 72, 77, .4); }
.notice.closed b { color: #ff9a9d; }
.notice .big { font-size: 1.8rem; line-height: 1; }

/* ---------- Rodapé ---------- */
.footer { background: #0b0f15; color: var(--muted); padding: 64px 0 28px; font-size: .93rem; border-top: 1px solid var(--line); }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer img { height: 72px; width: auto; margin-bottom: 14px; }
.footer h4 { color: #fff; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin: 8px 0; }
.footer a { color: #c5ccd6; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer .legal { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .84rem; }
.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; }
.socials svg { width: 18px; height: 18px; fill: #fff; }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 25px rgba(0, 0, 0, .45); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Página de melhorias ---------- */
.score { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.score div { background: var(--surface); border-radius: var(--radius); padding: 18px; border: 1px solid var(--line); color: var(--muted); }
.score b { font-family: "Plus Jakarta Sans", sans-serif; font-size: 2rem; display: block; color: #fff; }
.issue { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.issue h3 { grid-column: 1 / -1; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; font-size: 1.06rem; margin: 0; }
.issue .num { color: var(--red); font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; }
.issue .lbl { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 4px; }
.issue .before { background: rgba(229, 72, 77, .07); border-left: 3px solid #e5484d; padding: 10px 14px; border-radius: 0 8px 8px 0; font-size: .94rem; }
.issue .after { background: rgba(108, 195, 173, .07); border-left: 3px solid var(--green); padding: 10px 14px; border-radius: 0 8px 8px 0; font-size: .94rem; }
.issue .foot { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.decide { display: inline-flex; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; }
.decide button { font: inherit; font-size: .84rem; font-weight: 600; border: 0; background: var(--bg); padding: 7px 14px; cursor: pointer; color: var(--muted); }
.decide button + button { border-left: 1px solid var(--line-2); }
.decide button.yes.on { background: var(--green); color: #06301a; }
.decide button.no.on { background: #e5484d; color: #fff; }
.decide button.maybe.on { background: var(--gold); color: #3d2e00; }
.sev { font-size: .68rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; letter-spacing: .05em; }
.sev.alta { background: rgba(229, 72, 77, .14); color: #ff8a8d; }
.sev.media { background: var(--warn-bg); color: var(--warn-text); }
.sev.baixa { background: var(--surface-2); color: #c5ccd6; }
.sev.nova { background: var(--green-soft); color: var(--green); }
.toc { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.toc a { text-decoration: none; font-weight: 600; font-size: .88rem; background: var(--surface); border: 1px solid var(--line-2); padding: 7px 14px; border-radius: 10px; color: #fff; }
.tally { position: sticky; top: 82px; z-index: 5; background: var(--surface-2); border: 1px solid var(--line-2); color: #fff; border-radius: 14px; padding: 12px 18px; display: flex; gap: 18px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-bottom: 24px; font-weight: 600; font-size: .9rem; }
code { background: var(--surface-2); padding: 1px 6px; border-radius: 5px; font-size: .88em; }

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
  .hero-grid, .capture, .teacher { grid-template-columns: 1fr; gap: 40px; }
  .teacher .photo { max-width: 280px; }
  .g4, .steps { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: 1fr; }
  .stats, .score { grid-template-columns: repeat(2, 1fr); }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .combo { grid-template-columns: 1fr; text-align: left; }
  .pro { grid-template-columns: 1fr; }
  .pro img { max-width: 260px; }
}
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 74px; left: 0; right: 0; background: #141a24; flex-direction: column; align-items: stretch; padding: 12px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav .btn { margin: 8px 0 0; }
  .plans { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 16px; }
  .section { padding: 60px 0; }
  .hero { padding: 56px 0 80px; }
  .g2, .steps, .footer .cols { grid-template-columns: 1fr; }
  .g4 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .book .body, .course .body { padding: 12px; }
  .book .row, .course .row { flex-direction: column; align-items: stretch; }
  .guarantee, .contact-cta { grid-template-columns: 1fr; flex-direction: column; text-align: center; }
  .issue { grid-template-columns: 1fr; }
  .brand img { height: 46px; }
  .checks[style*="columns"] { columns: 1 !important; }
  .proto-bar { font-size: .74rem; padding: 6px 0; }
  .proto-bar .wrap > span:first-child { display: none; }
  .reel img { width: 280px; }
}

/* Leque de capas (cartão E-books Raio-X) */
.fan { display: flex; justify-content: center; align-items: center; width: 100%; padding: 0 8%; }
.fan img { width: 38%; border-radius: 8px; box-shadow: 0 14px 28px rgba(0, 0, 0, .5); }
.fan img + img { margin-left: -9%; }
.fan img:nth-child(1) { transform: rotate(-6deg); }
.fan img:nth-child(2) { position: relative; z-index: 2; transform: scale(1.1); }
.fan img:nth-child(3) { transform: rotate(6deg); }

/* Três capas com legenda (combo ENEM) */
.trio { display: flex; gap: 10px; }
.trio figure { margin: 0; text-align: center; }
.trio img { width: 92px; border-radius: 8px; box-shadow: 0 10px 20px rgba(0, 0, 0, .45); }
.trio figcaption { margin-top: 8px; font-size: .78rem; font-weight: 700; color: var(--red); letter-spacing: .04em; }
@media (max-width: 620px) { .trio img { width: 80px; } }

/* Formulário de Física (materiais gratuitos) */
.formula { display: grid; grid-template-columns: 1fr 340px; gap: 64px; align-items: center; }
.pages { display: flex; justify-content: center; align-items: flex-end; margin-top: 34px; padding: 0 10%; }
.pages img { width: 34%; border-radius: 6px; box-shadow: 0 22px 40px rgba(0, 0, 0, .5); background: #fff; }
.pages img:nth-child(1) { transform: rotate(-7deg) translateX(22%); }
.pages img:nth-child(2) { position: relative; z-index: 2; width: 38%; transform: translateY(-14px); }
.pages img:nth-child(3) { transform: rotate(7deg) translateX(-22%); }
.phone { background: #0b0f15; border: 1px solid var(--line-2); border-radius: 34px; padding: 12px; box-shadow: var(--shadow); }
.phone video { width: 100%; aspect-ratio: 9/16; border-radius: 24px; display: block; background: #000; object-fit: cover; }
@media (max-width: 980px) {
  .formula { grid-template-columns: 1fr; gap: 40px; }
  .phone { max-width: 320px; margin: 0 auto; }
}

/* Dashboard incorporado */
.dash-frame { background: var(--surface); border: 1px solid var(--line-2); border-radius: 22px; padding: 18px 10px 6px; box-shadow: var(--shadow); }
.dash-frame iframe { display: block; width: 100%; height: 640px; border: 0; background: transparent; transition: height .2s; }
@media (max-width: 860px) { .dash-frame { padding: 10px 0 0; border-radius: 16px; } }
@media (max-width: 620px) { .steps[style*="repeat(3"] { grid-template-columns: 1fr !important; } }

/* Professores (aulas particulares) */
.prof { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 16px 20px; display: flex; flex-direction: column; gap: 8px; }
.prof .photo { aspect-ratio: 4/5; margin-bottom: 8px; border-radius: 12px; overflow: hidden; }
.prof .photo img { width: 100%; height: 100%; object-fit: cover; }
.prof .tag { align-self: flex-start; }
.prof h3 { margin: 2px 0 0; font-size: 1.1rem; }
.prof p { color: var(--muted); font-size: .92rem; margin: 0; }
.prof .checks { margin: 4px 0 0; font-size: .9rem; }
@media (max-width: 620px) { #professores .g4 { grid-template-columns: 1fr 1fr; } .prof p { font-size: .85rem; } }

/* Formulário do Tally embutido */
.tally-form{display:block;width:100%;border:0;min-height:320px;margin:14px 0 0}

/* Captura com vídeo no celular (página inicial) */
.capture-video { grid-template-columns: minmax(260px, 340px) 1fr; gap: 64px; align-items: start; }
.capture-video .phone { width: 100%; max-width: 340px; margin: 0 auto; position: sticky; top: 100px; }
@media (max-width: 900px) { .capture-video { grid-template-columns: 1fr; } .capture-video .phone { position: static; max-width: 300px; } }

/* Páginas institucionais (Política de Privacidade, Termos de Uso) */
.legal-doc { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.legal-toc { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 2px; font-size: .88rem; border-left: 1px solid var(--line); padding-left: 16px; }
.legal-toc b { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.legal-toc a { color: var(--muted); text-decoration: none; padding: 4px 0; }
.legal-toc a:hover { color: #fff; }
.legal-doc article { max-width: 760px; }
.legal-doc article h2 { font-size: 1.45rem; margin: 44px 0 12px; scroll-margin-top: 90px; }
.legal-doc article h3 { font-size: 1.05rem; margin: 22px 0 10px; }
.legal-doc article p, .legal-list li { color: #c9ced6; line-height: 1.7; }
.legal-list { padding-left: 20px; margin: 0 0 14px; }
.legal-list li { margin-bottom: 8px; }
.legal-resumo { background: var(--surface); border: 1px solid var(--line-2); border-left: 3px solid var(--red); border-radius: var(--radius); padding: 22px 24px 8px; }
.legal-resumo h2 { margin: 0 0 12px !important; font-size: 1.15rem !important; }
.legal-tbl { overflow-x: auto; margin: 6px 0 16px; border: 1px solid var(--line); border-radius: 12px; }
.legal-tbl table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.legal-tbl th { text-align: left; background: var(--surface-2); color: #fff; padding: 11px 14px; font-weight: 700; }
.legal-tbl td { padding: 11px 14px; border-top: 1px solid var(--line); color: #c9ced6; vertical-align: top; line-height: 1.55; }
.legal-tbl td:first-child { width: 42%; color: #fff; }
.legal-cols { columns: 2; column-gap: 28px; }
.legal-contato { display: flex; gap: 12px; flex-wrap: wrap; margin: 14px 0; }
@media (max-width: 900px) {
  .legal-doc { grid-template-columns: 1fr; gap: 28px; }
  .legal-toc { position: static; }
  .legal-cols { columns: 1; }
}
