/* Entity Mark — tema default. Dark "IA/Tech" + claro (toggle). Tokens em :root. */

:root {
    /* ----- DARK (padrão) — minimalista enterprise ----- */
    --bg: #08090d;
    --bg-soft: #0c0e13;
    --surface: #0f1117;
    --surface-2: #14161e;
    --border: #1c1f28;
    --border-strong: #282c37;
    --text: #f0f1f5;
    --text-soft: #b9bdc9;
    --muted: #777d8c;
    --muted-2: #4e5462;
    --accent: #818cf8;
    --accent-2: #a78bfa;
    --accent-ink: #0a0b10;
    --accent-soft: rgba(129, 140, 248, .12);
    --accent-border: rgba(129, 140, 248, .30);
    --star: #e6b450;
    --star-empty: #282c37;
    --green: #4ade80;
    --green-soft: rgba(74, 222, 128, .13);
    --alert-bg: rgba(239, 68, 68, .12);
    --alert-text: #fca5a5;
    --alert-border: rgba(239, 68, 68, .32);
    --track: #1c1f28;
    --hover: #181b23;
    --header-bg: rgba(8, 9, 13, .72);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .5);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, .5);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, .6);
    --glow: 0 8px 26px rgba(129, 140, 248, .16);
    --hero-glow: radial-gradient(680px 380px at 82% 8%, rgba(129, 140, 248, .12), transparent 62%);
    --radius: 16px;
    --radius-sm: 11px;
    --maxw: 1060px;
}

[data-theme="light"] {
    --bg: #f6f7f9;
    --bg-soft: #fbfbfd;
    --surface: #ffffff;
    --surface-2: #f5f6f8;
    --border: #e9eaee;
    --border-strong: #dcdde3;
    --text: #14151a;
    --text-soft: #3f4350;
    --muted: #6b7280;
    --muted-2: #9499a3;
    --accent: #0891b2;
    --accent-2: #059669;
    --accent-ink: #ffffff;
    --accent-soft: #e6f6fa;
    --accent-border: rgba(8, 145, 178, .25);
    --star: #f5a623;
    --star-empty: #d6d8df;
    --green: #16a34a;
    --green-soft: #e8f6ee;
    --alert-bg: #fdeaea;
    --alert-text: #b42318;
    --alert-border: #f5c9c4;
    --track: #edeef2;
    --hover: #f3f4f8;
    --header-bg: rgba(255, 255, 255, .82);
    --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
    --shadow-md: 0 4px 14px rgba(16, 24, 40, .06);
    --shadow-lg: 0 12px 32px rgba(16, 24, 40, .10);
    --glow: 0 6px 16px rgba(8, 145, 178, .22);
    --hero-glow: radial-gradient(1100px 460px at 70% -10%, #e9f7fb, transparent 60%);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    background: var(--hero-glow), var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    transition: background-color .2s ease, color .2s ease;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: none; }
.icon { vertical-align: -.18em; flex: none; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: var(--header-bg); backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 26px; padding: 13px 22px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--text); font-weight: 700; font-size: 16px; }
.brand-mark {
    display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--accent-ink);
    font-size: 12px; font-weight: 800; letter-spacing: .4px; box-shadow: var(--glow);
}
.site-nav { display: flex; gap: 22px; }
.site-nav a { color: var(--text-soft); font-size: 14.5px; font-weight: 500; }
.site-nav a:hover { color: var(--text); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.header-link { color: var(--text-soft); font-size: 14.5px; font-weight: 600; }
.header-link:hover { color: var(--text); }
.lang-switch { font-size: 13px; font-weight: 700; letter-spacing: .5px; color: var(--text-soft); padding: 8px 11px; border: 1px solid var(--border); border-radius: 10px; }
.lang-switch:hover { color: var(--accent); border-color: var(--accent-border); }
.theme-toggle {
    display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
    background: var(--surface-2); border: 1px solid var(--border); color: var(--text-soft); cursor: pointer; transition: .14s;
}
.theme-toggle:hover { color: var(--accent); border-color: var(--accent-border); }
.theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: inline; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 17px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600;
    border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: .15s ease;
}
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--accent-ink); box-shadow: var(--glow); }
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn-ghost { background: transparent; border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { background: var(--hover); border-color: var(--accent-border); }

/* texto serifado elegante para destaques (estilo "Intelligence.") */
.serif { font-family: "Instrument Serif", Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: 0; }
.serif-italic { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; }
.btn-sm { padding: 7px 13px; font-size: 13px; }
.btn-block { width: 100%; }

/* ---------- Cards / sections ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.section-title { font-size: 12px; text-transform: uppercase; letter-spacing: .9px; font-weight: 700; color: var(--muted); margin: 0 0 14px; }
.muted { color: var(--muted); }
.link { font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.link:hover { color: var(--accent-2); }

/* ---------- Alerts ---------- */
.alert { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 16px; }
.alert-error { background: var(--alert-bg); color: var(--alert-text); border: 1px solid var(--alert-border); }

/* ---------- Entity layout ---------- */
.breadcrumb { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 13.5px; padding: 26px 0 14px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--text); }
.entity-grid { display: grid; grid-template-columns: 1fr 330px; gap: 30px; padding-bottom: 30px; align-items: start; }
.entity-main { display: flex; flex-direction: column; gap: 22px; }

