/* Estilo das páginas de conteúdo (blog e páginas por nicho). Mesma identidade da home. */
:root {
    --primary: #f2691e;
    --primary-light: rgba(242, 105, 30, 0.12);
    --accent: #34d399;
    --gradient: linear-gradient(135deg, #f97316 0%, #f2691e 48%, #ea580c 100%);
    --bg: #0e1116;
    --bg-2: #12151b;
    --card: #161a21;
    --text: #f2f4f7;
    --text-2: #c2c8d1;
    --muted: #8b929d;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: #262c36;
    --font-sans: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-mono: "Geist Mono", ui-monospace, "SF Mono", monospace;
}
[data-theme="light"] {
    --bg: #ffffff;
    --bg-2: #f5f6f8;
    --card: #ffffff;
    --text: #1c2026;
    --text-2: #3a3f47;
    --muted: #5b616e;
    --border: #e6e8ec;
    --border-strong: #dfe1e6;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text-2);
    font: 400 1.05rem/1.75 var(--font-sans);
    -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); }
img { max-width: 100%; height: auto; }
.wrap { width: min(1120px, 100% - 40px); margin: 0 auto; }
.narrow { width: min(760px, 100% - 40px); margin: 0 auto; }

.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 20px; border-radius: 12px;
    font: 600 0.95rem/1 var(--font-sans); text-decoration: none; border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary { background: var(--gradient); color: #fff; box-shadow: 0 10px 30px rgba(242, 105, 30, 0.3); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-outline { border-color: var(--border-strong); color: var(--text); background: var(--bg-2); }

/* Hero das páginas */
.page-hero { padding: 70px 0 40px; text-align: center; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; color: var(--primary); font: 600 0.8rem/1 var(--font-sans); letter-spacing: 0.08em; text-transform: uppercase; }
.page-hero h1, .article h1 { color: var(--text); font-size: clamp(2rem, 4.6vw, 3.1rem); line-height: 1.12; letter-spacing: -0.02em; margin: 16px 0; }
.page-hero h1 span, .grad { background: linear-gradient(110deg, #f5854a, #f2691e 45%, #f9a877); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero p.lead { max-width: 720px; margin: 0 auto 26px; font-size: 1.15rem; color: var(--text-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; color: var(--muted); font-size: 0.92rem; }
.checks i { color: var(--accent); margin-right: 5px; }

/* Blocos */
.section { padding: 60px 0; }
.section h2 { color: var(--text); font-size: clamp(1.5rem, 3vw, 2.1rem); text-align: center; margin: 0 0 12px; letter-spacing: -0.01em; }
.section .sub { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 34px; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 26px; }
.card .ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--primary-light); color: var(--primary); font-size: 1.2rem; margin-bottom: 14px; }
.card h3 { color: var(--text); font-size: 1.08rem; margin: 0 0 8px; }
.card p { margin: 0; color: var(--muted); font-size: 0.96rem; line-height: 1.6; }
.shot { margin: 0 auto; max-width: 1080px; border-radius: 16px; overflow: hidden; border: 1px solid var(--border-strong); box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55); }
.shot img { display: block; width: 100%; }
.shot figcaption { padding: 12px 16px; font-size: 0.88rem; color: var(--muted); background: var(--bg-2); }

