/* Página inicial pública (apresentação do ProfsIA). Mesmas cores do app. */
:root {
  --azul: #2447c9;
  --azul-esc: #1b389f;
  --azul-noite: #0f1f5c;
  --azul-claro: #e8edfc;
  --ouro: #f2a900;
  --texto: #14171f;
  --suave: #5b6272;
  --borda: #e2e5ec;
  --fundo: #ffffff;
  --fundo-alt: #f5f6fa;
  --raio: 14px;
  --sombra: 0 1px 2px rgba(20, 23, 31, .06), 0 10px 30px rgba(20, 23, 31, .08);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--fundo); color: var(--texto); font-size: 17px; line-height: 1.6; }
a { color: var(--azul); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.2; margin: 0; }
.lp-wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.lp-wrap-estreito { max-width: 780px; }

/* Botões */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; background: var(--azul); color: #fff;
  font-weight: 700; text-decoration: none; border-radius: 10px; padding: .7rem 1.15rem; border: 2px solid var(--azul);
  transition: background .15s, transform .15s; }
.lp-btn:hover { background: var(--azul-esc); border-color: var(--azul-esc); }
.lp-btn:active { transform: translateY(1px); }
.lp-btn:focus-visible, .lp-link:focus-visible, .lp-nav a:focus-visible { outline: 3px solid var(--ouro); outline-offset: 2px; }
.lp-btn-sm { padding: .45rem .9rem; font-size: .95rem; }
.lp-btn-lg { padding: .9rem 1.5rem; font-size: 1.05rem; }
.lp-btn-ghost { background: #fff; color: var(--azul); }
.lp-btn-ghost:hover { background: var(--azul-claro); color: var(--azul-esc); }
.lp-btn-claro { background: #fff; color: var(--azul); border-color: #fff; }
.lp-btn-claro:hover { background: var(--azul-claro); border-color: var(--azul-claro); }
.lp-btn-block { width: 100%; }

/* Topo */
.lp-top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--borda); }
.lp-top-in { display: flex; align-items: center; gap: 1.5rem; height: 64px; }
.lp-brand { display: flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.2rem; color: var(--texto); text-decoration: none; }
.lp-mark { width: 34px; height: 34px; border-radius: 9px; background: var(--azul); display: grid; place-items: center; }
.lp-mark svg { width: 20px; height: 20px; }
.lp-nav { display: flex; gap: .25rem; flex: 1; }
.lp-nav a { color: var(--suave); text-decoration: none; font-weight: 600; padding: .4rem .7rem; border-radius: 8px; }
.lp-nav a:hover { color: var(--texto); background: var(--fundo-alt); }
.lp-top-cta { display: flex; align-items: center; gap: .9rem; }
.lp-link { color: var(--texto); font-weight: 600; text-decoration: none; }
.lp-link:hover { color: var(--azul); }
@media (max-width: 860px) { .lp-nav { display: none; } .lp-top-in { justify-content: space-between; } }

