/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: May 13 2026 | 21:54:19 */
/* ═══════════════════════════════════════════════════════════════
   cp-help-bubble.css — Bubble global de ajuda

   Bolha fixa bottom-right com glyph CP animado.
   Click abre drawer com:
   - Search input (Enter dispara IA)
   - Botão primário "Perguntar à IA" (.cp-ia interno via cp-mod-ia.js)
   - Seção "Para esta página" (lida do span data-cp-help-collection)
   - Link WhatsApp no rodapé

   Mobile (≤768px): drawer vira bottom sheet.

   Padrão de affordance: cards com borda + chevron `→` + verb mono.
   Glyph CP usa mesma animação inverso+text-glow do cp-pages-ia.css.
   ═══════════════════════════════════════════════════════════════ */


/* ─── Bubble (entry point) ────────────────────────────────── */

.cp-help-bubble {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 99998;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 14px;
}

.cp-help-bubble-btn {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: #1A1A1A;
	color: #F7D44A;
	border: none;
	cursor: pointer;
	display: grid;
	place-items: center;
	box-shadow: 0 6px 18px rgba(0,0,0,.22);
	padding: 0 !important;
	margin: 0 !important;
	line-height: 1 !important;
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.cp-help-bubble-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 22px rgba(0,0,0,.28);
}

/* Ícone do bubble: help-circle line, amarelo da marca.
   Pulse sutil de glow (sem trocar a cor pra dark, que sumiria
   contra o bg dark do botão). */
.cp-help-bubble-icon {
	width: 24px !important;
	height: 24px !important;
	color: #F7D44A;
	animation: cp-help-bubble-pulse 3.5s ease-in-out infinite;
}
@keyframes cp-help-bubble-pulse {
	0%, 100% { filter: drop-shadow(0 0 0 rgba(247,212,74,0)); }
	50% { filter: drop-shadow(0 0 6px rgba(247,212,74,.6)) drop-shadow(0 0 12px rgba(247,212,74,.3)); }
}