/* Artigo */
.crumbs { font-size: 0.85rem; color: var(--muted); margin: 34px 0 0; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.article { padding-bottom: 40px; }
.article .meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 28px; }
.article h2 { color: var(--text); font-size: 1.55rem; margin: 44px 0 12px; letter-spacing: -0.01em; }
.article h3 { color: var(--text); font-size: 1.18rem; margin: 30px 0 8px; }
.article p, .article li { color: var(--text-2); }
.article strong { color: var(--text); }
.article ul, .article ol { padding-left: 1.3em; }
.article li { margin: 6px 0; }
.formula { font: 500 0.98rem/1.6 var(--font-mono); background: var(--bg-2); border: 1px solid var(--border-strong); border-left: 3px solid var(--primary); border-radius: 10px; padding: 14px 18px; color: var(--text); overflow-x: auto; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 0.96rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); }
th { color: var(--text); font-weight: 600; background: var(--bg-2); }
td.num, th.num { text-align: right; font-family: var(--font-mono); white-space: nowrap; }
tr.total td { color: var(--text); font-weight: 700; border-top: 1px solid var(--border-strong); }
.note { background: rgba(52, 211, 153, 0.07); border: 1px solid rgba(52, 211, 153, 0.25); border-radius: 12px; padding: 14px 18px; color: var(--text-2); }
.cta-box { margin: 46px 0 10px; padding: 28px; border-radius: 18px; background: linear-gradient(135deg, rgba(242, 105, 30, 0.14), rgba(242, 105, 30, 0.04)); border: 1px solid rgba(242, 105, 30, 0.3); text-align: center; }
.cta-box h2, .cta-box h3 { margin-top: 0; color: var(--text); }
.cta-box p { margin: 0 auto 18px; max-width: 560px; }
.related { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 16px; }
.related a { display: block; padding: 16px 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--border); color: var(--text); text-decoration: none; font-weight: 600; line-height: 1.4; }
.related a:hover { border-color: rgba(242, 105, 30, 0.4); }
.related small { display: block; color: var(--muted); font-weight: 400; margin-top: 6px; }

/* Lista do blog */
.posts { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.post { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 18px; background: var(--card); border: 1px solid var(--border); color: inherit; text-decoration: none; transition: border-color 0.2s ease, transform 0.2s ease; }
.post:hover { border-color: rgba(242, 105, 30, 0.4); transform: translateY(-3px); }
.post h2 { color: var(--text); font-size: 1.2rem; margin: 0; line-height: 1.35; text-align: left; }
.post p { margin: 0; color: var(--muted); font-size: 0.96rem; line-height: 1.6; }
.post span { color: var(--primary); font-weight: 600; font-size: 0.9rem; margin-top: auto; }

/* FAQ curto */
details { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 16px 20px; margin: 10px 0; }
summary { cursor: pointer; color: var(--text); font-weight: 600; }
details p { margin: 10px 0 0; color: var(--muted); }

/* Rodapé */
.site-footer { border-top: 1px solid var(--border); padding: 34px 0; margin-top: 50px; color: var(--muted); font-size: 0.9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }

/* Faixa de chamada (fim das páginas) */
.btn-ghost { color: var(--text); background: transparent; border-color: rgba(255, 255, 255, 0.18); }
.btn-ghost:hover { border-color: rgba(242, 105, 30, 0.5); }
.cband {
    --c1: 242, 105, 30;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px 26px;
    margin: 48px 0 12px;
    padding: 30px 32px;
    border-radius: 22px;
    border: 1px solid rgba(var(--c1), 0.32);
    background:
        radial-gradient(520px 220px at 0% 0%, rgba(var(--c1), 0.22), transparent 70%),
        radial-gradient(420px 220px at 100% 100%, rgba(var(--c1), 0.1), transparent 70%),
        var(--card);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.cband::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 18px 18px;
    mask-image: linear-gradient(90deg, transparent 45%, #000);
    pointer-events: none;
}
.cband > * { position: relative; z-index: 1; }
.cband--green { --c1: 52, 211, 153; }
.cband-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(var(--c1), 1), rgba(var(--c1), 0.7));
    color: #fff;
    font-size: 1.4rem;
    box-shadow: 0 12px 30px rgba(var(--c1), 0.35);
}
.cband h2 { margin: 0 0 6px; text-align: left; color: var(--text); font-size: 1.45rem; letter-spacing: -0.01em; }
.cband p { margin: 0; color: var(--text-2); max-width: 560px; line-height: 1.6; }
.cband-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.cband-actions .btn { white-space: nowrap; }
@media (max-width: 820px) {
    .cband { grid-template-columns: 1fr; padding: 26px 22px; }
    .cband-actions { justify-content: flex-start; }
}
