/* PlannerBox — Página de Vendas */
:root {
	--pbx-azul: #0b5cf0;
	--pbx-azul-esc: #0847c2;
	--pbx-marinho: #0a2463;
	--pbx-marinho-2: #0d2d73;
	--pbx-texto: #1d2a47;
	--pbx-suave: #56637f;
	--pbx-claro: #eef4ff;
	--pbx-claro-2: #f6f9ff;
	--pbx-borda: #d9e4fa;
	--pbx-branco: #ffffff;
	--pbx-fonte: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--pbx-mao: "Caveat", "Segoe Print", "Bradley Hand", cursive;
	--pbx-raio: 14px;
}

body.pbx-page { margin: 0; background: var(--pbx-branco); }
.pbx, .pbx *, .pbx *::before, .pbx *::after { box-sizing: border-box; }
.pbx {
	font-family: var(--pbx-fonte);
	color: var(--pbx-texto);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	padding-bottom: env(safe-area-inset-bottom, 0px);
}
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
:where(.pbx) :where(h1, h2, h3, p, ul, blockquote) { margin: 0; padding: 0; }
:where(.pbx) :where(ul) { list-style: none; }
:where(.pbx) :where(img) { max-width: 100%; height: auto; display: block; }
:where(.pbx) :where(a) { color: inherit; }
.pbx :focus-visible { outline: 3px solid #7aa7ff; outline-offset: 3px; border-radius: 6px; }
.pbx-ic { width: 1em; height: 1em; flex: none; }
.pbx-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Botões */
.pbx-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	background: var(--pbx-azul); color: #fff !important; text-decoration: none;
	font-weight: 700; font-size: 16px; line-height: 1.2;
	padding: 14px 24px; border-radius: 10px; border: 2px solid var(--pbx-azul);
	transition: background-color .15s ease, border-color .15s ease;
}
.pbx-btn:hover { background: var(--pbx-azul-esc); border-color: var(--pbx-azul-esc); }
.pbx-btn .pbx-ic { width: 22px; height: 22px; stroke-width: 2.4; }
.pbx-btn--sm { padding: 11px 20px; font-size: 15px; }
.pbx-btn--lg { padding: 18px 32px; font-size: 19px; border-radius: 12px; }
.pbx-btn--contorno { background: transparent; color: var(--pbx-azul) !important; }
.pbx-btn--contorno:hover { background: var(--pbx-claro); border-color: var(--pbx-azul); }
.pbx-btn--whats { background: #1faa55; border-color: #1faa55; }
.pbx-btn--whats:hover { background: #178a45; border-color: #178a45; }
.pbx-btn--whats svg { width: 22px; height: 22px; }

/* Topo */
.pbx-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid #e8eefb;
}
.admin-bar .pbx-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .pbx-header { top: 46px; } }
.pbx-header__in { display: flex; align-items: center; gap: 32px; min-height: 78px; }
.pbx-logo img { height: 46px; width: auto; }
.pbx-nav { display: flex; gap: 30px; margin-left: auto; }
.pbx-nav a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--pbx-marinho); }
.pbx-nav a:hover { color: var(--pbx-azul); }