/* Quando aberto: bubble vira "fechar" (X) */
.cp-help-bubble.is-open .cp-help-bubble-btn { background: #2A2A2A; }
.cp-help-bubble.is-open .cp-help-bubble-icon { display: none; }
.cp-help-bubble.is-open .cp-help-bubble-btn::before {
	content: '×';
	font-family: 'Inter', sans-serif;
	font-size: 28px;
	font-weight: 300;
	color: #fff;
	line-height: 1;
}


/* ─── Drawer ──────────────────────────────────────────────── */

.cp-help-drawer {
	position: fixed;
	bottom: 84px;
	right: 20px;
	width: 380px;
	max-height: calc(100vh - 120px);
	background: #fff;
	border: 1px solid #e2e2e6;
	border-radius: 8px;
	box-shadow: 0 12px 40px rgba(0,0,0,.18);
	z-index: 99999;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 14px;
	color: #1A1A1A;
	opacity: 0;
	transform: translateY(8px);
	pointer-events: none;
	transition: opacity .18s ease, transform .18s ease;
}
.cp-help-drawer.is-open {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}


/* ─── Search header (sem banda dark; input ocupa o topo) ── */

.cp-help-search-wrap {
	padding: 12px 14px;
	border-bottom: 1px solid #e2e2e6;
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}
.cp-help-search-icon {
	width: 16px !important;
	height: 16px !important;
	color: #888;
	flex-shrink: 0;
}
.cp-help-search-input {
	flex: 1;
	border: none !important;
	outline: none !important;
	font-family: inherit !important;
	font-size: 14px !important;
	background: transparent !important;
	color: #1A1A1A !important;
	padding: 0 !important;
	margin: 0 !important;
	line-height: 1.4 !important;
	box-shadow: none !important;
}
.cp-help-search-input::placeholder { color: #888; }
.cp-help-search-close {
	width: 22px;
	height: 22px;
	background: transparent;
	border: none;
	cursor: pointer;
	color: #888;
	font-size: 18px;
	display: grid;
	place-items: center;
	flex-shrink: 0;
	padding: 0 !important;
	margin: 0 !important;
	line-height: 1 !important;
}
.cp-help-search-close:hover { color: #1A1A1A; }


/* ─── Body (scroll) ───────────────────────────────────────── */

.cp-help-drawer-body {
	overflow-y: auto;
	flex: 1;
}
.cp-help-section { padding: 10px 14px; }
.cp-help-section + .cp-help-section { border-top: 1px solid #ededf0; }
.cp-help-section-h {
	font-family: 'JetBrains Mono', 'Courier New', monospace;
	font-size: 9px !important;
	font-weight: 700 !important;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: #888;
	margin: 0 0 8px 0 !important;
	line-height: 1.3 !important;
}


/* ─── Item (card clicável: ícone + label + verb + chevron) ─ */

.cp-help-item {
	padding: 10px 12px !important;
	font-size: 13px !important;
	color: #1A1A1A !important;
	display: flex;
	align-items: center;
	gap: 10px;
	border: 1px solid #e2e2e6;
	border-radius: 5px;
	cursor: pointer;
	text-decoration: none !important;
	background: #fff;
	transition: background .12s ease, border-color .12s ease;
	margin: 0 0 6px 0 !important;
	line-height: 1.35 !important;
	font-weight: 400 !important;
}
.cp-help-item:last-child { margin-bottom: 0 !important; }
.cp-help-item:visited { color: #1A1A1A !important; }
.cp-help-item:hover {
	background: #f4f4f6;
	border-color: #888;
	text-decoration: none !important;
}
.cp-help-item-icon {
	width: 16px !important;
	height: 16px !important;
	color: #666;
	flex-shrink: 0;
}
.cp-help-item-label {
	flex: 1;
	line-height: 1.35;
}
.cp-help-item-action {
	font-family: 'JetBrains Mono', 'Courier New', monospace;
	font-size: 10px !important;
	font-weight: 600 !important;
	color: #888;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}
.cp-help-item:hover .cp-help-item-action { color: #1A1A1A; }
.cp-help-item-chevron {
	width: 14px !important;
	height: 14px !important;
	color: #888;
	flex-shrink: 0;
	transition: transform .12s ease, color .12s ease;
}
.cp-help-item:hover .cp-help-item-chevron {
	color: #1A1A1A;
	transform: translateX(2px);
}


/* ─── Pill da IA (botão primário full-width) ──────────────── */

.cp-help-ia-pill {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px !important;
	background: #1A1A1A !important;
	color: #fff !important;
	border-radius: 5px;
	font-family: inherit !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	cursor: pointer;
	border: 1px solid #1A1A1A;
	transition: background .12s ease;
	text-align: left;
	margin: 0 !important;
	line-height: 1.35 !important;
}
.cp-help-ia-pill:hover { background: #000 !important; }
.cp-help-ia-pill-glyph {
	width: 24px;
	height: 24px;
	background: #F7D44A;
	color: #1A1A1A !important;
	border-radius: 3px;
	display: grid;
	place-items: center;
	font-family: 'JetBrains Mono', 'Courier New', monospace;
	font-size: 11px !important;
	font-weight: 700 !important;
	flex-shrink: 0;
	letter-spacing: -0.5px;
	line-height: 1 !important;
}
.cp-help-ia-pill-label {
	flex: 1;
	font-weight: 600 !important;
}
.cp-help-ia-pill-chevron {
	width: 16px !important;
	height: 16px !important;
	color: #F7D44A;
	flex-shrink: 0;
	transition: transform .12s ease;
}
.cp-help-ia-pill:hover .cp-help-ia-pill-chevron { transform: translateX(2px); }


/* ─── Painel de resposta da IA ────────────────────────────── */

.cp-help-response-host { padding: 0 14px 12px; }
.cp-help-response {
	background: #f4f4f6;
	border-radius: 5px;
	padding: 12px;
	margin-top: 8px;
	font-size: 13px;
	line-height: 1.5;
	color: #1A1A1A;
}
.cp-help-response-label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: 'JetBrains Mono', 'Courier New', monospace;
	font-size: 10px !important;
	font-weight: 700 !important;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: #888;
	margin-bottom: 8px;
}
.cp-help-response-spinner {
	width: 12px;
	height: 12px;
	border: 2px solid #ddd;
	border-top-color: #1A1A1A;
	border-radius: 50%;
	animation: cp-help-spin 0.8s linear infinite;
}
@keyframes cp-help-spin { to { transform: rotate(360deg); } }
.cp-help-response-text p { margin: 0 0 8px 0 !important; }
.cp-help-response-text p:last-child { margin-bottom: 0 !important; }
.cp-help-response-text a { color: #1A1A1A !important; text-decoration: underline !important; }
.cp-help-response-text strong { font-weight: 600 !important; }
.cp-help-md-list {
	margin: 0 0 8px 0 !important;
	padding-left: 20px !important;
	list-style: disc !important;
}
.cp-help-md-list li { margin-bottom: 4px !important; }
.cp-help-response-error {
	background: #fef2f2;
	color: #991b1b;
}
.cp-help-response-error .cp-help-response-text { color: #991b1b !important; }


/* ─── Footer (WhatsApp como card visível) ─────────────────── */

.cp-help-drawer-footer {
	padding: 12px 14px;
	border-top: 1px solid #e2e2e6;
	background: #f4f4f6;
	flex-shrink: 0;
}
.cp-help-wa-link {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 12px !important;
	background: #fff;
	border: 1px solid #e2e2e6;
	border-radius: 5px;
	color: #1A1A1A !important;
	text-decoration: none !important;
	font-size: 13px !important;
	font-weight: 400 !important;
	transition: border-color .12s ease;
	line-height: 1.35 !important;
}
.cp-help-wa-link:visited { color: #1A1A1A !important; }
.cp-help-wa-link:hover { border-color: #25D366; text-decoration: none !important; }
.cp-help-wa-icon {
	width: 16px !important;
	height: 16px !important;
	color: #25D366;
	flex-shrink: 0;
}
.cp-help-wa-link-body { flex: 1; line-height: 1.3; }
.cp-help-wa-link-label { display: block; font-weight: 600 !important; }
.cp-help-wa-link-sub { font-size: 11px; color: #666; }
.cp-help-wa-link-chevron {
	width: 14px !important;
	height: 14px !important;
	color: #888;
	flex-shrink: 0;
	transition: transform .12s ease, color .12s ease;
}
.cp-help-wa-link:hover .cp-help-wa-link-chevron {
	color: #1A1A1A;
	transform: translateX(2px);
}


/* ─── Mobile (≤768px): bottom sheet ───────────────────────── */

@media (max-width: 768px) {
	.cp-help-bubble {
		bottom: 16px;
		right: 16px;
	}
	.cp-help-bubble-btn {
		width: 48px;
		height: 48px;
	}
	.cp-help-drawer {
		bottom: 0;
		right: 0;
		left: 0;
		width: auto;
		max-height: 80vh;
		border-radius: 12px 12px 0 0;
		border-bottom: none;
		transform: translateY(100%);
		box-shadow: 0 -8px 28px rgba(0,0,0,.20);
	}
	.cp-help-drawer.is-open { transform: translateY(0); }
}
