/* =====================================================================
   Páginas institucionais da Lumen (blog, sobre, termos, páginas do CMS,
   assinatura, confirmação). Carregado DEPOIS do landing.css: usa as
   mesmas variáveis (--teal-*, --slate-*, --sans, --head) e traz para a
   marca as classes antigas que essas páginas ainda usam.
   ===================================================================== */

.ui-site { background: var(--slate-50); }
.site-main { position: relative; z-index: 1; min-height: 50vh; }
.site-wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--gut) 72px; }
.site-narrow { max-width: 820px; }
.site-foot-links { display: flex; flex-wrap: wrap; gap: 18px; }
.site-foot-links a { color: var(--slate-500); text-decoration: none; font-size: .9rem; }
.site-foot-links a:hover { color: var(--teal-700); }

/* ---------- cabeçalho de página ---------- */
.site-hero { padding: 56px 0 36px; text-align: center; }
.site-hero .lp-badge { margin-bottom: 18px; }
.site-hero h1 {
    font-family: var(--head); font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 650;
    letter-spacing: -.03em; line-height: 1.05; color: var(--slate-900); margin: 0 auto 14px; max-width: 900px;
}
.site-hero p { color: var(--slate-500); font-size: 1.08rem; line-height: 1.6; max-width: 680px; margin: 0 auto; }

/* ---------- cartões e textos ---------- */
.site-card {
    background: var(--white); border: 1px solid var(--slate-200); border-radius: 22px;
    box-shadow: var(--sh-md); padding: 34px clamp(20px, 4vw, 44px);
}
.site-prose, .site-prose .htmlchars { font-size: 1.04rem; line-height: 1.8; color: var(--slate-700); }
.site-prose h2, .site-prose h3, .site-prose strong { color: var(--slate-900); }
.site-prose h2 { font-family: var(--head); font-size: 1.5rem; letter-spacing: -.02em; margin: 1.6em 0 .6em; }
.site-prose h3 { font-size: 1.15rem; margin: 1.4em 0 .5em; }
.site-prose p { margin: 0 0 1.1em; }
.site-prose a { color: var(--teal-700); }
.site-prose img { max-width: 100%; height: auto; border-radius: 16px; }
.site-prose ul, .site-prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }

.site-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.site-value { background: var(--white); border: 1px solid var(--slate-200); border-radius: 20px; padding: 26px; box-shadow: var(--sh-sm); }
.site-value .lp-ibox { margin-bottom: 14px; }
.site-value h3 { font-family: var(--head); font-size: 1.15rem; margin: 0 0 8px; color: var(--slate-900); }
.site-value p { margin: 0; color: var(--slate-500); line-height: 1.6; }

/* ---------- FAQ (sobre) ---------- */
.faq_asks { display: grid; gap: 10px; }
.faq_ask { background: var(--white); border: 1px solid var(--slate-200); border-radius: 16px; padding: 16px 20px; }
.faq_ask h4 { margin: 0; cursor: pointer; font-size: 1rem; color: var(--slate-900); }
.faq_ask h4::before { color: var(--teal-600); }
.faq_ask_coll { color: var(--slate-600); line-height: 1.7; padding-top: 10px; }

/* ---------- formulário (assinatura) ---------- */
.site-checkout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 28px; align-items: start; }
@media (max-width: 900px) { .site-checkout { grid-template-columns: 1fr; } }
.site-summary {
    position: sticky; top: 24px; color: #fff; border-radius: 24px; padding: 30px;
    background: radial-gradient(500px 240px at 90% -10%, rgba(224, 168, 46, .35), transparent 60%),
                linear-gradient(145deg, var(--teal-600), #134e4a);
    box-shadow: var(--sh-lg);
}
.site-summary small { text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; opacity: .8; font-weight: 700; }
.site-summary h2 { font-family: var(--head); font-size: 1.7rem; margin: 6px 0 14px; letter-spacing: -.02em; }
.site-price { font-family: var(--head); font-size: 2.6rem; font-weight: 700; letter-spacing: -.03em; }
.site-price span { font-size: 1rem; font-weight: 500; opacity: .8; }
.site-summary ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.site-summary li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; line-height: 1.5; }
.site-summary li::before { content: "✓"; font-weight: 800; color: #fde68a; }
.site-secure { margin-top: 22px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .12); font-size: .85rem; line-height: 1.5; }