/* ---------- Hero ---------- */
.hero { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-md); }
.hero-top { display: flex; gap: 20px; }
.avatar { flex: none; }
.avatar img { border-radius: 18px; object-fit: cover; box-shadow: var(--shadow-sm); }
.avatar-initials {
    display: grid; place-items: center; width: 80px; height: 80px; border-radius: 18px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--accent-ink);
    font-size: 28px; font-weight: 800; letter-spacing: .5px; box-shadow: var(--glow);
}
.hero-badges { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1; }
.pill-type { background: var(--accent-soft); color: var(--accent); }
.pill-verified { background: var(--green-soft); color: var(--green); }
.hero-name { font-size: 33px; line-height: 1.1; margin: 0 0 5px; letter-spacing: -.02em; font-weight: 800; }
.hero-tagline { color: var(--muted); font-size: 16px; margin: 0 0 14px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 0; padding: 0; }
.hero-meta li { display: inline-flex; align-items: center; gap: 7px; color: var(--text-soft); font-size: 14px; }
.hero-meta .icon { color: var(--accent); }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }

/* ---------- AI summary ---------- */
.ai-summary { border-color: var(--accent-border); }
.ai-summary-head { display: flex; gap: 13px; align-items: center; margin-bottom: 14px; }
.ai-badge {
    display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; flex: none;
    background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--accent-ink); box-shadow: var(--glow);
}
.ai-summary .section-title { margin: 0; }
.ai-sub { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.ai-text { margin: 0; font-size: 15.5px; color: var(--text-soft); }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card { display: flex; flex-direction: column; transition: .16s ease; }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--accent-border); }
.service-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); margin-bottom: 14px; }
.service-card h3 { margin: 0 0 7px; font-size: 16.5px; font-weight: 700; }
.service-card p { margin: 0 0 16px; color: var(--muted); font-size: 14px; flex: 1; }
.service-link { margin-top: auto; }

/* ---------- Reviews ---------- */
.rating { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.rating-number { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.stars { display: inline-flex; gap: 2px; }
.star { color: var(--star-empty); }
.star.on { color: var(--star); }
.star.on .icon { fill: var(--star); }
.rating-count { color: var(--muted); font-size: 14px; }
.reviews-summary { margin: 0; color: var(--text-soft); }

/* ---------- Stats strip ---------- */
.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 22px 26px; }
.stat-pill { display: flex; flex-direction: column; gap: 2px; }
.stat-pill + .stat-pill { border-left: 1px solid var(--border); padding-left: 14px; }
.stat-pill-num { font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: var(--text); }
.stat-pill-label { font-size: 12.5px; color: var(--muted); }

/* ---------- About ---------- */
.about-p { margin: 0 0 12px; color: var(--text-soft); }
.about-p:last-of-type { margin-bottom: 0; }
.about-sub { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); margin: 20px 0 12px; }
.chip-static { cursor: default; }
.chip-static:hover { border-color: var(--border-strong); color: var(--text-soft); background: var(--bg-soft); }