/* Hero */
.pbx-hero {
	background:
		radial-gradient(900px 500px at 85% 10%, #dfeaff 0%, rgba(223,234,255,0) 70%),
		linear-gradient(180deg, #fbfdff 0%, #f1f6ff 100%);
	overflow: hidden;
}
.pbx-hero__in { display: grid; grid-template-columns: 1.08fr 1fr; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 72px; }
.pbx-tag {
	display: inline-block; background: #dbe7ff; color: var(--pbx-azul-esc);
	font-weight: 700; font-size: 13px; letter-spacing: .02em;
	padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.pbx-h1 { font-size: clamp(38px, 4.7vw, 60px); line-height: 1.04; letter-spacing: -.035em; font-weight: 800; color: var(--pbx-marinho); }
.pbx-h1 span { display: block; }
.pbx-azul { color: var(--pbx-azul); }
.pbx-lead { font-size: 19px; color: #34405c; margin-top: 20px; max-width: 34em; }
.pbx-mini { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 32px 0 34px; }
.pbx-mini li { display: flex; flex-direction: column; gap: 10px; font-weight: 600; font-size: 15px; line-height: 1.3; color: var(--pbx-marinho); }
.pbx-mini .pbx-ic {
	width: 44px; height: 44px; padding: 10px; border-radius: 10px;
	background: var(--pbx-azul); color: #fff; stroke-width: 1.9;
}
.pbx-nota { margin-top: 14px; font-size: 14px; color: var(--pbx-suave); }

.pbx-hero__visual { position: relative; padding-bottom: 150px; }
.pbx-foto { position: relative; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(10,36,99,.45); }
.pbx-foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 30% 20%; }
.pbx-foto::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(270deg, rgba(10,36,99,.88) 0%, rgba(10,36,99,.55) 32%, rgba(10,36,99,0) 58%);
}
.pbx-quote {
	position: absolute; z-index: 1; top: 7%; right: 5%; width: 38%;
	color: #fff; font-size: clamp(15px, 1.35vw, 19px); line-height: 1.3; font-weight: 600;
	text-shadow: 0 1px 12px rgba(0,0,0,.25);
}
.pbx-mockup {
	position: absolute; right: -6%; bottom: 0; width: 76%;
	filter: drop-shadow(0 28px 40px rgba(10,36,99,.28));
}
.pbx-manuscrito {
	position: absolute; left: 0; bottom: 40px; width: 26%;
	font-family: var(--pbx-mao); font-weight: 600; font-size: 26px; line-height: 1.05; color: var(--pbx-marinho);
	transform: rotate(-7deg); text-align: center;
}

/* Funcionalidades */
.pbx-features { background: var(--pbx-claro); border-top: 1px solid var(--pbx-borda); border-bottom: 1px solid var(--pbx-borda); }
.pbx-features__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; padding-top: 44px; padding-bottom: 44px; }
.pbx-feature .pbx-ic { width: 42px; height: 42px; color: var(--pbx-azul); stroke-width: 1.7; margin-bottom: 14px; }
.pbx-feature h3 { font-size: 17px; line-height: 1.25; font-weight: 700; color: var(--pbx-marinho); margin-bottom: 8px; }
.pbx-feature p { font-size: 14px; color: var(--pbx-suave); }

/* Planos */
.pbx-planos { padding: 88px 0; }
.pbx-planos__in { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 28px; align-items: stretch; }
.pbx-planos__intro { padding-right: 12px; align-self: center; }
.pbx-eyebrow { color: var(--pbx-azul); font-weight: 700; font-size: 14px; margin-bottom: 12px; }
.pbx-h2 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.1; letter-spacing: -.03em; font-weight: 800; color: var(--pbx-marinho); margin-bottom: 18px; }
.pbx-planos__intro > p:not(.pbx-eyebrow) { color: #34405c; font-size: 17px; }
.pbx-seguro {
	display: flex; gap: 14px; align-items: center; margin-top: 28px;
	background: var(--pbx-claro-2); border: 1px solid var(--pbx-borda); border-radius: 12px;
	padding: 16px 18px; font-size: 14px; color: #34405c;
}
.pbx-seguro .pbx-ic { width: 34px; height: 34px; color: var(--pbx-azul); }

.pbx-plano {
	position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
	background: #fff; border: 1px solid #e3e9f6; border-radius: 18px;
	padding: 36px 28px 28px; box-shadow: 0 18px 40px -28px rgba(10,36,99,.35);
}
.pbx-plano > .pbx-ic { width: 40px; height: 40px; color: var(--pbx-azul); margin-bottom: 12px; }
.pbx-plano h3 { font-size: 21px; font-weight: 800; color: var(--pbx-marinho); letter-spacing: -.01em; }
.pbx-plano__sub { font-size: 14px; color: var(--pbx-suave); margin-top: 4px; }
.pbx-preco { font-size: 40px; font-weight: 800; letter-spacing: -.03em; color: var(--pbx-marinho); margin-top: 18px; line-height: 1; }
.pbx-cond { color: var(--pbx-azul); font-size: 14px; font-weight: 500; margin-top: 8px; }
.pbx-lista { text-align: left; width: 100%; margin: 24px 0 28px !important; display: grid; gap: 11px; flex: 1; align-content: start; }
.pbx-lista li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.4; }
.pbx-ok { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--pbx-azul); color: #fff; display: grid; place-items: center; margin-top: 1px; }
.pbx-ok .pbx-ic { width: 14px; height: 14px; stroke-width: 3; }
.pbx-plano .pbx-btn { width: 100%; }
.pbx-plano--destaque { border: 2px solid var(--pbx-azul); box-shadow: 0 24px 50px -24px rgba(11,92,240,.45); }
.pbx-plano--destaque .pbx-preco { color: var(--pbx-azul); }
.pbx-selo {
	position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
	background: var(--pbx-azul); color: #fff; font-size: 12px; font-weight: 700;
	padding: 6px 18px; border-radius: 8px 8px 0 0; white-space: nowrap;
}