/* Abertura */
.lp-hero { background: radial-gradient(1200px 500px at 85% -10%, #dfe6ff 0%, rgba(223, 230, 255, 0) 60%),
  linear-gradient(180deg, #f7f9ff 0%, #fff 100%); padding: 64px 0 72px; overflow: hidden; }
.lp-hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.lp-eyebrow { display: inline-block; background: var(--azul-claro); color: var(--azul); font-weight: 700; font-size: .85rem;
  padding: .3rem .8rem; border-radius: 999px; margin: 0 0 1rem; }
.lp-hero h1 { font-size: clamp(2rem, 4.2vw, 3.15rem); letter-spacing: -.02em; color: var(--azul-noite); }
.lp-lead { font-size: 1.15rem; color: #333a4a; margin: 1.1rem 0 1.6rem; max-width: 40em; }
.lp-ctas { display: flex; gap: .8rem; flex-wrap: wrap; }
.lp-checks { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem 1.3rem; color: var(--suave); font-size: .95rem; }
.lp-checks li::before { content: "✓"; color: #137a3d; font-weight: 800; margin-right: .4rem; }
.lp-hero-vis { position: relative; aspect-ratio: 16 / 11; }
.lp-slide { position: absolute; width: 88%; border-radius: 10px; box-shadow: 0 18px 50px rgba(15, 31, 92, .25); border: 1px solid rgba(15, 31, 92, .08); }
.lp-slide-tras { top: 0; right: 0; transform: rotate(3deg); opacity: .96; }
.lp-slide-frente { bottom: 0; left: 0; transform: rotate(-2deg); }
.lp-tag { position: absolute; background: #fff; color: var(--azul-noite); font-weight: 800; font-size: .9rem; padding: .45rem .8rem;
  border-radius: 999px; box-shadow: var(--sombra); border: 1px solid var(--borda); }
.lp-tag-1 { top: 6%; left: 2%; }
.lp-tag-2 { bottom: 2%; right: 4%; background: var(--ouro); border-color: var(--ouro); color: #1d1600; }
.lp-tag-3 { top: 44%; right: -2%; background: var(--azul); border-color: var(--azul); color: #fff; }
@media (max-width: 900px) { .lp-tag-3 { right: 0; } }
@media (max-width: 900px) {
  .lp-hero { padding: 40px 0 48px; }
  .lp-hero-in { grid-template-columns: 1fr; gap: 36px; }
  .lp-hero-vis { max-width: 560px; width: 100%; margin: 0 auto; }
}
@media (max-width: 480px) { .lp-btn-lg { width: 100%; } }

/* Faixa de disciplinas */
.lp-faixa { background: var(--azul-noite); color: #dfe6ff; text-align: center; padding: 16px 0; font-size: .95rem; }
.lp-faixa p { margin: 0; }

/* Seções */
.lp-sec { padding: 80px 0; }
.lp-sec-alt { background: var(--fundo-alt); }
.lp-h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); text-align: center; color: var(--azul-noite); letter-spacing: -.01em; }
.lp-sub { text-align: center; color: var(--suave); margin: .6rem auto 2.6rem; max-width: 36em; font-size: 1.05rem; }
@media (max-width: 700px) { .lp-sec { padding: 56px 0; } }

.lp-passos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: passo; }
.lp-passos li { background: #fff; border: 1px solid var(--borda); border-radius: var(--raio); padding: 28px 24px; box-shadow: var(--sombra); }
.lp-num { width: 40px; height: 40px; border-radius: 50%; background: var(--azul); color: #fff; font-weight: 800; display: grid; place-items: center; margin-bottom: 14px; }
.lp-passos h3, .lp-card h3 { font-size: 1.15rem; margin-bottom: .45rem; }
.lp-passos p, .lp-card p { margin: 0; color: #3d4455; }
@media (max-width: 800px) { .lp-passos { grid-template-columns: 1fr; } }

.lp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lp-card { background: #fff; border: 1px solid var(--borda); border-radius: var(--raio); padding: 26px 24px; transition: transform .15s, box-shadow .15s; }
.lp-card:hover { transform: translateY(-3px); box-shadow: var(--sombra); }
.lp-ico { width: 46px; height: 46px; border-radius: 12px; background: var(--azul-claro); display: grid; place-items: center; margin-bottom: 14px; }
.lp-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--azul); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 900px) { .lp-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .lp-cards { grid-template-columns: 1fr; } }

.lp-galeria { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.lp-galeria figure { margin: 0; }
.lp-galeria img { border-radius: 10px; box-shadow: var(--sombra); border: 1px solid var(--borda); }
.lp-galeria figcaption { color: var(--suave); font-size: .9rem; margin-top: .55rem; text-align: center; }
@media (max-width: 700px) { .lp-galeria { grid-template-columns: 1fr; } }

/* Comparativo antes e depois */
.lp-rotina { background: linear-gradient(180deg, #fff 0%, #f1f4ff 100%); }
.lp-kicker { text-align: center; margin: 0 0 .5rem; font-weight: 800; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--azul); }
.lp-comp { max-width: 1000px; margin: 0 auto; background: #fff; border-radius: 20px; border: 1px solid var(--borda);
  box-shadow: 0 24px 60px rgba(15, 31, 92, .12); overflow: hidden; position: relative; }
.lp-comp-cab, .lp-comp-linha { display: grid; grid-template-columns: 1.05fr 1fr 1.15fr; align-items: stretch; }
.lp-comp-cab > span { padding: 18px 24px; font-weight: 800; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--suave); display: flex; align-items: center; gap: .55rem; }
.lp-comp-cab .lp-cab-com { background: linear-gradient(135deg, var(--azul) 0%, #1a35a8 100%); color: #fff; font-size: .95rem; letter-spacing: .02em; text-transform: none; }
.lp-mini-marca { width: 26px; height: 26px; border-radius: 7px; background: rgba(255, 255, 255, .18); display: grid; place-items: center; }
.lp-mini-marca svg { width: 16px; height: 16px; }
.lp-comp-linha { border-top: 1px solid var(--borda); transition: background .15s; }
.lp-comp-linha > span { padding: 20px 24px; display: flex; align-items: center; gap: .7rem; }
.lp-tarefa { font-weight: 800; color: var(--azul-noite); font-size: 1.05rem; }
.lp-tarefa-ico { width: 40px; height: 40px; border-radius: 11px; background: var(--azul-claro); display: grid; place-items: center; flex: none; }
.lp-tarefa-ico svg { width: 21px; height: 21px; fill: none; stroke: var(--azul); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lp-sem { color: #2f3442; background: #f6f6f8; font-weight: 600; }
.lp-x { width: 26px; height: 26px; border-radius: 50%; background: #d92d20; color: #fff; display: grid; place-items: center; font-size: .75rem; font-weight: 900; flex: none; }
.lp-com { background: linear-gradient(135deg, #2447c9 0%, #1a35a8 100%); color: #fff; font-weight: 700; font-size: 1.02rem; }
.lp-v { width: 26px; height: 26px; border-radius: 50%; background: var(--ouro); color: #1d1600; display: grid; place-items: center; font-weight: 900; flex: none; }
.lp-comp-linha + .lp-comp-linha .lp-com { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: -1px; }
.lp-comp-linha:hover { background: #f6f8ff; }
.lp-comp-linha:hover .lp-com { background: linear-gradient(135deg, #2a50dc 0%, #1d3bb8 100%); }
.lp-rotulo { display: none; }
.lp-txt { flex: 1; min-width: 0; }
.lp-fluxo { max-width: 1000px; margin: 34px auto 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  background: var(--azul-noite); border-radius: 18px; padding: 22px 26px; }
.lp-fluxo ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.lp-fluxo li { color: #fff; font-weight: 800; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; padding: .45rem .9rem; }
.lp-fluxo li:not(:last-child)::after { content: "→"; margin-left: .9rem; margin-right: -.4rem; color: var(--ouro); }
.lp-fluxo li:last-child { background: var(--ouro); color: #1d1600; border-color: var(--ouro); }
.lp-fluxo .lp-btn { background: #fff; color: var(--azul); border-color: #fff; }
.lp-fluxo .lp-btn:hover { background: var(--azul-claro); }
@media (max-width: 760px) {
  .lp-comp { border-radius: 16px; background: transparent; border: 0; box-shadow: none; overflow: visible; display: grid; gap: 14px; }
  .lp-comp-cab { display: none; }
  .lp-comp-linha { grid-template-columns: 1fr; border: 1px solid var(--borda); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 10px 28px rgba(15, 31, 92, .08); }
  .lp-comp-linha > span { padding: 14px 18px; }
  .lp-comp-linha + .lp-comp-linha .lp-com { border-top: 0; margin-top: 0; }
  .lp-sem, .lp-com { flex-wrap: wrap; }
  .lp-rotulo { display: block; width: 100%; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .75; margin-bottom: -.2rem; }
  .lp-fluxo { justify-content: center; text-align: center; }
  .lp-fluxo ol { justify-content: center; }
}

/* Vitrine de aulas (fundo escuro, slides numa "tela") */
.lp-vitrine-sec { background: radial-gradient(900px 420px at 50% 0%, #1d3a9e 0%, rgba(29, 58, 158, 0) 70%), var(--azul-noite); }
.lp-claro { color: #fff; }
.lp-claro-sub { color: #c9d4ff; }
.lp-abas { display: flex; justify-content: center; gap: .5rem; flex-wrap: wrap; margin: -1rem 0 1rem; }
.lp-disc { display: flex; justify-content: center; gap: .4rem; flex-wrap: wrap; margin: 0 auto 1.8rem; max-width: 900px; }
.lp-disc button { font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; border-radius: 8px; padding: .4rem .8rem;
  background: transparent; color: #dfe5ff; border: 1px solid rgba(255, 255, 255, .22); }
.lp-disc button span { font-weight: 400; opacity: .75; font-size: .82rem; }
.lp-disc button:hover { border-color: rgba(255, 255, 255, .5); }
.lp-disc button[aria-selected="true"] { background: #fff; color: var(--azul-noite); border-color: #fff; }
.lp-disc button:focus-visible { outline: 3px solid var(--ouro); outline-offset: 2px; }
.lp-abas button { font: inherit; font-weight: 700; cursor: pointer; border-radius: 999px; padding: .55rem 1.1rem;
  background: rgba(255, 255, 255, .08); color: #dfe6ff; border: 1px solid rgba(255, 255, 255, .22); transition: background .15s; }
.lp-abas button:hover { background: rgba(255, 255, 255, .16); }
.lp-abas button[aria-selected="true"] { background: var(--ouro); border-color: var(--ouro); color: #1d1600; }
.lp-abas button:focus-visible, .lp-miniaturas button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.lp-tela { max-width: 900px; margin: 0 auto; }
.lp-tela-in { background: #0a0f24; padding: 14px; border-radius: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .08) inset; }
.lp-tela-in img { width: 100%; border-radius: 6px; transition: opacity .18s ease; }
.lp-tela-in img.lp-trocando { opacity: .15; }
.lp-tela-base { width: 34%; height: 14px; margin: 0 auto; background: linear-gradient(#202a52, #121935); border-radius: 0 0 14px 14px; }
.lp-legenda { text-align: center; color: #fff; font-weight: 700; margin: 1.1rem 0 .9rem; min-height: 1.6em; }
.lp-miniaturas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 900px; margin: 0 auto; }
.lp-miniaturas button { padding: 0; border: 2px solid transparent; border-radius: 8px; background: none; cursor: pointer; opacity: .55; transition: opacity .15s; }
.lp-miniaturas button:hover { opacity: .85; }
.lp-miniaturas button[aria-current="true"] { opacity: 1; border-color: var(--ouro); }
.lp-miniaturas img { border-radius: 6px; }
.lp-vitrine-cta { text-align: center; margin: 2.2rem 0 0; }
@media (max-width: 600px) { .lp-tela-in { padding: 8px; border-radius: 10px; } .lp-miniaturas { gap: 6px; }
  .lp-abas { gap: .35rem; } .lp-abas button { padding: .45rem .8rem; font-size: .88rem; } .lp-disc button { font-size: .82rem; padding: .35rem .6rem; } }

/* Planos */
.lp-planos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.lp-anual { margin: -.6rem 0 1rem; color: var(--suave); font-size: .9rem; }
.lp-plano { position: relative; background: #fff; border: 1px solid var(--borda); border-radius: var(--raio); padding: 30px 26px;
  display: flex; flex-direction: column; }
.lp-plano h3 { font-size: 1.2rem; color: var(--azul-noite); }
.lp-preco { font-size: 2.2rem; font-weight: 800; margin: .5rem 0 1rem; color: var(--texto); }
.lp-preco span { font-size: 1rem; font-weight: 600; color: var(--suave); margin-left: .2rem; }
.lp-de { margin: .4rem 0 -.6rem; color: var(--suave); text-decoration: line-through; font-size: .95rem; }
.lp-plano ul { list-style: none; padding: 0; margin: 0 0 1.6rem; flex: 1; }
.lp-plano li { padding: .35rem 0 .35rem 1.6rem; position: relative; color: #3d4455; }
.lp-plano li::before { content: "✓"; position: absolute; left: 0; color: #137a3d; font-weight: 800; }
.lp-plano-destaque { border: 2px solid var(--azul); box-shadow: 0 16px 40px rgba(36, 71, 201, .18); }
.lp-fita { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--ouro); color: #1d1600; font-weight: 800;
  font-size: .8rem; padding: .25rem .8rem; border-radius: 999px; white-space: nowrap; }
.lp-nota { text-align: center; color: var(--suave); margin: 1.8rem 0 0; }
@media (max-width: 1100px) { .lp-planos { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .lp-planos { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; } }

/* Dúvidas */
.lp-faq { border-bottom: 1px solid var(--borda); padding: 4px 0; }
.lp-faq summary { cursor: pointer; font-weight: 700; padding: 16px 32px 16px 0; list-style: none; position: relative; font-size: 1.05rem; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.5rem; color: var(--azul); font-weight: 400; }
.lp-faq[open] summary::after { content: "–"; }
.lp-faq summary:focus-visible { outline: 3px solid var(--ouro); outline-offset: 2px; }
.lp-faq p { margin: 0 0 18px; color: #3d4455; }

/* Chamada final e rodapé */
.lp-final { background: linear-gradient(135deg, var(--azul) 0%, var(--azul-noite) 100%); color: #fff; text-align: center; padding: 72px 0; }
.lp-final h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.lp-final p { color: #dfe6ff; margin: .7rem 0 1.6rem; font-size: 1.1rem; }
.lp-rodape { background: #0b1640; color: #aab4d6; font-size: .9rem; padding: 26px 0; }
.lp-rodape-in { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: center; }
.lp-rodape nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.lp-rodape a { color: #dfe6ff; text-decoration: none; }
.lp-rodape a:hover { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .lp-card, .lp-btn { transition: none; } }
section[id] { scroll-margin-top: 72px; }
