*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue: #1a56db;
  --blue-dark: #1240a8;
  --blue-light: #dbeafe;
  --accent: #2563eb;
  --green: #16a34a;
  --green-bg: #dcfce7;
  --red: #dc2626;
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
  --bg: #f9fafb;
  --white: #ffffff;
  --section-label: #2563eb;
  --card-shadow: 0 2px 12px rgba(0,0,0,0.07);
  --radius: 10px;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ─── TOP BAR ─── */
.topbar { background: var(--blue-dark); color: #fff; font-size: 12px; padding: 6px 0; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; width: 100%; gap: 16px; }
.topbar-left { display: flex; align-items: center; gap: 6px; }
.topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar-right a { color: #fff; display: flex; align-items: center; gap: 5px; }
.topbar-right a:hover { opacity: .8; }

/* ─── NAV ─── */
.site-nav { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 24px; }
.logo { display: flex; align-items: center; gap: 8px; font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 18px; color: var(--text); }
.logo-box { background: var(--blue); color: #fff !important; font-size: 13px; font-weight: 800; padding: 4px 8px; border-radius: 4px; letter-spacing: .5px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 500; margin-left: auto; }
.nav-links a { color: var(--text); transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.nav-links a.active { border-bottom: 2px solid var(--blue); padding-bottom: 2px; }
.btn-nav { background: var(--blue); color: #fff !important; padding: 10px 20px; border-radius: 6px; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; transition: background .2s; white-space: nowrap; }
.btn-nav:hover { background: var(--blue-dark); }
.btn-nav-mobile { display: none !important; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--border); background: #fff; border-radius: 8px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px; margin-left: auto; }
.nav-toggle span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ─── BOTÕES ─── */
.btn-primary { background: var(--blue); color: #fff; padding: 12px 24px; border-radius: 7px; font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 7px; transition: background .2s, transform .15s; border: 0; cursor: pointer; }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-outline { border: 1.5px solid var(--border); color: var(--text); padding: 12px 24px; border-radius: 7px; font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 7px; background: #fff; transition: border-color .2s, transform .15s; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-1px); }

/* ─── HERO (home) ─── */
.hero { padding: 70px 0 60px; background: linear-gradient(135deg, #f0f6ff 0%, #ffffff 60%); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; right: -80px; top: -80px; width: 400px; height: 400px; background: var(--blue); border-radius: 50%; opacity: .04; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-tag { display: flex; align-items: center; gap: 6px; color: var(--blue); font-size: 13px; font-weight: 600; margin-bottom: 18px; }
.hero-tag svg { width: 14px; height: 14px; }
.hero h1 { font-family: 'Manrope', sans-serif; font-size: 42px; font-weight: 800; line-height: 1.2; margin-bottom: 18px; color: #0f172a; }
.hero h1 span { color: var(--blue); }
.hero p { color: var(--muted); font-size: 15px; line-height: 1.7; margin-bottom: 30px; max-width: 440px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.dashboard-card { background: #fff; border-radius: 14px; box-shadow: 0 8px 40px rgba(26,86,219,.12); padding: 20px 22px; font-size: 13px; }
.dash-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.dash-title { font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 7px; }
.dash-period { color: var(--muted); font-size: 12px; }
.dash-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 18px; }
.dash-metric { background: var(--bg); border-radius: 8px; padding: 10px 12px; }
.dash-metric-label { color: var(--muted); font-size: 11px; margin-bottom: 4px; }
.dash-metric-value { font-weight: 700; font-size: 15px; color: var(--text); }
.dash-metric-delta { font-size: 10px; margin-top: 2px; }
.delta-up { color: #16a34a; } .delta-down { color: #dc2626; }
.dash-charts { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; }
.dash-chart-box { background: var(--bg); border-radius: 8px; padding: 12px; }
.dash-chart-title { font-weight: 600; font-size: 12px; margin-bottom: 10px; color: var(--text); }
.chart-legend { display: flex; gap: 10px; margin-top: 8px; }
.legend-item { display: flex; align-items: center; gap: 4px; font-size: 10px; color: var(--muted); }
.legend-dot { width: 8px; height: 8px; border-radius: 50%; }
.dash-footer { text-align: right; color: var(--muted); font-size: 10px; margin-top: 10px; }

/* ─── STATS ─── */
.stats-bar { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 28px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: center; }
.stat-item { display: flex; align-items: center; gap: 12px; }
.stat-icon { width: 44px; height: 44px; background: var(--blue-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.stat-icon svg { width: 22px; height: 22px; color: var(--blue); }
.stat-value { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 22px; color: var(--text); }
.stat-label { font-size: 13px; color: var(--muted); }

/* ─── SECTION LABELS ─── */
.section-label { color: var(--section-label); font-size: 13px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; text-align: center; margin-bottom: 10px; }
.section-title { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 30px; text-align: center; color: var(--text); margin-bottom: 10px; line-height: 1.25; }
.section-sub { text-align: center; color: var(--muted); font-size: 15px; margin-bottom: 44px; max-width: 620px; margin-left: auto; margin-right: auto; }

/* ─── SOLUÇÕES (home) ─── */
.solutions { padding: 72px 0; background: var(--bg); }
.solutions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sol-card { background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--border); box-shadow: var(--card-shadow); transition: box-shadow .2s, transform .2s; display: flex; flex-direction: column; }
.sol-card:hover { box-shadow: 0 8px 30px rgba(26,86,219,.12); transform: translateY(-3px); }
.sol-icon { width: 46px; height: 46px; background: var(--blue-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.sol-icon svg { width: 24px; height: 24px; color: var(--blue); }
.sol-title { font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.sol-desc { color: var(--muted); font-size: 13.5px; line-height: 1.6; margin-bottom: 16px; flex: 1; }
.sol-link { color: var(--blue); font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.sol-link:hover { text-decoration: underline; }
.center-cta { text-align: center; margin-top: 32px; }

/* ─── BENEFÍCIOS ─── */
.benefits { padding: 48px 0; background: #fff; }
.benefits-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.ben-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.ben-icon { width: 52px; height: 52px; background: var(--blue-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.ben-icon svg { width: 26px; height: 26px; color: var(--blue); }
.ben-label { font-weight: 600; font-size: 13px; }

/* ─── CASES ─── */
.cases { padding: 72px 0; background: var(--bg); }
.cases-header, .blog-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 32px; gap: 16px; }
.cases-header .section-title, .blog-header .section-title { text-align: left; margin-bottom: 0; }
.link-all { color: var(--blue); font-size: 13.5px; font-weight: 600; display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.link-all:hover { text-decoration: underline; }
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case-card { border-radius: 12px; overflow: hidden; position: relative; min-height: 200px; background: #1a1a2e; }
.case-img { width: 100%; height: 200px; object-fit: cover; opacity: .55; display: block; }
.case-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 50%); padding: 20px; display: flex; flex-direction: column; justify-content: flex-end; }
.case-badge { background: var(--blue); color: #fff; font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 4px; align-self: flex-start; margin-bottom: 10px; letter-spacing: .5px; text-transform: uppercase; }
.case-num { font-family: 'Manrope', sans-serif; font-size: 42px; font-weight: 800; color: #fff; line-height: 1; }
.case-desc { color: rgba(255,255,255,.85); font-size: 13px; margin-top: 4px; }

/* ─── DEPOIMENTOS ─── */
.testimonials { padding: 72px 0; background: #fff; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card { background: var(--bg); border-radius: 12px; padding: 24px; border: 1px solid var(--border); }
.testi-quote { color: var(--blue); font-size: 28px; line-height: 1; margin-bottom: 12px; }
.testi-text { font-size: 13.5px; color: var(--text); line-height: 1.7; margin-bottom: 20px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: #d1d5db; }
.testi-name { font-weight: 700; font-size: 13px; }
.testi-role { font-size: 12px; color: var(--muted); }

/* ─── BLOG (cards) ─── */
.blog { padding: 72px 0; background: var(--bg); }
.blog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.blog-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.blog-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--card-shadow); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(26,86,219,.12); }
.blog-img { width: 100%; height: 150px; object-fit: cover; background: #e5e7eb; display: block; }
.blog-img-ph { height: 150px; background: linear-gradient(135deg, #1e3a8a, #1a56db); display: flex; align-items: center; justify-content: center; padding: 14px; text-align: center; color: #fff; font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 15px; line-height: 1.3; }
.blog-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.blog-tag { font-size: 10px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .6px; background: var(--blue-light); padding: 3px 8px; border-radius: 4px; align-self: flex-start; margin-bottom: 10px; }
.blog-title { font-weight: 700; font-size: 14px; line-height: 1.45; margin-bottom: 8px; }
.blog-excerpt { color: var(--muted); font-size: 13px; line-height: 1.55; margin-bottom: 12px; flex: 1; }
.blog-meta { color: var(--muted); font-size: 11px; }
.blog-read { color: var(--blue); font-size: 12px; font-weight: 600; margin-top: 12px; }
.blog-card a.stretched::after { content: ''; position: absolute; inset: 0; }
.blog-card { position: relative; }

/* ─── CTA BANNER ─── */
.cta-banner { background: linear-gradient(135deg, #1a56db 0%, #1e3a8a 100%); padding: 48px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.cta-icon { width: 64px; height: 64px; background: rgba(255,255,255,.15); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cta-icon svg { width: 34px; height: 34px; color: #fff; }
.cta-text { flex: 1; }
.cta-text h3 { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 22px; color: #fff; margin-bottom: 6px; }
.cta-tag { color: rgba(255,255,255,.7); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 8px; }
.cta-text p { color: rgba(255,255,255,.75); font-size: 14px; }
.btn-cta { background: var(--green); color: #fff; padding: 14px 28px; border-radius: 7px; font-weight: 700; font-size: 14.5px; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; flex-shrink: 0; transition: background .2s; }
.btn-cta:hover { background: #15803d; }

/* ─── FINAL CTA ─── */
.final-cta { background: var(--bg); padding: 56px 0; }
.final-cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.final-cta h2 { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 26px; margin-bottom: 6px; }
.final-cta p { color: var(--muted); font-size: 14px; }

/* ─── FOOTER ─── */
footer { background: #0f172a; color: #e2e8f0; padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 48px; }
.footer-brand p { color: #94a3b8; font-size: 13px; line-height: 1.7; margin: 14px 0 20px; }
.footer-socials { display: flex; gap: 10px; }
.social-btn { width: 34px; height: 34px; background: rgba(255,255,255,.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.social-btn:hover { background: var(--blue); }
.social-btn svg { width: 16px; height: 16px; color: #fff; }
.footer-col h4 { font-weight: 700; font-size: 14px; color: #fff; margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { color: #94a3b8; font-size: 13px; transition: color .2s; }
.footer-col ul li a:hover { color: #fff; }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.contact-item { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: #94a3b8; }
.contact-item svg { width: 16px; height: 16px; color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #64748b; }

.wa-float { position: fixed; right: 20px; bottom: 20px; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0,0,0,.25); z-index: 90; transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); }

/* ─── PAGE HERO (páginas internas) ─── */
.page-hero { background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%); color: #fff; padding: 64px 0 56px; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; right: -120px; top: -140px; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle, rgba(96,165,250,.35), transparent 70%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .9px; text-transform: uppercase; color: #93c5fd; background: rgba(255,255,255,.08); padding: 5px 12px; border-radius: 99px; margin-bottom: 18px; }
.page-hero h1 { font-family: 'Manrope', sans-serif; font-size: 40px; font-weight: 800; line-height: 1.2; max-width: 760px; margin-bottom: 14px; }
.page-hero p { color: #cbd5e1; font-size: 16px; max-width: 620px; line-height: 1.7; }
.page-hero .hero-btns { margin-top: 28px; }
.btn-light { background: #fff; color: var(--blue-dark); padding: 12px 24px; border-radius: 7px; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 7px; transition: transform .15s; }
.btn-light:hover { transform: translateY(-1px); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.35); color: #fff; padding: 12px 24px; border-radius: 7px; font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 7px; transition: background .2s; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }

.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 18px; display: flex; gap: 6px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--blue); }

/* ─── SOLUÇÕES (página) ─── */
.sol-page { padding: 56px 0 72px; background: var(--bg); }
.filter-bar { display: flex; justify-content: center; gap: 8px; margin-bottom: 36px; flex-wrap: wrap; }
.pill { border: 1px solid var(--border); background: #fff; color: var(--text); padding: 8px 18px; border-radius: 99px; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: all .2s; }
.pill:hover { border-color: var(--blue); color: var(--blue); }
.pill.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.pill small { opacity: .7; font-weight: 500; margin-left: 4px; }
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; grid-auto-flow: dense; }
.sol-item { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--card-shadow); transition: transform .25s, box-shadow .25s, border-color .25s; }
.sol-item:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(26,86,219,.16); border-color: #bfdbfe; }
.sol-item[hidden] { display: none; }
.sol-item .sol-media { height: 150px; background: linear-gradient(135deg, #eff6ff, #dbeafe); display: flex; align-items: center; justify-content: center; }
.sol-item .sol-media img { width: 100%; height: 100%; object-fit: cover; }
.sol-item .sol-media .sol-icon-lg { width: 68px; height: 68px; border-radius: 18px; background: #fff; box-shadow: 0 6px 18px rgba(26,86,219,.18); display: flex; align-items: center; justify-content: center; }
.sol-item .sol-media .sol-icon-lg svg { width: 34px; height: 34px; color: var(--blue); }
.sol-item .sol-body { padding: 22px 22px 20px; display: flex; flex-direction: column; flex: 1; }
.sol-kind { align-self: flex-start; font-size: 10.5px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; padding: 3px 9px; border-radius: 99px; margin-bottom: 12px; background: var(--blue-light); color: var(--blue-dark); }
.sol-kind.produto { background: var(--green-bg); color: #166534; }
.sol-item h3 { font-family: 'Manrope', sans-serif; font-size: 18px; font-weight: 800; line-height: 1.3; margin-bottom: 8px; }
.sol-item p { color: var(--muted); font-size: 14px; line-height: 1.6; flex: 1; margin-bottom: 18px; }
.sol-item .sol-go { color: var(--blue); font-weight: 700; font-size: 13.5px; display: inline-flex; align-items: center; gap: 6px; }
.sol-item .sol-go::after { content: ''; position: absolute; inset: 0; }
.sol-item:hover .sol-go svg { transform: translateX(3px); }
.sol-go svg { transition: transform .2s; }
.sol-item.featured { grid-column: span 2; flex-direction: row; background: linear-gradient(135deg, #0f172a, #1e3a8a); border-color: transparent; color: #fff; }
.sol-item.featured .sol-media { width: 38%; height: auto; min-height: 220px; background: rgba(255,255,255,.06); flex-shrink: 0; }
.sol-item.featured .sol-icon-lg { background: rgba(255,255,255,.12); box-shadow: none; }
.sol-item.featured .sol-icon-lg svg { color: #93c5fd; }
.sol-item.featured h3 { font-size: 22px; }
.sol-item.featured p { color: #cbd5e1; font-size: 15px; }
.sol-item.featured .sol-go { color: #fff; }
.sol-item.featured .sol-kind { background: rgba(255,255,255,.14); color: #bfdbfe; }
.sol-item.featured .sol-badge { position: absolute; top: 14px; right: 14px; background: #fbbf24; color: #78350f; font-size: 10.5px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; padding: 3px 9px; border-radius: 99px; }
.empty-state { text-align: center; color: var(--muted); padding: 56px 0; }

.process { padding: 72px 0; background: #fff; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 24px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg); }
.step::before { counter-increment: step; content: counter(step); display: flex; width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; align-items: center; justify-content: center; margin-bottom: 14px; font-family: 'Manrope', sans-serif; }
.step h4 { font-family: 'Manrope', sans-serif; font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 13.5px; line-height: 1.6; }

/* ─── BLOG (página de listagem) ─── */
.blog-page { padding: 48px 0 72px; background: var(--bg); }
.blog-tools { display: flex; flex-direction: column; gap: 18px; margin-bottom: 32px; }
.search-form { display: flex; max-width: 520px; width: 100%; background: #fff; border: 1.5px solid var(--border); border-radius: 10px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.search-form:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(26,86,219,.1); }
.search-form input { flex: 1; border: 0; padding: 12px 16px; outline: none; background: transparent; min-width: 0; }
.search-form button { border: 0; background: var(--blue); color: #fff; padding: 0 20px; cursor: pointer; font-weight: 600; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1px solid var(--border); background: #fff; padding: 6px 14px; border-radius: 99px; font-size: 13px; font-weight: 500; transition: all .2s; }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.result-info { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 40px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--border); border-radius: 8px; background: #fff; font-size: 14px; font-weight: 600; }
.pagination a:hover { border-color: var(--blue); color: var(--blue); }
.pagination .current { background: var(--blue); border-color: var(--blue); color: #fff; }
.pagination .gap { border: 0; background: transparent; }

/* ─── ARTIGO ─── */
.post-wrap { padding: 40px 0 64px; background: #fff; }
.post-head { max-width: 780px; margin: 0 auto 28px; }
.post-cat { display: inline-block; font-size: 11px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .6px; background: var(--blue-light); padding: 4px 10px; border-radius: 4px; margin-bottom: 14px; }
.post-head h1 { font-family: 'Manrope', sans-serif; font-size: 34px; font-weight: 800; line-height: 1.25; margin-bottom: 14px; }
.post-meta { color: var(--muted); font-size: 13.5px; display: flex; gap: 14px; flex-wrap: wrap; }
.post-cover { max-width: 780px; margin: 0 auto 28px; }
.post-cover img { width: 100%; border-radius: 12px; display: block; }
.post-content { max-width: 780px; margin: 0 auto; font-size: 16.5px; line-height: 1.8; color: #1f2937; overflow-wrap: break-word; }
.post-content > * + * { margin-top: 1.1em; }
.post-content h2 { font-family: 'Manrope', sans-serif; font-size: 25px; font-weight: 800; margin-top: 1.8em; line-height: 1.3; color: var(--text); }
.post-content h3 { font-family: 'Manrope', sans-serif; font-size: 20px; font-weight: 700; margin-top: 1.6em; line-height: 1.35; color: var(--text); }
.post-content h4 { font-weight: 700; margin-top: 1.4em; }
.post-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.post-content img { max-width: 100%; height: auto; border-radius: 8px; display: block; margin-left: auto; margin-right: auto; }
.post-content ul, .post-content ol { padding-left: 1.5em; }
.post-content li + li { margin-top: .35em; }
.post-content blockquote { border-left: 4px solid var(--blue); padding: 6px 0 6px 18px; color: var(--muted); font-style: italic; }
.post-content pre { background: #0f172a; color: #e2e8f0; padding: 16px 18px; border-radius: 10px; overflow-x: auto; font-size: 13.5px; line-height: 1.6; }
.post-content code { background: #f3f4f6; padding: 2px 6px; border-radius: 4px; font-size: .9em; }
.post-content pre code { background: transparent; padding: 0; }
.post-content table { width: 100%; border-collapse: collapse; font-size: 14.5px; display: block; overflow-x: auto; }
.post-content th, .post-content td { border: 1px solid var(--border); padding: 8px 12px; text-align: left; }
.post-content th { background: var(--bg); }
.post-content iframe, .post-content video { max-width: 100%; }
.post-content figure { margin: 1.4em 0; }
.post-content figcaption, .post-content .wp-caption-text { font-size: 13px; color: var(--muted); text-align: center; margin-top: 6px; }
.post-share { max-width: 780px; margin: 36px auto 0; padding-top: 20px; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.share-btn { border: 1px solid var(--border); background: #fff; padding: 7px 14px; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; color: var(--text); }
.share-btn:hover { border-color: var(--blue); color: var(--blue); }
.post-cta { max-width: 780px; margin: 36px auto 0; background: linear-gradient(135deg, #1a56db, #1e3a8a); color: #fff; padding: 28px; border-radius: 14px; display: flex; gap: 20px; align-items: center; justify-content: space-between; }
.post-cta h3 { font-family: 'Manrope', sans-serif; font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.post-cta p { color: #dbeafe; font-size: 14px; }
.related { padding: 56px 0 72px; background: var(--bg); }

/* ─── CONTATO ─── */
.contact-page { padding: 56px 0 80px; background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 34px; box-shadow: 0 10px 40px rgba(15,23,42,.06); }
.form-card h2 { font-family: 'Manrope', sans-serif; font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.form-card .lead { color: var(--muted); font-size: 14.5px; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; margin-bottom: 18px; position: relative; }
.field label { font-size: 13px; font-weight: 600; margin-bottom: 6px; color: #374151; }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea { width: 100%; border: 1.5px solid var(--border); border-radius: 10px; padding: 12px 14px; font-size: 15px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(26,86,219,.12); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--red); box-shadow: 0 0 0 4px rgba(220,38,38,.08); }
.field .err { color: var(--red); font-size: 12.5px; margin-top: 5px; display: none; }
.field.invalid .err { display: block; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.consent input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--blue); flex-shrink: 0; }
.btn-submit { width: 100%; justify-content: center; padding: 14px 24px; font-size: 15px; position: relative; }
.btn-submit[disabled] { opacity: .75; cursor: progress; transform: none; }
.btn-submit .spin { display: none; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.btn-submit.loading .spin { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-alert { display: none; padding: 12px 14px; border-radius: 10px; font-size: 14px; margin-bottom: 18px; background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.form-alert.show { display: block; }
.form-success { display: none; text-align: center; padding: 28px 8px; }
.form-success.show { display: block; animation: pop .4s ease; }
.form-success .ok { width: 72px; height: 72px; border-radius: 50%; background: var(--green-bg); color: var(--green); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.form-success .ok svg { width: 38px; height: 38px; }
.form-success h3 { font-family: 'Manrope', sans-serif; font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.form-success p { color: var(--muted); }
@keyframes pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.info-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 26px; margin-bottom: 18px; }
.info-card h3 { font-family: 'Manrope', sans-serif; font-size: 17px; font-weight: 800; margin-bottom: 16px; }
.info-row { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--border); font-size: 14px; }
.info-row:first-of-type { border-top: 0; padding-top: 0; }
.info-ico { width: 40px; height: 40px; border-radius: 10px; background: var(--blue-light); color: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-ico svg { width: 20px; height: 20px; }
.info-row small { display: block; color: var(--muted); font-size: 12px; }
.info-row a:hover { color: var(--blue); }
.info-card.dark { background: linear-gradient(135deg, #0f172a, #1e3a8a); color: #fff; border: 0; }
.info-card.dark p { color: #cbd5e1; font-size: 14px; margin-bottom: 16px; }

/* ─── SOBRE ─── */
.about { padding: 72px 0; background: #fff; }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.about h2 { font-family: 'Manrope', sans-serif; font-size: 30px; font-weight: 800; line-height: 1.25; margin-bottom: 16px; }
.about p { color: #374151; margin-bottom: 14px; }
.about-panel { background: linear-gradient(135deg, #eff6ff, #dbeafe); border-radius: 18px; padding: 32px; }
.about-panel ul { list-style: none; display: grid; gap: 14px; }
.about-panel li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; font-size: 15px; }
.about-panel li svg { width: 22px; height: 22px; color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.values { padding: 72px 0; background: var(--bg); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 26px; }
.value-card h3 { font-family: 'Manrope', sans-serif; font-size: 18px; font-weight: 800; margin: 14px 0 6px; }
.value-card p { color: var(--muted); font-size: 14.5px; }
.areas { padding: 64px 0; background: #fff; }
.areas-list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 820px; margin: 0 auto; }
.areas-list a { border: 1px solid var(--border); background: var(--bg); padding: 9px 18px; border-radius: 99px; font-size: 14px; font-weight: 600; transition: all .2s; }
.areas-list a:hover { border-color: var(--blue); color: var(--blue); background: #fff; }

/* ─── 404 ─── */
.nf { padding: 110px 0; text-align: center; background: var(--bg); }
.nf .big { font-family: 'Manrope', sans-serif; font-size: 96px; font-weight: 800; color: var(--blue); line-height: 1; }
.nf h1 { font-family: 'Manrope', sans-serif; font-size: 26px; margin: 12px 0 8px; }
.nf p { color: var(--muted); margin-bottom: 24px; }

/* ─── RESPONSIVO ─── */
@media (max-width: 1024px) {
  .blog-grid, .blog-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .benefits-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero p { max-width: none; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .btn-nav-desktop { display: none; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 8px 24px 20px; box-shadow: 0 12px 24px rgba(0,0,0,.08); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid var(--border); }
  .nav-links a.active { border-bottom: 1px solid var(--border); color: var(--blue); }
  .nav-links .btn-nav-mobile { display: inline-flex !important; justify-content: center; margin-top: 14px; border-bottom: 0; padding: 12px 20px; }
  .topbar-left { display: none; }
  .topbar .container { justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .solutions-grid, .cases-grid, .testi-grid, .values-grid { grid-template-columns: 1fr; }
  .sol-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid, .about-grid { grid-template-columns: 1fr; }
  .cta-inner, .final-cta-inner, .post-cta { flex-direction: column; align-items: flex-start; }
  .hero h1, .page-hero h1 { font-size: 32px; }
}
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .hero { padding: 44px 0; }
  .hero h1 { font-size: 28px; }
  .dash-metrics { grid-template-columns: repeat(2, 1fr); }
  .dash-charts { grid-template-columns: 1fr; }
  .section-title { font-size: 25px; }
  .sol-grid, .blog-grid, .blog-grid.cols-3, .process-grid { grid-template-columns: 1fr; }
  .sol-item.featured { grid-column: auto; flex-direction: column; }
  .sol-item.featured .sol-media { width: 100%; min-height: 140px; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
  .cases-header, .blog-header { flex-direction: column; align-items: flex-start; }
  .form-card { padding: 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .post-head h1 { font-size: 26px; }
  .post-content { font-size: 16px; }
  .page-hero { padding: 44px 0; }
  .page-hero h1 { font-size: 27px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

.dash-chart-box svg { max-height: 190px; }
@media (max-width: 640px) { .dash-chart-box svg { max-height: 150px; } }

.footer-legal { color: #64748b; font-size: 11.5px; line-height: 1.6; text-align: center; max-width: 900px; margin: 0 auto; padding: 4px 0 28px; }

/* Com o chat ativo, o WhatsApp sobe para não ficar sob o ícone do chat */
.wa-float.has-chat { bottom: 92px; }
@media (max-width: 480px) { .wa-float.has-chat { bottom: 84px; right: 12px; } }

/* ─── Dicionário Protheus ─── */
.px-sec { padding: 40px 0 64px; background: #fff; }
.px-narrow { max-width: 880px; }
.px-h2 { font-family: 'Manrope', sans-serif; font-size: 23px; font-weight: 800; margin: 34px 0 14px; line-height: 1.3; }
.px-lead { font-size: 16.5px; line-height: 1.75; color: #1f2937; margin-bottom: 8px; }
.px-note { font-size: 13px; color: var(--muted); margin: 10px 0; }
.muted-p { color: var(--muted); padding: 20px 0; }
.px-search { display: flex; max-width: 640px; margin-top: 22px; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 6px 24px rgba(0,0,0,.18); }
.px-search input { flex: 1; border: 0; padding: 14px 16px; font-size: 15px; outline: none; min-width: 0; color: var(--text); }
.px-search button { border: 0; background: var(--blue); color: #fff; padding: 0 24px; font-weight: 700; cursor: pointer; }
.px-search button:hover { background: var(--blue-dark); }
.px-stats { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 20px; font-size: 13.5px; color: #cbd5e1; }
.px-stats b { color: #fff; }
.px-letters { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; }
.px-letters a { border: 1px solid var(--border); border-radius: 10px; padding: 10px 6px; text-align: center; background: var(--bg); transition: all .15s; }
.px-letters a:hover { border-color: var(--blue); background: #fff; transform: translateY(-2px); }
.px-letters b { display: block; font-family: 'Manrope', sans-serif; font-size: 20px; color: var(--blue); }
.px-letters small { color: var(--muted); font-size: 11px; }
.px-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.px-card { display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; background: #fff; transition: all .15s; }
.px-card:hover { border-color: var(--blue); box-shadow: 0 8px 24px rgba(26,86,219,.12); transform: translateY(-2px); }
.px-card b { font-family: 'Manrope', sans-serif; font-size: 18px; color: var(--blue); }
.px-card span { font-size: 13.5px; color: var(--text); }
.px-card small { font-size: 12px; color: var(--muted); }
.px-list { list-style: none; columns: 3 300px; column-gap: 28px; }
.px-list li { break-inside: avoid; padding: 4px 0; }
.px-list a { display: block; font-size: 14px; }
.px-list a:hover span { text-decoration: underline; }
.px-list b { color: var(--blue); margin-right: 4px; }
.px-list span { color: var(--text); }
.px-list-sm { columns: 2 280px; }
.px-results { list-style: none; display: grid; gap: 8px; }
.px-results li { background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px; }
.px-results b { color: var(--blue); margin-right: 8px; }
.px-results small { color: var(--muted); margin-left: 8px; }
.px-text h3 { font-family: 'Manrope', sans-serif; font-size: 17px; margin: 18px 0 4px; }
.px-text p, .px-narrow p { margin-bottom: 12px; color: #374151; line-height: 1.75; }
.px-narrow h3 { font-family: 'Manrope', sans-serif; font-size: 16.5px; margin: 20px 0 4px; }
.px-narrow code, .px-text code, .px-table code, .px-kv code { background: #f3f4f6; padding: 2px 6px; border-radius: 4px; font-size: .9em; word-break: break-all; }
.px-kv { display: grid; grid-template-columns: minmax(150px, 230px) 1fr; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.px-kv dt, .px-kv dd { padding: 10px 14px; border-top: 1px solid var(--border); font-size: 14px; }
.px-kv dt:first-of-type, .px-kv dd:first-of-type { border-top: 0; }
.px-kv dt { background: var(--bg); font-weight: 600; color: #374151; }
.px-kv dd { overflow-wrap: anywhere; }
.px-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; }
.px-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.px-table th { background: var(--bg); text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--border); font-size: 12px; text-transform: uppercase; letter-spacing: .4px; color: #4b5563; white-space: nowrap; }
.px-table td { padding: 8px 10px; border-top: 1px solid #f1f3f5; vertical-align: top; }
.px-table tbody tr:hover { background: #fafcff; }
.px-table a { color: var(--blue); }
.px-code { background: #0f172a; color: #86efac; padding: 16px 18px; border-radius: 12px; overflow-x: auto; font-size: 13.5px; line-height: 1.6; max-height: 420px; }
.px-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0 6px; }
.px-actions button { cursor: pointer; border: 0; font-family: inherit; }
.px-actions .btn-outline { border: 1.5px solid var(--border); }
@media (max-width: 640px) { .px-kv { grid-template-columns: 1fr; } .px-kv dt { border-top: 1px solid var(--border); padding-bottom: 2px; } .px-kv dd { border-top: 0; padding-top: 0; } .px-search { flex-direction: column; } .px-search button { padding: 12px; } }

/* O estilo geral de <code> não pode vazar para dentro do bloco escuro de SQL */
.px-narrow .px-code code, .px-text .px-code code, .px-code code { background: transparent; color: inherit; padding: 0; border-radius: 0; word-break: normal; font-size: inherit; white-space: pre; }

.svc-list { columns: 1; } .svc-list li { padding: 10px 0; border-bottom: 1px solid var(--border); } .svc-list b { display: block; color: var(--blue); font-size: 16px; } .svc-list span { font-size: 14px; color: var(--muted); }

/* ─── Materiais (iscas digitais) ─── */
.sol-kind.mat { background: #eff6ff; color: #1e40af; }
.mat-grid { grid-template-columns: repeat(3, 1fr); }
.mat-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; align-items: start; margin-top: 8px; }
/* Capas dos materiais: sempre inteiras (sem cortar), qualquer proporção, sobre um fundo suave */
.mat-cover-wrap { display: flex; justify-content: center; align-items: center; padding: 26px; margin-bottom: 22px; border-radius: 16px; background: linear-gradient(135deg, #eff6ff, #dbeafe); border: 1px solid var(--border); }
.mat-cover { display: block; width: auto; height: auto; max-width: 100%; max-height: 440px; object-fit: contain; border-radius: 6px; box-shadow: 0 14px 34px rgba(15,23,42,.22); background: #fff; }
.mat-item .sol-media { height: 240px; padding: 16px; box-sizing: border-box; }
.mat-item .sol-media img { width: auto; max-width: 100%; height: 100%; object-fit: contain; border-radius: 4px; box-shadow: 0 8px 20px rgba(15,23,42,.2); }
@media (max-width: 720px) { .mat-cover-wrap { padding: 18px; } .mat-cover { max-height: 360px; } }
.mat-desc { font-size: 16.5px; line-height: 1.8; color: #1f2937; margin-bottom: 10px; }
.mat-benefits { list-style: none; display: grid; gap: 10px; margin: 0 0 16px; padding: 0; }
.mat-benefits li { position: relative; padding-left: 30px; line-height: 1.6; color: #374151; }
.mat-benefits li::before { content: ''; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--blue-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a56db' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.mat-side { position: sticky; top: 96px; }
.mat-side .form-card { padding: 26px; }
.mat-side .form-card h2 { font-size: 21px; }
.mat-side .form-row { gap: 12px; }
.mat-side .consent { margin-bottom: 14px; }
.mat-side .consent a { color: var(--blue); text-decoration: underline; }
.mat-ready .btn-submit { margin-top: 6px; }
.mat-next { margin-top: 16px; font-size: 13.5px; color: var(--muted); }
.mat-next a { color: var(--blue); }
.mat-box { display: flex; align-items: center; gap: 18px; max-width: 780px; margin: 30px auto 0; padding: 18px 22px; background: #f8fafc; border: 1px solid var(--border); border-left: 4px solid var(--blue); border-radius: 12px; }
.mat-box-ico { width: 44px; height: 44px; flex-shrink: 0; border-radius: 10px; background: var(--blue-light); display: flex; align-items: center; justify-content: center; }
.mat-box-ico svg { width: 22px; height: 22px; color: var(--blue); }
.mat-box-txt { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mat-box-txt small { font-size: 11px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--blue); }
.mat-box-txt strong { font-family: 'Manrope', sans-serif; font-size: 16px; line-height: 1.35; }
.mat-box-txt span { font-size: 13.5px; color: var(--muted); }
.mat-box .btn-outline { white-space: nowrap; padding: 10px 18px; }
.px-narrow.legal p, .px-narrow.legal li { line-height: 1.75; color: #374151; }
.px-narrow.legal ul { margin: 0 0 14px 20px; }
.px-narrow.legal .px-table td, .px-narrow.legal .px-table th { font-size: 13px; }
@media (max-width: 900px) { .mat-layout { grid-template-columns: 1fr; } .mat-side { position: static; } .mat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .mat-grid { grid-template-columns: 1fr; } .mat-box { flex-wrap: wrap; } .mat-box .btn-outline { width: 100%; justify-content: center; } }

.mat-badge { position: absolute; top: 14px; right: 14px; z-index: 1; background: #fbbf24; color: #78350f; font-size: 10.5px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; }
.field.consent-field { margin-bottom: 12px; } .field.consent-field label.consent { font-weight: 400; color: var(--muted); font-size: 13px; margin-bottom: 0; }

/* Vídeos do YouTube incorporados nos artigos */
.video-embed { position: relative; aspect-ratio: 16 / 9; width: 100%; margin: 24px 0; border-radius: 12px; overflow: hidden; background: #0f172a; box-shadow: 0 6px 24px rgba(15,23,42,.12); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ─── Landing pages das soluções ─── */
.lp-hero { background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%); color: #fff; padding: 72px 0 84px; position: relative; overflow: hidden; }
.lp-hero::after { content: ''; position: absolute; right: -140px; top: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(96,165,250,.35), transparent 70%); }
.lp-hero-portal { background: linear-gradient(135deg, #0b1220 0%, #1d4ed8 120%); }
.lp-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.lp-hero .eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .9px; text-transform: uppercase; color: #93c5fd; background: rgba(255,255,255,.08); padding: 5px 12px; border-radius: 99px; margin-bottom: 16px; }
.lp-hero h1 { font-family: 'Manrope', sans-serif; font-size: 40px; line-height: 1.15; font-weight: 800; margin-bottom: 18px; letter-spacing: -.5px; }
.lp-lead { color: #cbd5e1; font-size: 17.5px; line-height: 1.7; margin-bottom: 28px; max-width: 560px; }
.lp-hero-vis { display: flex; justify-content: center; }

.lp-icon-card { width: 100%; max-width: 400px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 22px; padding: 34px 30px; backdrop-filter: blur(4px); }
.lp-icon-big { width: 84px; height: 84px; border-radius: 22px; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 14px 34px rgba(0,0,0,.28); margin-bottom: 24px; }
.lp-icon-big svg { width: 42px; height: 42px; color: var(--blue); }
.lp-icon-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.lp-icon-card li { display: flex; gap: 10px; align-items: flex-start; color: #e2e8f0; font-size: 14.5px; line-height: 1.45; }
.lp-icon-card li svg { width: 18px; height: 18px; color: #4ade80; flex-shrink: 0; margin-top: 1px; }

.lp-mock { width: 100%; max-width: 520px; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 70px rgba(2,6,23,.55); position: relative; color: #0f172a; transform: perspective(1400px) rotateY(-5deg) rotateX(2deg); }
.lp-mock-bar { background: #f1f5f9; padding: 10px 14px; display: flex; align-items: center; gap: 6px; border-bottom: 1px solid #e2e8f0; }
.lp-mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.lp-mock-bar span { margin-left: 10px; font-size: 11px; color: #64748b; background: #fff; padding: 3px 12px; border-radius: 99px; flex: 1; }
.lp-mock-body { display: grid; grid-template-columns: 112px 1fr; }
.lp-mock-body aside { background: #0f172a; color: #94a3b8; padding: 14px 0; font-size: 12px; }
.lp-mock-body aside b { display: block; color: #fff; padding: 0 14px 12px; font-family: 'Manrope', sans-serif; font-size: 13px; }
.lp-mock-body aside span { display: block; padding: 8px 14px; }
.lp-mock-body aside span.on { background: #1a56db; color: #fff; }
.lp-mock-main { padding: 16px; }
.lp-mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.lp-mock-kpis div { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 9px; padding: 8px 10px; }
.lp-mock-kpis small { display: block; font-size: 10px; color: #64748b; }
.lp-mock-kpis b { font-family: 'Manrope', sans-serif; font-size: 18px; }
.lp-mock-kpis b.warn { color: #dc2626; }
.lp-mock table { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.lp-mock th { text-align: left; color: #64748b; font-weight: 600; padding: 6px 4px; border-bottom: 1px solid #e2e8f0; }
.lp-mock td { padding: 8px 4px; border-bottom: 1px solid #f1f5f9; }
.lp-mock em { font-style: normal; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 99px; }
.lp-mock em.ok { background: #dcfce7; color: #166534; } .lp-mock em.wait { background: #fef3c7; color: #92400e; }
.lp-mock-foot { display: flex; justify-content: space-between; margin-top: 12px; font-size: 10.5px; color: #1a56db; font-weight: 600; }
.lp-mock-note { position: absolute; right: 12px; bottom: 6px; font-size: 9px; color: #94a3b8; }

.lp-chips { background: #fff; border-bottom: 1px solid var(--border); }
.lp-chips ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; margin: 0; padding: 20px 0; }
.lp-chips li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #1f2937; }
.lp-chips li svg { width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; }

.lp-sec { padding: 72px 0; background: #fff; }
.lp-alt { background: var(--bg); }
.lp-head { text-align: center; max-width: 720px; margin: 0 auto 38px; }
.lp-h2 { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 30px; line-height: 1.25; margin-bottom: 8px; letter-spacing: -.3px; }
.lp-sec .section-label { text-align: left; }
.lp-head .section-label { text-align: center; }
.lp-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; margin-top: 8px; }
.lp-pains { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.lp-pains li { position: relative; padding: 14px 16px 14px 44px; background: #fff; border: 1px solid var(--border); border-radius: 12px; line-height: 1.55; color: #374151; }
.lp-pains li::before { content: '!'; position: absolute; left: 14px; top: 14px; width: 20px; height: 20px; border-radius: 50%; background: #fee2e2; color: #b91c1c; font-weight: 800; font-size: 12px; display: flex; align-items: center; justify-content: center; }
.lp-solution { background: linear-gradient(160deg, #eff6ff, #dbeafe); border: 1px solid #bfdbfe; border-radius: 18px; padding: 30px; position: sticky; top: 96px; }
.lp-sol-ico { width: 52px; height: 52px; border-radius: 14px; background: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; box-shadow: 0 6px 18px rgba(26,86,219,.18); }
.lp-sol-ico svg { width: 26px; height: 26px; color: var(--blue); }
.lp-solution h3 { font-family: 'Manrope', sans-serif; font-size: 21px; font-weight: 800; margin-bottom: 8px; line-height: 1.3; }
.lp-solution p { color: #374151; line-height: 1.7; margin-bottom: 20px; }

.lp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lp-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 26px; transition: transform .2s, box-shadow .2s, border-color .2s; display: flex; flex-direction: column; }
.lp-card:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(26,86,219,.12); border-color: #bfdbfe; }
.lp-card-ico { width: 46px; height: 46px; border-radius: 12px; background: var(--blue-light); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.lp-card-ico svg { width: 24px; height: 24px; color: var(--blue); }
.lp-card h3 { font-family: 'Manrope', sans-serif; font-size: 17px; font-weight: 800; margin-bottom: 8px; line-height: 1.3; }
.lp-card p { color: var(--muted); font-size: 14.5px; line-height: 1.65; margin: 0; flex: 1; }

.lp-partner { background: linear-gradient(135deg, #0f172a, #1e3a8a); color: #fff; padding: 44px 0; }
.lp-partner-in { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.lp-partner .eyebrow { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .9px; text-transform: uppercase; color: #93c5fd; margin-bottom: 8px; }
.lp-partner h2 { font-family: 'Manrope', sans-serif; font-size: 24px; font-weight: 800; line-height: 1.3; max-width: 640px; margin-bottom: 6px; }
.lp-partner p { color: #cbd5e1; margin: 0; }

.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; position: relative; }
.lp-steps li { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 26px 22px 22px; }
.lp-n { width: 38px; height: 38px; border-radius: 50%; background: var(--blue); color: #fff; font-family: 'Manrope', sans-serif; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; box-shadow: 0 6px 16px rgba(26,86,219,.3); }
.lp-steps h3 { font-family: 'Manrope', sans-serif; font-size: 16.5px; font-weight: 800; margin-bottom: 6px; }
.lp-steps p { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0; }

.lp-split-for { grid-template-columns: 1fr 1.1fr; }
.lp-checks { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 14px; }
.lp-checks li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.6; color: #374151; }
.lp-checks li svg { width: 20px; height: 20px; color: #16a34a; flex-shrink: 0; margin-top: 2px; }
.lp-faq details { background: #fff; border: 1px solid var(--border); border-radius: 12px; margin-top: 10px; overflow: hidden; }
.lp-faq summary { cursor: pointer; padding: 15px 18px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: '+'; font-size: 20px; color: var(--blue); flex-shrink: 0; }
.lp-faq details[open] summary::after { content: '–'; }
.lp-faq details p { padding: 0 18px 16px; color: #4b5563; line-height: 1.7; margin: 0; }
.lp-related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lp-rel { text-decoration: none; color: inherit; }
.lp-rel .sol-go { margin-top: 14px; color: var(--blue); font-weight: 700; font-size: 13.5px; display: inline-flex; gap: 6px; align-items: center; }
.lp-sticky { display: none; }

/* Destaque do Portal de Vendas na página /solucoes/ */
.pv-spot { background: linear-gradient(135deg, #0b1220 0%, #1d4ed8 130%); color: #fff; border-radius: 22px; padding: 44px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; margin-bottom: 40px; position: relative; overflow: hidden; box-shadow: 0 24px 60px rgba(15,23,42,.25); }
.pv-spot::after { content: ''; position: absolute; right: -80px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(96,165,250,.35), transparent 70%); }
.pv-spot > * { position: relative; z-index: 1; }
.pv-badge { display: inline-block; background: #fbbf24; color: #78350f; font-size: 11px; font-weight: 800; letter-spacing: .7px; text-transform: uppercase; padding: 4px 11px; border-radius: 99px; margin-bottom: 14px; }
.pv-spot h2 { font-family: 'Manrope', sans-serif; font-size: 31px; font-weight: 800; line-height: 1.2; margin-bottom: 12px; letter-spacing: -.4px; }
.pv-spot p { color: #cbd5e1; line-height: 1.7; margin-bottom: 18px; }
.pv-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 8px; }
.pv-list li { display: flex; gap: 9px; align-items: center; font-size: 14.5px; color: #e2e8f0; }
.pv-list svg { width: 18px; height: 18px; color: #4ade80; flex-shrink: 0; }
.pv-spot .lp-mock { max-width: 460px; margin-left: auto; }

@media (max-width: 960px) {
  .lp-hero-grid, .lp-split, .lp-split-for, .pv-spot { grid-template-columns: 1fr; gap: 34px; }
  .lp-hero { padding: 54px 0 56px; } .lp-hero h1 { font-size: 31px; }
  .lp-grid, .lp-related { grid-template-columns: 1fr 1fr; } .lp-steps { grid-template-columns: 1fr 1fr; }
  .lp-solution { position: static; } .lp-mock { transform: none; margin: 0 auto; } .pv-spot { padding: 30px 22px; } .pv-spot .lp-mock { margin: 0 auto; }
}
@media (max-width: 600px) {
  .lp-grid, .lp-related, .lp-steps { grid-template-columns: 1fr; } .lp-sec { padding: 52px 0; } .lp-h2 { font-size: 25px; } .pv-spot h2 { font-size: 25px; }
  .lp-sticky { display: block; position: fixed; left: 0; right: 0; bottom: 0; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--border); z-index: 90; box-shadow: 0 -6px 20px rgba(15,23,42,.1); }
  .lp-sticky .btn-primary { width: 100%; justify-content: center; }
  body { padding-bottom: 0; }
}

@media (max-width: 600px) { .lp-sticky { right: 86px; padding-right: 8px; } }

/* Prévias do material (imagens + ponto de destaque) */
.mat-prev { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin: 6px 0 30px; align-items: start; }
.mat-prev figure { margin: 0; background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; box-shadow: 0 4px 16px rgba(15,23,42,.06); transition: transform .2s, box-shadow .2s; }
.mat-prev figure:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(26,86,219,.14); }
.mat-prev a.zoom { display: block; cursor: zoom-in; background: #f3f6fb; border-bottom: 1px solid var(--border); }
.mat-prev img { display: block; width: 100%; height: auto; }
.mat-prev figcaption { padding: 12px 14px 14px; font-size: 13.5px; line-height: 1.5; color: #4b5563; }
.mat-prev figcaption b { display: block; font-family: 'Manrope', sans-serif; font-size: 14.5px; color: var(--text); margin-bottom: 3px; }
.mat-prev figcaption b::before { content: 'Destaque'; display: block; font: 700 10px/1 Inter, sans-serif; letter-spacing: .6px; text-transform: uppercase; color: var(--blue); background: var(--blue-light); padding: 3px 7px; border-radius: 4px; margin: 0 0 7px; width: max-content; }
.mat-prev figcaption span { display: block; }
.mat-zoom { border: 0; border-radius: 14px; padding: 18px 18px 14px; width: min(1100px, 96vw); max-height: 94vh; background: #fff; box-shadow: 0 30px 80px rgba(15,23,42,.45); }
.mat-zoom::backdrop { background: rgba(15,23,42,.72); }
.mat-zoom img { display: block; max-width: 100%; max-height: 78vh; margin: 0 auto; object-fit: contain; }
.mat-zoom p { text-align: center; margin: 10px 0 0; font-weight: 600; color: var(--text); }
.mat-zoom form { position: absolute; right: 12px; top: 10px; margin: 0; }
.mat-zoom button { border: 0; background: #f3f4f6; width: 34px; height: 34px; border-radius: 50%; font-size: 22px; line-height: 1; cursor: pointer; }
@media (max-width: 720px) { .mat-prev { grid-template-columns: 1fr; } }