/* Faixa */
.pbx-faixa { background: linear-gradient(90deg, var(--pbx-marinho) 0%, var(--pbx-marinho-2) 100%); color: #fff; }
.pbx-faixa__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-top: 36px; padding-bottom: 36px; }
.pbx-garantia { display: flex; gap: 16px; align-items: flex-start; }
.pbx-garantia .pbx-ic { width: 36px; height: 36px; stroke-width: 1.7; color: #cfe0ff; }
.pbx-garantia h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; color: #fff; }
.pbx-garantia p { font-size: 14px; color: #c3d2f2; line-height: 1.45; }

/* Dúvidas */
.pbx-faq { padding: 88px 0; background: var(--pbx-claro-2); }
.pbx-faq__in { display: grid; grid-template-columns: 1fr 1.8fr; gap: 56px; align-items: start; }
.pbx-faq__intro { position: sticky; top: 110px; }
.pbx-faq__intro p { color: #34405c; font-size: 17px; margin-bottom: 24px; }
.pbx-faq__lista { display: grid; gap: 10px; }
.pbx-pergunta { background: #fff; border: 1px solid #e3e9f6; border-radius: 12px; }
.pbx-pergunta summary {
	list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
	padding: 18px 22px; font-weight: 700; color: var(--pbx-marinho); font-size: 16px;
}
.pbx-pergunta summary::-webkit-details-marker { display: none; }
.pbx-pergunta summary .pbx-ic { width: 22px; height: 22px; color: var(--pbx-azul); transition: transform .2s ease; stroke-width: 2.2; }
.pbx-pergunta[open] summary .pbx-ic { transform: rotate(45deg); }
.pbx-pergunta[open] { border-color: #bcd0f7; }
.pbx-pergunta p { padding: 0 22px 20px; color: #3b4764; font-size: 15px; }
@media (prefers-reduced-motion: reduce) { .pbx-pergunta summary .pbx-ic { transition: none; } }

/* Chamada final */
.pbx-final { position: relative; overflow: hidden; background: #fff; }
.pbx-final::before, .pbx-final::after {
	content: ""; position: absolute; width: 220px; height: 220px; border-radius: 28px;
	background: linear-gradient(135deg, #cfe0ff, #e9f1ff); opacity: .7; transform: rotate(-14deg);
}
.pbx-final::before { left: -80px; bottom: -90px; }
.pbx-final::after { right: -70px; top: -100px; transform: rotate(18deg); }
.pbx-final__in { position: relative; z-index: 1; text-align: center; padding-top: 80px; padding-bottom: 84px; }
.pbx-final h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -.025em; color: var(--pbx-marinho); line-height: 1.15; max-width: 22em; margin: 0 auto; }
.pbx-final p { color: var(--pbx-azul); font-weight: 500; margin: 12px 0 30px; }

.pbx-footer { border-top: 1px solid #e8eefb; padding: 22px 0; font-size: 13px; color: var(--pbx-suave); text-align: center; }

.pbx-flutuante {
	position: fixed; z-index: 60; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px));
	width: 58px; height: 58px; border-radius: 50%; background: #1faa55; color: #fff !important;
	display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.4);
}
.pbx-flutuante svg { width: 32px; height: 32px; }

/* Responsivo */
@media (max-width: 1080px) {
	.pbx-features__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.pbx-planos__in { grid-template-columns: 1fr 1fr; }
	.pbx-planos__intro { grid-column: 1 / -1; max-width: 40em; padding-right: 0; }
	.pbx-faixa__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.pbx-nav { display: none; }
	.pbx-header__in { justify-content: space-between; }
	.pbx-hero__in { grid-template-columns: 1fr; padding-top: 36px; }
	.pbx-hero__visual { max-width: 620px; margin: 0 auto; width: 100%; }
	.pbx-mockup { right: -3%; }
	.pbx-faq__in { grid-template-columns: 1fr; gap: 32px; }
	.pbx-faq__intro { position: static; }
}
@media (max-width: 640px) {
	.pbx-wrap { padding: 0 18px; }
	.pbx-header__in { min-height: 64px; gap: 12px; }
	.pbx-logo img { height: 34px; }
	.pbx-btn--sm { padding: 9px 14px; font-size: 14px; }
	.pbx-lead { font-size: 17px; }
	.pbx-mini { gap: 12px; }
	.pbx-mini li { font-size: 13px; }
	.pbx-btn--lg { width: 100%; font-size: 17px; padding: 16px 20px; }
	.pbx-hero__visual { padding-bottom: 0; }
	.pbx-quote { width: 46%; font-size: 13px; top: 6%; right: 4%; }
	.pbx-foto::after { background: linear-gradient(270deg, rgba(10,36,99,.9) 0%, rgba(10,36,99,.6) 42%, rgba(10,36,99,0) 70%); }
	.pbx-mockup { position: relative; right: auto; bottom: auto; width: 86%; margin: -36% -4% 0 auto; }
	.pbx-manuscrito { display: none; }
	.pbx-features__grid { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
	.pbx-planos, .pbx-faq { padding: 64px 0; }
	.pbx-planos__in { grid-template-columns: 1fr; gap: 36px; }
	.pbx-faixa__grid { grid-template-columns: 1fr; gap: 22px; }
	.pbx-pergunta summary { padding: 16px 18px; font-size: 15px; }
	.pbx-pergunta p { padding: 0 18px 18px; }
}

/* ===== v1.1: botões duplos, demonstração, modelos, crédito ===== */
.pbx-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.pbx-ctas--centro { justify-content: center; }
.pbx-btn--demo { background: #fff; color: var(--pbx-marinho) !important; border-color: var(--pbx-borda); font-family: inherit; cursor: pointer; }
.pbx-btn--demo:hover { background: var(--pbx-claro); border-color: #b9cdf6; }
.pbx-btn--demo .pbx-ic { width: 24px; height: 24px; color: var(--pbx-azul); stroke-width: 1.8; }

.pbx-modelos { padding: 88px 0 72px; overflow: hidden; }
.pbx-modelos__topo { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; }
.pbx-modelos__texto { color: #34405c; font-size: 17px; max-width: 40em; }
.pbx-setas { display: flex; gap: 10px; flex: none; }
.pbx-seta {
	width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--pbx-borda); background: #fff;
	color: var(--pbx-azul); display: grid; place-items: center; cursor: pointer; padding: 0;
}
.pbx-seta:hover { background: var(--pbx-claro); }
.pbx-seta .pbx-ic { width: 22px; height: 22px; stroke-width: 2.2; }
.pbx-carrossel {
	display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	padding: 6px max(24px, calc((100vw - 1200px) / 2 + 24px)) 18px;
	scroll-padding: 0 max(24px, calc((100vw - 1200px) / 2 + 24px));
	scrollbar-width: none;
}
.pbx-carrossel::-webkit-scrollbar { display: none; }
.pbx-modelo { flex: 0 0 300px; scroll-snap-align: start; margin: 0; }
.pbx-modelo__img {
	display: block; width: 100%; padding: 0; border: 1px solid #e3e9f6; border-radius: 14px; overflow: hidden;
	background: #fff; cursor: zoom-in; box-shadow: 0 18px 36px -26px rgba(10,36,99,.45);
	transition: transform .2s ease, box-shadow .2s ease;
}
.pbx-modelo__img:hover { transform: translateY(-4px); box-shadow: 0 26px 44px -26px rgba(10,36,99,.55); }
.pbx-navegador { display: flex; gap: 6px; padding: 10px 12px; background: #f1f4fa; border-bottom: 1px solid #e3e9f6; }
.pbx-navegador i { width: 9px; height: 9px; border-radius: 50%; background: #cfd8ea; }
.pbx-modelo__img img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; }
.pbx-modelo figcaption { margin-top: 12px; font-weight: 700; color: var(--pbx-marinho); font-size: 16px; }
.pbx-modelos__rodape { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 18px; }
.pbx-modelos__rodape .pbx-nota { margin: 0; }
.pbx-modelos__rodape .pbx-btn .pbx-ic { width: 20px; height: 20px; }
@media (prefers-reduced-motion: reduce) {
	.pbx-carrossel { scroll-behavior: auto; }
	.pbx-modelo__img { transition: none; }
}

.pbx-footer__in { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pbx-credito { color: var(--pbx-suave); text-decoration: none; }
a.pbx-credito:hover { color: var(--pbx-azul); text-decoration: underline; }

/* Janelas (vídeo e modelo) */
html.pbx-travado { overflow: hidden; }
.pbx-dialog {
	border: 0; padding: 0; background: transparent; max-width: none; max-height: none;
	width: 100%; height: 100%; margin: 0; inset: 0; overflow: visible;
}
.pbx-dialog::backdrop { background: rgba(6, 18, 48, .82); }
.pbx-dialog[open] { display: grid; place-items: center; }
.pbx-fechar {
	position: fixed; top: calc(14px + env(safe-area-inset-top, 0px)); right: 14px; z-index: 2;
	width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: var(--pbx-marinho, #0a2463);
	display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.3);
}
.pbx-fechar svg { width: 22px; height: 22px; stroke-width: 2.4; }
.pbx-video { width: min(92vw, 1100px); aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; }
.pbx-video iframe { width: 100%; height: 100%; border: 0; display: block; }
.pbx-modelo-full {
	width: min(92vw, 760px); height: calc(100% - 80px); max-height: 92vh; overflow-y: auto;
	border-radius: 12px; background: #fff; -webkit-overflow-scrolling: touch;
}
.pbx-modelo-full img { width: 100%; height: auto; display: block; }

@media (max-width: 640px) {
	.pbx-ctas .pbx-btn { width: 100%; }
	.pbx-modelos { padding: 64px 0 56px; }
	.pbx-modelos__topo { margin-bottom: 24px; }
	.pbx-setas { display: none; }
	.pbx-carrossel { gap: 16px; padding-left: 18px; padding-right: 18px; scroll-padding: 0 18px; }
	.pbx-modelo { flex-basis: 78vw; }
	.pbx-modelos__rodape { flex-direction: column; align-items: stretch; text-align: center; }
	.pbx-footer__in { justify-content: center; text-align: center; }
	.pbx-video { width: 100vw; border-radius: 0; }
	.pbx-modelo-full { width: 100vw; height: 100%; max-height: none; border-radius: 0; }
}
.pbx-ctas .pbx-btn--lg { padding-left: 24px; padding-right: 24px; font-size: 18px; }
.pbx-ctas .pbx-btn--demo { font-size: 17px; }

/* ===== v1.2: rodapé com colunas e documentos ===== */
.pbx-footer { padding: 0; text-align: left; font-size: 14px; background: var(--pbx-claro-2); }
.pbx-footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); gap: 40px; padding-top: 56px; padding-bottom: 44px; }
.pbx-footer__marca img { height: 40px; width: auto; }
.pbx-footer__marca p { margin-top: 14px; color: var(--pbx-suave); max-width: 26em; line-height: 1.55; }
.pbx-footer__titulo { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--pbx-marinho); margin: 0 0 14px; }
.pbx-footer nav ul { display: grid; gap: 10px; }
.pbx-footer nav a { color: var(--pbx-suave); text-decoration: none; overflow-wrap: anywhere; }
.pbx-footer nav a:hover { color: var(--pbx-azul); text-decoration: underline; }
.pbx-footer__base { border-top: 1px solid #e3e9f6; padding: 20px 0; font-size: 13px; color: var(--pbx-suave); }
.pbx-footer__in { align-items: center; }
@media (max-width: 900px) {
	.pbx-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
	.pbx-footer__marca { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
	.pbx-footer__grid { padding-top: 44px; padding-bottom: 32px; }
	.pbx-footer__in { flex-direction: column; align-items: flex-start; text-align: left; justify-content: flex-start; }
	.pbx-footer__base { padding-bottom: 92px; } /* espaço para o botão flutuante */
}
