/* Página pilar /sistema-pdv. Tudo prefixado com .spdv para não vazar para o resto do site. */
.spdv {
	--spdv-ink: #1d2733;
	--spdv-text: #3b4654;
	--spdv-muted: #59697d;
	--spdv-line: #e3e7ec;
	--spdv-soft: #f6f7f9;
	--spdv-warm: #fff6e8;
	--spdv-brand: #ffa500;
	--spdv-brand-text: #9d6500;
	--spdv-ok: #1b7a3d;
	--spdv-bad: #a8321f;
	--spdv-radius: 14px;
	color: var(--spdv-text);
	font-size: 16px;
	line-height: 1.65;
}
.spdv *, .spdv *::before, .spdv *::after { box-sizing: border-box; }
.spdv h1, .spdv h2, .spdv h3 { color: var(--spdv-ink); font-family: 'Poppins', Arial, sans-serif; letter-spacing: 0; }
.spdv h1 { font-size: 30px; line-height: 1.2; font-weight: 700; margin: 0 0 16px; }
.spdv h2 { font-size: 26px; line-height: 1.25; font-weight: 700; margin: 0 0 14px; }
.spdv h3 { font-size: 19px; line-height: 1.3; font-weight: 600; margin: 0 0 8px; }
.spdv p { margin: 0 0 14px; }
.spdv a:not(.gm-public-cta):not(.spdv-btn) { color: #246477; }
.spdv-wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.spdv-section { padding: 48px 0; }
.spdv-section--soft { background: var(--spdv-soft); }
.spdv-section--warm { background: var(--spdv-warm); }
.spdv-lead { font-size: 18px; color: var(--spdv-text); max-width: 760px; }
.spdv-center { text-align: center; }
.spdv-center .spdv-lead { margin-left: auto; margin-right: auto; }
.spdv-kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--spdv-brand-text); margin-bottom: 10px; }

/* Breadcrumb */
.spdv-crumbs { font-size: 14px; color: var(--spdv-muted); padding-top: 14px; }
.spdv-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.spdv-crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--spdv-muted); }