/* ---------- Individual reviews ---------- */
.review-list { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); }
.review-item { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 18px; }
.review-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.review-author { font-weight: 600; font-size: 14.5px; }
.stars-sm .star { line-height: 1; }
.review-body { margin: 0; color: var(--text-soft); font-size: 14.5px; }
.review-source { display: inline-block; margin-top: 8px; font-size: 12px; color: var(--muted-2); }

/* ---------- Related entities ---------- */
.related-hint { margin: -4px 0 16px; font-size: 14px; }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.related-card { display: flex; flex-direction: column; gap: 3px; padding: 14px 16px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--bg-soft); transition: .14s; }
.related-card:hover { border-color: var(--accent); background: var(--accent-soft); }
.related-name { font-weight: 600; font-size: 14.5px; color: var(--text); }
.related-arrow { color: var(--accent); }
.related-note { font-size: 12.5px; color: var(--muted); }

/* ---------- Sources (chips) ---------- */
.sources-hint { margin: -4px 0 16px; color: var(--muted); font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--border-strong); color: var(--text-soft); font-size: 13.5px; font-weight: 600; transition: .14s ease; }
.chip:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.chip .icon { color: var(--muted-2); }
.chip:hover .icon { color: var(--accent); }

/* ---------- FAQ ---------- */
.faq .section-title { margin-bottom: 14px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0; overflow: hidden; transition: .14s ease; }
.faq-item + .faq-item { margin-top: 10px; }
.faq-item[open] { border-color: var(--accent-border); box-shadow: var(--shadow-sm); }
.faq-item summary { list-style: none; cursor: pointer; font-weight: 600; font-size: 15px; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--muted-2); line-height: 1; transition: transform .18s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); color: var(--accent); }
.faq-item p { color: var(--muted); margin: 0; padding: 0 20px 18px; }

/* ---------- Sidebar key facts ---------- */
.keyfacts { position: sticky; top: 84px; }
.keyfacts-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.keyfacts-list li { display: flex; gap: 13px; align-items: flex-start; }
.kf-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; flex: none; background: var(--bg-soft); border: 1px solid var(--border); color: var(--accent); }
.kf-body { display: flex; flex-direction: column; }
.kf-label { font-size: 11.5px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted-2); font-weight: 600; }
.kf-value { font-weight: 600; font-size: 14.5px; margin-top: 1px; word-break: break-word; }