.site-form .ajax_response .message { border-radius: 12px; margin-bottom: 16px; }
.site-form fieldset { border: 0; padding: 0; margin: 0 0 26px; }
.site-form legend { display: flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 650; font-size: 1.1rem; color: var(--slate-900); margin-bottom: 14px; padding: 0; }
.site-form legend b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-700); font-size: .85rem; }
.site-form .site-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.site-form .site-row-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.site-form label { display: block; margin-bottom: 14px; }
.site-form label > span { display: block; font-size: .84rem; font-weight: 600; color: var(--slate-700); margin-bottom: 6px; }
.site-form input {
    width: 100%; box-sizing: border-box; padding: 13px 14px; border: 1px solid var(--slate-200); border-radius: 12px;
    background: var(--slate-50); font: inherit; font-size: .96rem; color: var(--slate-900); outline: none; transition: .15s;
}
.site-form input:focus { border-color: var(--teal-600); background: #fff; box-shadow: 0 0 0 3px rgba(13, 148, 136, .15); }
.site-form .site-note { font-size: .86rem; color: var(--slate-500); line-height: 1.6; margin: 4px 0 18px; }
.site-form .site-note a { color: var(--teal-700); font-weight: 600; }
.site-submit {
    width: 100%; border: 0; border-radius: 14px; padding: 16px; cursor: pointer; font: inherit; font-weight: 700; font-size: 1.02rem;
    color: #fff; background: var(--slate-900); display: flex; justify-content: center; align-items: center; gap: 8px; transition: .15s;
}
.site-submit:hover { background: var(--teal-700); }

/* ---------- blog ---------- */
.blog_page_header form { max-width: 520px; margin: 22px auto 0; }
.blog_page_header label { display: flex; background: #fff; border: 1px solid var(--slate-200); border-radius: 999px; padding: 6px 6px 6px 18px; box-shadow: var(--sh-sm); }
.blog_page_header input { flex: 1; border: 0; outline: none; font: inherit; background: transparent; min-width: 0; }
.blog_page_header button { border: 0; border-radius: 999px; width: 42px; height: 42px; background: var(--slate-900); color: #fff; cursor: pointer; }
.blog_articles { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.blog_article { background: #fff; border: 1px solid var(--slate-200); border-radius: 20px; overflow: hidden; box-shadow: var(--sh-sm); transition: .2s; margin: 0; width: auto; }
.blog_article:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.blog_article img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.blog_article header { padding: 18px 20px 22px; }
.blog_article .meta { font-size: .78rem; color: var(--slate-500); margin: 0 0 8px; }
.blog_article .meta a { color: var(--teal-700); font-weight: 600; text-decoration: none; }
.blog_article h2 { font-family: var(--head); font-size: 1.2rem; line-height: 1.3; margin: 0 0 8px; }
.blog_article h2 a { color: var(--slate-900); text-decoration: none; }
.blog_article p a { color: var(--slate-600); text-decoration: none; }
.empty_content { text-align: center; padding: 50px 20px; }
.empty_content_title { font-family: var(--head); font-size: 1.4rem; color: var(--slate-900); }
.empty_content_desc { color: var(--slate-500); }
.empty_content_btn { display: inline-block; margin-top: 12px; background: var(--slate-900) !important; color: #fff; padding: 12px 20px; border-radius: 999px; text-decoration: none; }

/* artigo */
.post_page { max-width: 820px; margin: 0 auto; padding: 48px var(--gut) 72px; }
.post_page_hero h1 { font-family: var(--head); font-size: clamp(2rem, 4.4vw, 3rem); letter-spacing: -.03em; line-height: 1.08; color: var(--slate-900); margin: 0 0 22px; }
.post_page_cover { width: 100%; border-radius: 22px; box-shadow: var(--sh-md); display: block; }
.post_page_meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 18px 0 30px; color: var(--slate-500); font-size: .9rem; flex-wrap: wrap; }
.post_page_meta .author { display: flex; align-items: center; gap: 10px; }
.post_page_meta .author img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.post_page_content .htmlchars { font-size: 1.08rem; line-height: 1.85; color: var(--slate-700); }
.post_page_content .htmlchars h2 { font-family: var(--head); color: var(--slate-900); font-size: 1.35rem; line-height: 1.4; }
.post_page_content .htmlchars img { max-width: 100%; height: auto; border-radius: 16px; }
.social_share { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--slate-200); }
.social_share_title { font-size: 1rem; color: var(--slate-900); }

/* termos (conteúdo longo existente) */
.terms_page { max-width: 880px; margin: 0 auto; padding: 0 var(--gut) 72px; }
.terms_page_header { padding: 56px 0 30px; text-align: center; }
.terms_page_header h1 { font-family: var(--head); font-size: clamp(2rem, 4.4vw, 3rem); letter-spacing: -.03em; color: var(--slate-900); margin: 0 0 10px; }
.terms_page_header p { color: var(--slate-500); }
.terms_page_content { background: #fff; border: 1px solid var(--slate-200); border-radius: 22px; box-shadow: var(--sh-md); padding: 34px clamp(20px, 4vw, 44px); }
.terms_page_content .htmlchars { font-size: 1rem; line-height: 1.8; color: var(--slate-700); }
.terms_page_content .htmlchars strong { color: var(--slate-900); }

/* confirmação de cadastro / estados */
.site-state { text-align: center; }
.site-state img { max-width: 220px; height: auto; margin: 0 auto 18px; display: block; }
.site-state h1 { font-family: var(--head); font-size: 1.9rem; letter-spacing: -.02em; color: var(--slate-900); margin: 0 0 10px; }
.site-state p { color: var(--slate-500); line-height: 1.7; margin: 0 auto 22px; max-width: 520px; }

/* O .auth_form continua no formulário (é ele que ativa o envio AJAX), mas a
   largura fixa de 500px do legado estourava a tela no celular. */
.site-form.auth_form { width: auto; max-width: none; margin: 0; }
.site-checkout > * { min-width: 0; }

/* Cabeçalho do blog: o legado tinha 40px de padding, larguras fixas e texto
   com contorno (text-stroke). Aqui segue o padrão do .site-hero. */
.blog_page_header.site-hero { padding: 56px var(--gut) 36px; background: none; }
.blog_page_header.site-hero h1 { -webkit-text-stroke-width: 0; color: var(--slate-900); }
.blog_page_header p, .blog_page_header form { width: auto; max-width: 560px; }
.blog_page_header form label { box-sizing: border-box; width: 100%; }