/* Hero */
.spdv-hero { padding: 24px 0 40px; background: linear-gradient(180deg, #fff 0%, var(--spdv-warm) 100%); }
.spdv-hero-grid { display: grid; gap: 28px; align-items: center; }
.spdv-hero-promise { font-size: 19px; color: var(--spdv-ink); font-weight: 500; }
.spdv-price-chip { display: inline-flex; align-items: baseline; gap: 6px; background: #fff; border: 1px solid var(--spdv-line); border-radius: 999px; padding: 6px 16px; margin: 4px 0 18px; font-size: 15px; }
.spdv-price-chip strong { font-size: 20px; color: var(--spdv-ink); }
.spdv-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 6px 0 12px; }
.spdv-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: 10px; font-weight: 600; font-size: 16px; text-decoration: none !important; border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease; }
.spdv-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(29, 39, 51, .12); }
.spdv-btn--wa { background: #fff; color: var(--spdv-ink); border-color: #1f8f4e; }
.spdv-btn--wa:hover, .spdv-btn--wa:focus { color: var(--spdv-ink); }
.spdv-btn--ghost { background: #fff; color: var(--spdv-ink); border-color: var(--spdv-ink); }
.spdv-btn--ghost:hover, .spdv-btn--ghost:focus { color: var(--spdv-ink); }
.spdv-small { font-size: 14px; color: var(--spdv-muted); }
.spdv-shot { margin: 0; }
.spdv-shot img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--spdv-line); box-shadow: 0 14px 40px rgba(29, 39, 51, .14); background: #fff; }
.spdv-shot figcaption { font-size: 14px; color: var(--spdv-muted); margin-top: 10px; line-height: 1.5; }
.spdv-proof { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 16px 0 0; list-style: none; font-size: 15px; color: var(--spdv-ink); }
.spdv-proof li::before { content: "✓"; color: var(--spdv-ok); font-weight: 700; margin-right: 6px; }

/* Dor */
.spdv-pains { display: grid; gap: 16px; margin-top: 24px; }
.spdv-pain { background: #fff; border: 1px solid var(--spdv-line); border-left: 4px solid var(--spdv-brand); border-radius: var(--spdv-radius); padding: 18px 20px; }
.spdv-pain p { margin: 0; }
.spdv-cost { margin-top: 26px; background: #fff; border: 1px dashed #d5a24a; border-radius: var(--spdv-radius); padding: 18px 20px; }
.spdv-cost p:last-child { margin-bottom: 0; }

/* Recursos com print */
.spdv-feature { display: grid; gap: 22px; align-items: center; padding: 30px 0; border-top: 1px solid var(--spdv-line); }
.spdv-feature:first-of-type { border-top: 0; }
.spdv-feature-text ul { padding-left: 20px; margin: 0 0 14px; }
.spdv-feature-text li { margin-bottom: 6px; }
.spdv-check { background: var(--spdv-soft); border-radius: 10px; padding: 12px 14px; font-size: 15px; margin: 0; }
.spdv-check strong { color: var(--spdv-ink); }
.spdv-pair { display: grid; gap: 14px; }

/* Fluxo integrado */
.spdv-flow { display: grid; gap: 12px; list-style: none; margin: 24px 0; padding: 0; counter-reset: spdv-step; }
.spdv-flow li { counter-increment: spdv-step; background: #fff; border: 1px solid var(--spdv-line); border-radius: var(--spdv-radius); padding: 16px 18px 16px 62px; position: relative; }
.spdv-flow li::before { content: counter(spdv-step); position: absolute; left: 18px; top: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--spdv-brand); color: #222; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.spdv-flow strong { display: block; color: var(--spdv-ink); }

/* Segmentos */
.spdv-cards { display: grid; gap: 16px; margin-top: 24px; }
.spdv-card { display: block; background: #fff; border: 1px solid var(--spdv-line); border-radius: var(--spdv-radius); padding: 20px; text-decoration: none !important; transition: border-color .15s ease, transform .15s ease; }
.spdv-card:hover, .spdv-card:focus { border-color: var(--spdv-brand); transform: translateY(-2px); }
.spdv-card h3 { margin-bottom: 6px; }
.spdv-card p { color: var(--spdv-text); margin: 0 0 10px; }
.spdv-card span { color: #246477; font-weight: 600; }

/* Preços */
.spdv-prices { display: grid; gap: 16px; margin-top: 24px; }
.spdv-price { background: #fff; border: 1px solid var(--spdv-line); border-radius: var(--spdv-radius); padding: 22px; display: flex; flex-direction: column; }
.spdv-price--main { border: 2px solid var(--spdv-brand); }
.spdv-price-tag { font-size: 34px; font-weight: 700; color: var(--spdv-ink); line-height: 1.1; margin: 4px 0 2px; }
.spdv-price-tag small { font-size: 15px; font-weight: 500; color: var(--spdv-muted); }
.spdv-price ul { list-style: none; padding: 0; margin: 14px 0 0; }
.spdv-price li { padding: 5px 0 5px 24px; position: relative; font-size: 15px; }
.spdv-price li::before { position: absolute; left: 0; font-weight: 700; }
.spdv-price li.yes::before { content: "✓"; color: var(--spdv-ok); }
.spdv-price li.no { color: var(--spdv-muted); }
.spdv-price li.no::before { content: "–"; color: var(--spdv-muted); }
.spdv-extras { margin-top: 22px; background: #fff; border: 1px solid var(--spdv-line); border-radius: var(--spdv-radius); padding: 18px 20px; }
.spdv-extras ul { margin: 0 0 10px; padding-left: 20px; }

/* Tabela comparativa */
.spdv-table-wrap { overflow-x: auto; margin-top: 22px; border: 1px solid var(--spdv-line); border-radius: var(--spdv-radius); background: #fff; }
.spdv-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.spdv-table th, .spdv-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--spdv-line); }
.spdv-table thead th { background: var(--spdv-soft); color: var(--spdv-ink); font-weight: 600; }
.spdv-table tbody th { color: var(--spdv-ink); font-weight: 600; width: 24%; }
.spdv-table tr:last-child th, .spdv-table tr:last-child td { border-bottom: 0; }
.spdv-note { margin-top: 18px; }

/* FAQ */
.spdv-faq { margin-top: 20px; }
.spdv-faq details { background: #fff; border: 1px solid var(--spdv-line); border-radius: 12px; margin-bottom: 10px; }
.spdv-faq summary { cursor: pointer; padding: 16px 18px; font-weight: 600; color: var(--spdv-ink); list-style: none; position: relative; padding-right: 44px; }
.spdv-faq summary::-webkit-details-marker { display: none; }
.spdv-faq summary::after { content: "+"; position: absolute; right: 18px; top: 13px; font-size: 22px; color: var(--spdv-brand-text); }
.spdv-faq details[open] summary::after { content: "−"; }
.spdv-faq details > div { padding: 0 18px 14px; }

/* Leitura e CTA final */
.spdv-reads { display: grid; gap: 10px; list-style: none; padding: 0; margin: 18px 0 0; }
.spdv-reads a { font-weight: 600; }
.spdv-final { background: #1d2733; color: #e8edf2; border-radius: 18px; padding: 34px 22px; text-align: center; }
.spdv-final h2 { color: #fff; }
.spdv-final p { color: #dbe2ea; max-width: 720px; margin-left: auto; margin-right: auto; }
.spdv-final .spdv-ctas { justify-content: center; }
.spdv-final .spdv-btn--wa { background: transparent; color: #fff; border-color: #6fd39a; }
.spdv-final .spdv-btn--wa:hover, .spdv-final .spdv-btn--wa:focus { color: #fff; }
.spdv-final a:focus { outline-color: #fff !important; }

@media (min-width: 768px) {
	.spdv h1 { font-size: 40px; }
	.spdv h2 { font-size: 30px; }
	.spdv-section { padding: 64px 0; }
	.spdv-pains { grid-template-columns: repeat(2, 1fr); }
	.spdv-cards { grid-template-columns: repeat(2, 1fr); }
	.spdv-flow { grid-template-columns: repeat(2, 1fr); }
	.spdv-pair { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 992px) {
	.spdv-hero { padding: 36px 0 64px; }
	.spdv-hero-grid { grid-template-columns: 1fr 1.1fr; gap: 44px; }
	.spdv-pains { grid-template-columns: repeat(3, 1fr); }
	.spdv-feature { grid-template-columns: 1fr 1.25fr; gap: 40px; }
	.spdv-feature--flip .spdv-feature-text { order: 2; }
	.spdv-feature .spdv-pair { grid-template-columns: 1fr; }
	.spdv-cards { grid-template-columns: repeat(4, 1fr); }
	.spdv-flow { grid-template-columns: repeat(4, 1fr); }
	.spdv-prices { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
	.spdv-btn, .spdv-card { transition: none; }
	.spdv-btn:hover, .spdv-card:hover { transform: none; }
}
/* Calculadora de preço de venda (/ferramentas/calculadora-preco-de-venda) */
.calc-preco { background: #fff; border: 1px solid #dce4e8; border-radius: 8px; padding: 22px; font-family: inherit; }
.calc-preco h2 { font-size: 18px; margin: 0 0 14px; }
.calc-preco-grid { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.calc-preco label { display: block; font-size: 13px; font-weight: 600; color: #263944; }
.calc-preco input { display: block; width: 100%; margin-top: 4px; padding: 8px 10px; border: 1px solid #b9c7cf; border-radius: 5px; font: inherit; color: #263944; background: #fff; }
.calc-preco small { display: block; font-weight: 400; color: #526674; font-size: 12px; }
.calc-preco output { display: block; margin-top: 16px; padding: 14px; background: #f6fafb; border-left: 4px solid #236378; font-size: 15px; line-height: 1.6; }
.calc-preco output p { margin: 0 0 6px; }
@media (max-width: 480px) { .calc-preco-grid { grid-template-columns: 1fr; } }