/* ---------- Páginas institucionais ---------- */
.page-article { padding: 48px 0 30px; }
.page-article > h1 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.025em; font-weight: 800; margin: 0 0 24px; }
.prose { color: var(--text-soft); font-size: 16px; line-height: 1.75; }
.prose h2 { color: var(--text); font-size: 20px; font-weight: 700; letter-spacing: -.01em; margin: 32px 0 12px; }
.prose p { margin: 0 0 16px; }
.prose ul { margin: 0 0 16px; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.prose a { color: var(--accent); }
.prose a:hover { text-decoration: underline; }
.prose strong { color: var(--text); }
.page-meta { font-size: 13px; color: var(--muted); }
.page-note { margin-top: 28px; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-soft); font-size: 13.5px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { margin-top: 64px; border-top: 1px solid var(--border); background: var(--surface); }
.footer-inner { padding: 36px 22px; display: flex; flex-direction: column; gap: 10px; }
.footer-tagline { color: var(--muted); margin: 4px 0 10px; max-width: 540px; }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-nav a { color: var(--muted); font-size: 14px; }
.footer-nav a:hover { color: var(--text); }

/* ---------- Home / Landing ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; text-transform: uppercase; letter-spacing: 2px; color: var(--muted); margin-bottom: 22px; padding: 6px 14px; border: 1px solid var(--border); border-radius: 999px; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.serif-italic { font-size: 1.05em; letter-spacing: -.005em; color: var(--text); }
.home-sub { color: var(--muted); font-size: 18px; margin: 0 0 30px; max-width: 540px; }

/* Hero 2 colunas */
.home-hero2 { padding: 80px 0 70px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.hero-copy h1 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.05; margin: 0 0 20px; letter-spacing: -.03em; font-weight: 800; }
.hero-copy .hero-actions { border: 0; margin: 0 0 18px; padding: 0; }
.hero-trust { font-size: 13px; color: var(--muted-2); letter-spacing: .3px; margin: 0; }

/* Mockup CSS da página-entidade */
.hero-visual { position: relative; }
.mock-card { background: var(--surface); border: 1px solid var(--border-strong); border-radius: 18px; padding: 22px; box-shadow: var(--shadow-lg); }
.mock-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.mock-avatar { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--accent-ink); font-weight: 800; font-size: 15px; }
.mock-name { display: block; font-weight: 700; font-size: 15px; }
.mock-tag { display: block; font-size: 12px; color: var(--muted); }
.mock-verified { margin-left: auto; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--green-soft); color: var(--green); font-size: 13px; font-weight: 700; }
.mock-line { height: 9px; border-radius: 5px; background: var(--surface-2); margin-bottom: 10px; }
.mock-line.w90 { width: 90%; } .mock-line.w70 { width: 70%; }
.mock-chips { display: flex; gap: 8px; margin: 16px 0; }
.mock-chips span { width: 56px; height: 22px; border-radius: 999px; background: var(--accent-soft); }
.mock-code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 11.5px; color: var(--accent); background: var(--bg-soft); border: 1px dashed var(--accent-border); border-radius: 9px; padding: 10px 12px; }
.mock-badge { position: absolute; background: var(--surface); border: 1px solid var(--border-strong); border-radius: 10px; padding: 8px 13px; font-size: 13px; font-weight: 700; box-shadow: var(--shadow-md); }
.mock-badge-1 { top: -16px; right: 18px; color: var(--star); }
.mock-badge-2 { bottom: -14px; left: -10px; color: var(--accent); }

/* Engines strip */
.engines { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 30px 0; background: var(--bg-soft); }
.engines-label { text-align: center; font-size: 12.5px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); margin: 0 0 18px; }
/* marquee infinito com fade nas bordas */
.engines-marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 11%, #000 89%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 11%, #000 89%, transparent 100%);
}
.engines-track { display: flex; gap: 14px; width: max-content; animation: engines-scroll 28s linear infinite; }
.engines-marquee:hover .engines-track { animation-play-state: paused; }
.engine-chip { flex: none; padding: 9px 18px; border: 1px solid var(--border-strong); border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--text-soft); white-space: nowrap; background: var(--surface); }
@keyframes engines-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .engines-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; } }

/* Seções genéricas */
.section { padding: 70px 0; }
.section-alt { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-kicker { font-size: 12px; text-transform: uppercase; letter-spacing: 2px; color: var(--accent); font-weight: 700; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.12; margin: 12px 0 0; letter-spacing: -.025em; font-weight: 800; }
.container.narrow { max-width: 760px; }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card h3 { margin: 14px 0 8px; font-size: 17px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.feature-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }

/* Comparação */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 840px; margin: 0 auto; }
.compare-col { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.compare-col h3 { margin: 0 0 16px; font-size: 17px; }
.compare-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.compare-col li { padding-left: 28px; position: relative; color: var(--text-soft); font-size: 14.5px; }
.compare-old { opacity: .85; }
.compare-old li::before { content: "✕"; position: absolute; left: 0; color: var(--muted-2); font-weight: 700; }
.compare-new { border-color: var(--accent-border); box-shadow: var(--glow); }
.compare-new li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 22px; justify-content: center; }
.price-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--accent-border); box-shadow: var(--glow); }
.price-tag { position: absolute; top: -12px; left: 30px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--accent-ink); font-size: 11.5px; font-weight: 700; padding: 4px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: .5px; }
.price-card h3 { margin: 0 0 6px; font-size: 20px; }
.price-amount { font-size: 38px; font-weight: 800; letter-spacing: -.03em; margin: 0 0 8px; }
.price-amount span { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-desc { color: var(--muted); margin: 0 0 20px; font-size: 14.5px; }
.price-features { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.price-features li { padding-left: 26px; position: relative; font-size: 14.5px; color: var(--text-soft); }
.price-features li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* Banda contadores — compacta e centralizada */
.acc-cta {
    max-width: 700px; margin: 0 auto; text-align: center;
    background: linear-gradient(135deg, rgba(129,140,248,.10), rgba(167,139,250,.05));
    border: 1px solid var(--accent-border); border-radius: var(--radius); padding: 44px 34px;
}
.acc-cta-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--accent-ink); margin-bottom: 16px; box-shadow: var(--glow); }
.acc-cta h2 { margin: 0 0 8px; font-size: 24px; letter-spacing: -.02em; font-weight: 800; }
.acc-cta p { margin: 0 auto 24px; color: var(--muted); max-width: 460px; font-size: 15px; }
.acc-cta-form { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; max-width: 540px; margin: 0 auto; }
.acc-cta-form input { flex: 1 1 170px; padding: 12px 15px; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--surface); color: var(--text); font: inherit; font-size: 14.5px; }
.acc-cta-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.acc-cta-form input::placeholder { color: var(--muted-2); }
.acc-cta-form .btn { flex: 0 0 auto; }
.acc-demo-link { display: inline-block; margin-top: 14px; font-size: 13px; color: var(--muted); }
.acc-demo-link:hover { color: var(--accent); }
@media (max-width: 560px) { .acc-cta-form .btn { flex: 1 1 100%; } }

/* CTA final */
.cta-band { text-align: center; background: linear-gradient(135deg, rgba(129,140,248,.12), rgba(167,139,250,.06)); border: 1px solid var(--accent-border); border-radius: var(--radius); padding: 56px 30px; }
.cta-band h2 { font-size: clamp(26px, 3.2vw, 36px); margin: 0 0 12px; letter-spacing: -.025em; font-weight: 800; }
.cta-band p { color: var(--muted); margin: 0 0 26px; font-size: 17px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }

@media (max-width: 880px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { max-width: 420px; }
    .feature-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .hero-grid, .feature-grid, .compare, .pricing { grid-template-columns: 1fr; }
    .pricing { max-width: 380px; margin: 0 auto; }
    .home-hero2 { padding: 56px 0 50px; }
}

/* ---------- Auth ---------- */
.auth-wrap { display: flex; justify-content: center; padding: 60px 22px; }
.auth-card { width: 100%; max-width: 420px; }
.auth-title { font-size: 26px; margin: 0 0 4px; font-weight: 800; letter-spacing: -.02em; }
.auth-sub { color: var(--muted); margin: 0 0 22px; }
.auth-switch { text-align: center; color: var(--muted); margin: 18px 0 0; font-size: 14px; }
.form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field span { font-size: 13px; font-weight: 600; color: var(--text-soft); }
.field input, .field textarea, .field select {
    width: 100%; padding: 10px 13px; border: 1px solid var(--border-strong); border-radius: 10px;
    font: inherit; font-size: 14.5px; background: var(--surface); color: var(--text); transition: .14s;
}
.field input::placeholder, .repeat-row input::placeholder { color: var(--muted-2); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field textarea { resize: vertical; }

/* ---------- Dashboard ---------- */
.dashboard { padding: 36px 0 0; }
.dash-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.dash-head h1 { margin: 0 0 2px; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.dash-head p { margin: 0; }
.empty-state { text-align: center; padding: 48px; display: flex; flex-direction: column; gap: 16px; align-items: center; }
.entity-rows { display: flex; flex-direction: column; gap: 12px; }
.entity-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; flex-wrap: wrap; }
.entity-row-main { display: flex; align-items: center; gap: 14px; }
.avatar-initials.sm { width: 44px; height: 44px; border-radius: 12px; font-size: 16px; }
.entity-row-meta { display: flex; align-items: center; gap: 10px; margin-top: 4px; font-size: 13px; }
.entity-row-actions { display: flex; align-items: center; gap: 8px; }
.entity-row-actions form { margin: 0; }
.badge { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .3px; }
.badge-on { background: var(--green-soft); color: var(--green); }
.badge-off { background: var(--surface-2); color: var(--muted); }
.badge-plan { background: var(--accent-soft); color: var(--accent); }

/* ---------- Entity form ---------- */
.form-page { padding: 30px 0 0; max-width: 820px; }
.back-link { display: inline-block; color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.form-page > h1 { margin: 0 0 20px; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.entity-form { display: flex; flex-direction: column; gap: 18px; }
.form-section { display: flex; flex-direction: column; gap: 14px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.repeater-head { display: flex; align-items: center; justify-content: space-between; }
.repeater-head .section-title { margin: 0; }
.rows { display: flex; flex-direction: column; gap: 10px; }
.repeat-row { display: flex; gap: 10px; align-items: center; }
.repeat-row input { flex: 1; padding: 9px 12px; border: 1px solid var(--border-strong); border-radius: 9px; font: inherit; font-size: 14px; background: var(--surface); color: var(--text); }
.repeat-row input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.del-row { flex: none; width: 34px; height: 34px; border: 1px solid var(--border-strong); background: var(--surface); border-radius: 9px; color: var(--muted); cursor: pointer; font-size: 18px; line-height: 1; }
.del-row:hover { border-color: var(--alert-border); color: var(--alert-text); }
.form-actions { display: flex; gap: 10px; padding-bottom: 40px; }
.subscribe-form { display: flex; gap: 8px; align-items: center; margin: 0; }
.plan-select { padding: 7px 10px; border: 1px solid var(--border-strong); border-radius: 9px; font: inherit; font-size: 13px; background: var(--surface); color: var(--text); }
.message-page { padding: 60px 0; max-width: 640px; }
.message-page .card { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }

/* ---------- Accountant dashboard ---------- */
.accountant { padding: 36px 0 0; display: flex; flex-direction: column; gap: 18px; }
.acc-head h1 { margin: 0 0 4px; font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.acc-head p { margin: 0; }
.acc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat-card { display: flex; flex-direction: column; gap: 4px; }
.stat-num { font-size: 32px; font-weight: 800; letter-spacing: -.02em; color: var(--accent); }
.stat-label { font-size: 13px; color: var(--muted); }
.ref-link-card .ref-link { margin-top: 12px; padding: 13px 16px; background: var(--bg-soft); border: 1px dashed var(--border-strong); border-radius: 10px; overflow-x: auto; }
.ref-link code { font-size: 14px; color: var(--accent); }
.progress-wrap { margin-bottom: 20px; }
.progress-bar { height: 10px; background: var(--track); border-radius: 999px; overflow: hidden; }
.progress-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: 999px; }
.progress-text { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.tiers { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.tier { display: flex; align-items: center; gap: 14px; }
.tier-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; flex: none; background: var(--bg-soft); border: 1px solid var(--border-strong); color: var(--muted); font-weight: 700; }
.tier-done .tier-mark { background: var(--green-soft); border-color: var(--green-soft); color: var(--green); }
.tier-body { display: flex; flex-direction: column; }
.tier-body strong { font-size: 15px; }
.tier-body .muted { font-size: 13px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .entity-grid { grid-template-columns: 1fr; }
    .keyfacts { position: static; }
    .services-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) { .stats-strip { grid-template-columns: repeat(2, 1fr); } .stat-pill:nth-child(odd) { border-left: 0; padding-left: 0; } }
@media (max-width: 640px) {
    .services-grid, .home-steps, .grid-2, .acc-stats, .related-grid { grid-template-columns: 1fr; }
    .stats-strip { grid-template-columns: 1fr 1fr; }
    .site-nav { display: none; }
    .hero-top { flex-direction: column; }
    .hero-name { font-size: 27px; }
    .home-hero { padding: 56px 0 32px; }
    .home-hero h1 { font-size: 32px; }
}
