/* ============================================================
   Noga Code — Formulário para Empresas
   CSS isolado sob .ngf-wrap para não conflitar com o tema.
   Desenvolvido por Noga Code — https://www.nogacode.com.br
   ============================================================ */

.ngf-wrap {
	--ngf-primary: #1e66f5;
	--ngf-secondary: #8b93a7;
	--ngf-bg: #f4f6fb;
	--ngf-panel: #ffffff;
	--ngf-text: #1c2333;
	--ngf-text-secondary: #5b6478;
	--ngf-border: #e2e6ef;
	--ngf-field: #ffffff;
	--ngf-button: #1e66f5;
	--ngf-button-text: #ffffff;

	box-sizing: border-box;
	font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
	font-size: 15px;
	line-height: 1.55;
	color: var(--ngf-text);
	background: transparent !important;
	padding: 32px 16px 20px;
	border-radius: 20px;
	max-width: 760px;
	margin: 0 auto;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	-webkit-tap-highlight-color: transparent;
}

/* Barras de rolagem ocultas em todas as áreas roláveis do plugin */
.ngf-modal-body,
.ngf-select-list,
.ngf-wa-msg,
.ngf-hub-opts,
.ngf-wrap {
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.ngf-modal-body::-webkit-scrollbar,
.ngf-select-list::-webkit-scrollbar,
.ngf-wa-msg::-webkit-scrollbar,
.ngf-hub-opts::-webkit-scrollbar,
.ngf-wrap::-webkit-scrollbar {
	width: 0;
	height: 0;
	display: none;
}

.ngf-wrap *,
.ngf-wrap *::before,
.ngf-wrap *::after {
	box-sizing: border-box;
}

/* ---------- Card principal ---------- */

.ngf-card {
	background: var(--ngf-panel);
	border: 1px solid var(--ngf-border);
	border-radius: 20px;
	padding: 40px 44px 32px;
	box-shadow: 0 32px 80px -24px rgba(18, 28, 60, 0.28), 0 10px 28px -12px rgba(18, 28, 60, 0.14), 0 2px 6px -2px rgba(18, 28, 60, 0.06);
}

/* ---------- Cabeçalho ---------- */

.ngf-header {
	text-align: center;
	margin-bottom: 34px;
}

.ngf-logo {
	max-height: 52px;
	width: auto;
	margin: 0 auto 20px;
	display: block;
}

.ngf-title {
	font-size: 26px;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--ngf-text);
	margin: 0 0 10px;
	line-height: 1.25;
}

.ngf-subtitle {
	font-size: 15px;
	color: var(--ngf-text-secondary);
	margin: 0 auto;
	max-width: 520px;
}

/* ---------- Seletor Pessoa Física / Jurídica ---------- */

.ngf-tipo {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-bottom: 30px;
}

.ngf-tipo-opt {
	position: relative;
	display: block;
}

.ngf-tipo-opt input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.ngf-tipo-card {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 18px;
	border: 1.5px solid var(--ngf-border);
	border-radius: 12px;
	background: var(--ngf-field);
	color: var(--ngf-text-secondary);
	font-size: 14.5px;
	font-weight: 600;
	cursor: pointer;
	transition: all .18s ease;
	user-select: none;
}

.ngf-tipo-card svg {
	width: 18px;
	height: 18px;
	flex: none;
}

.ngf-tipo-card:hover {
	border-color: var(--ngf-secondary);
}

.ngf-tipo-opt input:checked + .ngf-tipo-card {
	border-color: var(--ngf-primary);
	color: var(--ngf-primary);
	background: rgba(0, 0, 0, 0.05);
	background: color-mix(in srgb, var(--ngf-primary) 8%, var(--ngf-field));
	box-shadow: 0 6px 18px -8px rgba(18, 28, 60, 0.2);
	box-shadow: 0 6px 18px -8px color-mix(in srgb, var(--ngf-primary) 45%, transparent);
}

.ngf-tipo-opt input:focus-visible + .ngf-tipo-card {
	outline: 2px solid var(--ngf-primary);
	outline-offset: 2px;
}

.ngf-field.ngf-hidden {
	display: none;
}

/* ---------- Seções ---------- */

.ngf-section {
	margin-bottom: 30px;
	padding-bottom: 6px;
}

.ngf-sec-title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.09em;
	color: var(--ngf-primary);
	margin: 0 0 18px;
}

.ngf-sec-title::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--ngf-border);
}

/* ---------- Grid e campos ---------- */

.ngf-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px 20px;
}

.ngf-col-2 {
	grid-column: span 2;
}

.ngf-field {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.ngf-label {
	font-size: 13.5px;
	font-weight: 600;
	color: var(--ngf-text);
	margin-bottom: 7px;
}

.ngf-req {
	color: var(--ngf-primary);
	margin-left: 2px;
}

.ngf-field input[type="text"],
.ngf-field input[type="email"],
.ngf-field input[type="tel"],
.ngf-field input[type="url"],
.ngf-field select,
.ngf-field textarea {
	width: 100%;
	font: inherit;
	font-size: 14.5px;
	color: var(--ngf-text);
	background: var(--ngf-field);
	border: 1.5px solid var(--ngf-border);
	border-radius: 12px;
	padding: 12.5px 15px;
	outline: none;
	transition: border-color .18s ease, box-shadow .18s ease;
	appearance: none;
	-webkit-appearance: none;
}

.ngf-field select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' fill='none' stroke='%238b93a7' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 38px;
	cursor: pointer;
}

.ngf-field textarea {
	resize: vertical;
	min-height: 110px;
}

.ngf-field input::placeholder,
.ngf-field textarea::placeholder {
	color: var(--ngf-text-secondary);
	opacity: .7;
}

.ngf-field input:focus,
.ngf-field select:focus,
.ngf-field textarea:focus {
	border-color: var(--ngf-primary);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--ngf-primary) 15%, transparent);
}

@supports not (color: color-mix(in srgb, red, blue)) {
	.ngf-field input:focus,
	.ngf-field select:focus,
	.ngf-field textarea:focus {
		box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.10);
	}
}

/* ---------- Ícones nos inputs ---------- */

.ngf-input-ic {
	position: relative;
	display: block;
	flex: 1;
	min-width: 0;
}

.ngf-input-ic > svg {
	position: absolute;
	left: 13px;
	top: 50%;
	transform: translateY(-50%);
	width: 17px;
	height: 17px;
	color: var(--ngf-secondary);
	pointer-events: none;
	transition: color .18s ease;
}

.ngf-input-ic:focus-within > svg {
	color: var(--ngf-primary);
}

.ngf-field .ngf-input-ic > input,
.ngf-field .ngf-input-ic > textarea {
	padding-left: 42px;
}

.ngf-ic-area > svg {
	top: 14px;
	transform: none;
}

/* ---------- Telefone com DDI ---------- */

.ngf-phone {
	display: flex;
	gap: 8px;
	align-items: stretch;
}

.ngf-phone .ngf-input-ic input {
	width: 100%;
}

/* ---------- Select customizado ---------- */

.ngf-native-sel {
	position: absolute !important;
	opacity: 0;
	width: 1px;
	height: 1px;
	padding: 0;
	border: 0;
	pointer-events: none;
	overflow: hidden;
}

.ngf-select {
	position: relative;
	min-width: 0;
}

.ngf-select-btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	font: inherit;
	font-size: 14.5px;
	color: var(--ngf-text);
	background: var(--ngf-field);
	border: 1.5px solid var(--ngf-border);
	border-radius: 12px;
	padding: 12.5px 15px;
	cursor: pointer;
	text-align: left;
	transition: border-color .18s ease, box-shadow .18s ease;
	-webkit-tap-highlight-color: transparent;
}

.ngf-select-btn .ngf-select-txt {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ngf-select-btn.ngf-ph {
	color: var(--ngf-text-secondary);
	opacity: .8;
}

.ngf-chev {
	display: inline-flex;
	flex: none;
	color: var(--ngf-secondary);
	transition: transform .2s ease;
}

.ngf-select.open .ngf-chev {
	transform: rotate(180deg);
	color: var(--ngf-primary);
}

.ngf-select-btn:hover {
	border-color: var(--ngf-secondary);
}

.ngf-select.open .ngf-select-btn,
.ngf-select-btn:focus-visible {
	border-color: var(--ngf-primary);
	box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.10);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--ngf-primary) 15%, transparent);
	outline: none;
}

.ngf-select-list {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	z-index: 60;
	display: none;
	background: var(--ngf-panel);
	border: 1px solid var(--ngf-border);
	border-radius: 12px;
	box-shadow: 0 18px 44px -14px rgba(18, 28, 60, 0.32);
	padding: 6px;
	max-height: 264px;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

.ngf-select.open .ngf-select-list {
	display: block;
	animation: ngf-drop .18s cubic-bezier(.2, .8, .3, 1);
}

@keyframes ngf-drop {
	from { opacity: 0; transform: translateY(-8px) scale(.98); }
	to { opacity: 1; transform: none; }
}

.ngf-select-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 8px;
	font-size: 14px;
	color: var(--ngf-text);
	cursor: pointer;
	transition: background .12s ease, color .12s ease;
	user-select: none;
}

.ngf-select-item:hover,
.ngf-select-item:focus {
	background: rgba(0, 0, 0, 0.06);
	background: color-mix(in srgb, var(--ngf-primary) 9%, transparent);
	outline: none;
}

.ngf-select-item.sel {
	color: var(--ngf-primary);
	font-weight: 600;
}

.ngf-item-ck {
	color: var(--ngf-primary);
	display: inline-flex;
	flex: none;
}

.ngf-select.ngf-disabled {
	opacity: .5;
	pointer-events: none;
}

/* Variante compacta (DDI) */

.ngf-select-mini {
	flex: none;
}

.ngf-select-mini .ngf-select-btn {
	padding: 12.5px 12px;
	font-weight: 600;
	white-space: nowrap;
}

.ngf-select-mini .ngf-select-list {
	width: max-content;
	min-width: 220px;
	max-width: 280px;
	right: auto;
}

/* Erro também marca o botão do select */

.ngf-field.ngf-invalid .ngf-select-btn {
	border-color: #d92d20;
}

/* ---------- Radios e checkbox ---------- */

.ngf-radios {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.ngf-radio {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 16px;
	border: 1.5px solid var(--ngf-border);
	border-radius: 999px;
	cursor: pointer;
	font-size: 14px;
	color: var(--ngf-text-secondary);
	background: var(--ngf-field);
	transition: all .18s ease;
	user-select: none;
}

.ngf-radio input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.ngf-radio-ui {
	width: 14px;
	height: 14px;
	border: 2px solid var(--ngf-secondary);
	border-radius: 50%;
	display: inline-block;
	position: relative;
	flex: none;
	transition: border-color .18s ease;
}

.ngf-radio input:checked + .ngf-radio-ui {
	border-color: var(--ngf-primary);
}

.ngf-radio input:checked + .ngf-radio-ui::after {
	content: "";
	position: absolute;
	inset: 2px;
	border-radius: 50%;
	background: var(--ngf-primary);
}

.ngf-radio:has(input:checked) {
	border-color: var(--ngf-primary);
	color: var(--ngf-text);
	background: rgba(0, 0, 0, 0.05);
	background: color-mix(in srgb, var(--ngf-primary) 7%, var(--ngf-field));
}

.ngf-check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	cursor: pointer;
	font-size: 13.5px;
	color: var(--ngf-text-secondary);
	user-select: none;
}

.ngf-check input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.ngf-check-ui {
	width: 18px;
	height: 18px;
	flex: none;
	margin-top: 1px;
	border: 2px solid var(--ngf-secondary);
	border-radius: 5px;
	display: inline-block;
	position: relative;
	background: var(--ngf-field);
	transition: all .18s ease;
}

.ngf-check input:checked + .ngf-check-ui {
	background: var(--ngf-primary);
	border-color: var(--ngf-primary);
}

.ngf-check input:checked + .ngf-check-ui::after {
	content: "";
	position: absolute;
	left: 5px;
	top: 1.5px;
	width: 4px;
	height: 9px;
	border: solid var(--ngf-button-text);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.ngf-check input:focus-visible + .ngf-check-ui,
.ngf-radio input:focus-visible + .ngf-radio-ui {
	outline: 2px solid var(--ngf-primary);
	outline-offset: 2px;
}

.ngf-privacy-link {
	color: var(--ngf-primary);
	text-decoration: underline;
}

/* ---------- Erros ---------- */

.ngf-error {
	display: none;
	font-size: 12.5px;
	color: #d92d20;
	margin: 6px 0 0;
}

.ngf-field.ngf-invalid .ngf-error {
	display: block;
}

.ngf-field.ngf-invalid input,
.ngf-field.ngf-invalid select,
.ngf-field.ngf-invalid textarea {
	border-color: #d92d20;
}

/* ---------- Honeypot ---------- */

.ngf-hp {
	position: absolute;
	left: -9999px;
	top: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
}

/* ---------- Botão ---------- */

.ngf-actions {
	margin-top: 8px;
}

.ngf-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--ngf-button-text);
	background: var(--ngf-button);
	border: none;
	border-radius: 12px;
	padding: 15px 24px;
	cursor: pointer;
	transition: transform .15s ease, box-shadow .2s ease, opacity .2s ease;
	box-shadow: 0 8px 24px -8px rgba(18, 28, 60, 0.25);
	box-shadow: 0 8px 24px -8px color-mix(in srgb, var(--ngf-button) 60%, transparent);
}

.ngf-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 12px 28px -8px rgba(18, 28, 60, 0.28);
	box-shadow: 0 12px 28px -8px color-mix(in srgb, var(--ngf-button) 65%, transparent);
}

.ngf-btn:active {
	transform: translateY(0);
}

.ngf-btn[disabled] {
	opacity: .65;
	cursor: not-allowed;
	transform: none;
}

.ngf-spinner {
	display: none;
	width: 18px;
	height: 18px;
	border: 2.5px solid rgba(255, 255, 255, 0.35);
	border: 2.5px solid color-mix(in srgb, var(--ngf-button-text) 35%, transparent);
	border-top-color: var(--ngf-button-text);
	border-radius: 50%;
	animation: ngf-spin .7s linear infinite;
}

.ngf-btn.ngf-loading .ngf-spinner {
	display: inline-block;
}

@keyframes ngf-spin {
	to { transform: rotate(360deg); }
}

/* ---------- Status ---------- */

.ngf-status {
	display: none;
	margin-top: 16px;
	font-size: 14px;
	font-weight: 600;
	padding: 12px 16px;
	border-radius: 10px;
	text-align: center;
}

.ngf-status.ngf-ok {
	display: block;
	color: #067647;
	background: #ecfdf3;
	border: 1px solid #a6f4c5;
}

.ngf-status.ngf-err {
	display: block;
	color: #b42318;
	background: #fef3f2;
	border: 1px solid #fecdca;
}

/* ---------- Assinatura ---------- */

.ngf-signature {
	margin: 14px 0 0 !important;
	padding: 14px 0 0 !important;
	border-top: 1px solid var(--ngf-border) !important;
	border-right: none !important;
	border-bottom: none !important;
	border-left: none !important;
	text-align: center !important;
	font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif !important;
	font-size: 11px !important;
	font-weight: 400 !important;
	line-height: 20px !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	color: var(--ngf-text-secondary) !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 6px;
	opacity: .7;
	width: auto !important;
	height: auto !important;
	float: none !important;
}

.ngf-signature a {
	display: inline-flex !important;
	align-items: center;
	line-height: 0 !important;
	transition: opacity .15s ease;
	text-decoration: none !important;
	border: none !important;
	box-shadow: none !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.ngf-signature a:hover {
	opacity: .6;
}

.ngf-signature a .ngf-sign-logo,
img.ngf-sign-logo {
	height: 20px !important;
	max-height: 20px !important;
	width: auto !important;
	max-width: none !important;
	display: inline-block !important;
	vertical-align: middle;
	object-fit: contain;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	box-shadow: none !important;
}

/* ---------- Botão flutuante WhatsApp ---------- */

.ngf-fab {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 99990;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 14px;
	font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

.ngf-float {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px !important;
	height: 58px !important;
	min-width: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	font-family: inherit;
	color: #fff !important;
	background: var(--ngf-float, #25d366) !important;
	border: none !important;
	border-radius: 50% !important;
	padding: 0 !important;
	outline: none;
	-webkit-tap-highlight-color: transparent;
	user-select: none;
	cursor: pointer;
	box-shadow: 0 10px 26px -8px rgba(18, 140, 70, 0.55), 0 4px 12px -4px rgba(0, 0, 0, 0.22);
	transition: transform .18s ease, box-shadow .22s ease;
	animation: ngf-float-in .5s ease .3s backwards;
}

.ngf-float::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 2px solid var(--ngf-float, #25d366);
	opacity: 0;
	animation: ngf-ring 2.6s ease-out 1.2s infinite;
	pointer-events: none;
}

@keyframes ngf-ring {
	0% { transform: scale(1); opacity: .5; }
	60% { transform: scale(1.5); opacity: 0; }
	100% { transform: scale(1.5); opacity: 0; }
}

.ngf-float.open::after {
	animation: none;
	opacity: 0;
}

@keyframes ngf-float-in {
	from { opacity: 0; transform: translateY(16px) scale(.92); }
	to { opacity: 1; transform: none; }
}

.ngf-float:hover {
	transform: translateY(-2px) scale(1.03);
	box-shadow: 0 14px 36px -8px rgba(18, 140, 70, 0.6), 0 4px 12px -4px rgba(0, 0, 0, 0.3);
}

.ngf-float svg {
	width: 30px;
	height: 30px;
	flex: none;
}

.ngf-float-txt {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.ngf-float .ngf-ic-x {
	display: none;
}

.ngf-float.open .ngf-ic-wa {
	display: none;
}

.ngf-float.open .ngf-ic-x {
	display: block;
}

/* ---------- Painel de atendimento (hub) ---------- */

.ngf-hub {
	width: 320px;
	max-width: calc(100vw - 44px);
	background: var(--ngf-panel, #fff);
	border: 1px solid var(--ngf-border, #e3e5ea);
	border-radius: 18px;
	box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.35), 0 4px 16px -6px rgba(0, 0, 0, 0.12);
	overflow: hidden;
	transform-origin: bottom right;
	animation: ngf-hub-in .24s cubic-bezier(.2, .9, .3, 1.12);
	font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
	font-size: 14px;
	line-height: 1.45;
	color: var(--ngf-text, #16181d);
	text-align: left;
	text-transform: none;
	letter-spacing: normal;
}

.ngf-hub *,
.ngf-hub *::before,
.ngf-hub *::after {
	box-sizing: border-box;
}

.ngf-hub[hidden] {
	display: none;
}

@keyframes ngf-hub-in {
	from { opacity: 0; transform: translateY(14px) scale(.94); }
	to { opacity: 1; transform: none; }
}

.ngf-hub-head {
	display: flex !important;
	align-items: center;
	gap: 9px;
	padding: 15px 16px;
	background: linear-gradient(135deg, var(--ngf-float, #25d366), color-mix(in srgb, var(--ngf-float, #25d366) 82%, #000)) !important;
	color: #fff !important;
}

.ngf-hub-status {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #b8ffd0;
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
	flex: none;
	animation: ngf-pulse 2s ease infinite;
}

@keyframes ngf-pulse {
	0%, 100% { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25); }
	50% { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.12); }
}

.ngf-hub-title {
	flex: 1;
	display: block !important;
	font-size: 14.5px !important;
	font-weight: 700 !important;
	font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif !important;
	letter-spacing: -0.01em !important;
	text-transform: none !important;
	color: #fff !important;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.3 !important;
	position: static !important;
	text-align: left !important;
}

.ngf-hub-close {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 30px !important;
	height: 30px !important;
	min-width: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	border-radius: 50% !important;
	background: rgba(255, 255, 255, 0.18) !important;
	color: #fff !important;
	box-shadow: none !important;
	cursor: pointer;
	transition: background .15s ease;
	flex: none;
	outline: none;
}

.ngf-hub-close svg {
	width: 16px;
	height: 16px;
	display: block;
}

.ngf-hub-close:hover,
.ngf-hub-close:focus-visible {
	background: rgba(255, 255, 255, 0.32) !important;
}

.ngf-hub-opts {
	display: flex !important;
	flex-direction: column !important;
	gap: 10px;
	padding: 14px !important;
	margin: 0 !important;
}

.ngf-hub-opts > * + * {
	margin: 0 !important;
}

.ngf-hub-card {
	display: flex !important;
	align-items: center;
	gap: 12px;
	width: 100% !important;
	padding: 13px 14px !important;
	font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	line-height: 1.4 !important;
	color: var(--ngf-text, #16181d) !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	text-align: left !important;
	background: var(--ngf-field, #fff) !important;
	border: 1.5px solid var(--ngf-border, #e3e5ea) !important;
	border-radius: 13px;
	cursor: pointer;
	transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
	-webkit-tap-highlight-color: transparent;
	height: auto !important;
	min-height: 0 !important;
	position: relative !important;
	margin: 0 !important;
	box-shadow: none;
	box-sizing: border-box !important;
	user-select: none;
	outline: none;
}

.ngf-hub-card:hover,
.ngf-hub-card:focus-visible {
	border-color: var(--ngf-float, #25d366);
	box-shadow: 0 6px 20px -8px rgba(0, 0, 0, 0.22);
	transform: translateY(-1px);
	outline: none;
}

.ngf-hub-ic {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 11px;
	flex: none;
	color: var(--ngf-float, #25d366);
	background: color-mix(in srgb, var(--ngf-float, #25d366) 12%, #fff);
	margin: 0 !important;
	padding: 0 !important;
}

.ngf-hub-ic svg {
	width: 20px;
	height: 20px;
	display: block !important;
}

.ngf-hub-txt {
	flex: 1;
	display: flex !important;
	flex-direction: column !important;
	gap: 2px;
	min-width: 0;
	position: static !important;
	height: auto !important;
}

/* Blindagem contra CSS do tema (temas que forçam uppercase/posição em b, small, span) */
.ngf-hub-card .ngf-hub-txt .ngf-hub-t1,
.ngf-hub-card .ngf-hub-txt .ngf-hub-t2 {
	position: static !important;
	float: none !important;
	display: block !important;
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	text-align: left !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	font-style: normal !important;
	text-decoration: none !important;
	white-space: normal !important;
	line-height: 1.35 !important;
	transform: none !important;
}

.ngf-hub-card .ngf-hub-txt .ngf-hub-t1 {
	font-size: 14px !important;
	font-weight: 700 !important;
	font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif !important;
	color: var(--ngf-text, #16181d) !important;
}

.ngf-hub-card .ngf-hub-txt .ngf-hub-t2 {
	font-size: 12px !important;
	font-weight: 400 !important;
	font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif !important;
	color: var(--ngf-text-secondary, #5b6478) !important;
}

.ngf-hub-arrow {
	width: 18px;
	height: 18px;
	flex: none;
	color: var(--ngf-text-secondary, #5b6478);
	transition: transform .16s ease, color .16s ease;
	position: static !important;
	margin: 0 !important;
	display: block !important;
}

.ngf-hub-card:hover .ngf-hub-arrow {
	transform: translateX(3px);
	color: var(--ngf-float, #25d366);
}

@media (max-width: 480px) {
	.ngf-fab {
		right: 16px;
		bottom: 16px;
	}

	.ngf-hub {
		width: min(320px, calc(100vw - 32px));
	}
}

/* ---------- Modal ---------- */

.ngf-modal {
	position: fixed;
	inset: 0;
	z-index: 99995;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.ngf-modal[hidden] {
	display: none;
}

.ngf-modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(10, 16, 35, 0.62);
	backdrop-filter: blur(4px);
	animation: ngf-fade .25s ease;
}

.ngf-modal-panel {
	position: relative;
	width: 100%;
	max-width: 780px;
	max-height: calc(100vh - 48px);
	display: flex;
	flex-direction: column;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.5);
	animation: ngf-pop .28s cubic-bezier(.2, .9, .3, 1.15);
}

@keyframes ngf-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes ngf-pop {
	from { opacity: 0; transform: translateY(22px) scale(.96); }
	to { opacity: 1; transform: none; }
}

.ngf-modal-body {
	overflow-y: auto;
	overflow-x: hidden;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

.ngf-modal .ngf-wrap {
	max-width: 100%;
	border-radius: 20px;
}

.ngf-modal-close {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 5;
	width: 36px;
	height: 36px;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.9);
	color: #3d465c;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
	transition: background .15s ease, transform .15s ease;
}

.ngf-modal-close:hover {
	background: #fff;
	transform: scale(1.06);
}

body.ngf-lock {
	overflow: hidden;
}

/* ---------- Painel WhatsApp ---------- */

.ngf-form.ngf-done > *:not(.ngf-wa-panel) {
	display: none;
}

.ngf-wa-panel {
	margin-top: 10px;
}

.ngf-wa-note {
	font-size: 14.5px;
	font-weight: 600;
	color: var(--ngf-text);
	text-align: center;
	margin: 0 0 14px;
}

.ngf-wa-msg {
	font-family: inherit;
	font-size: 12.5px;
	line-height: 1.6;
	color: var(--ngf-text-secondary);
	background: var(--ngf-bg);
	border: 1px dashed var(--ngf-border);
	border-radius: 10px;
	padding: 14px 16px;
	margin: 0 0 18px;
	white-space: pre-wrap;
	word-break: break-word;
	max-height: 220px;
	overflow-y: auto;
}

.ngf-btn-wa {
	display: flex;
	width: 100%;
	text-decoration: none;
	background: linear-gradient(135deg, #25d366, #1eb856) !important;
}

.ngf-btn-wa:hover {
	opacity: .94;
}

.ngf-wa-back {
	display: block;
	margin: 12px auto 0;
	background: none;
	border: none;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	color: var(--ngf-text-secondary);
	cursor: pointer;
	padding: 6px 12px;
}

.ngf-wa-back:hover {
	color: var(--ngf-primary);
}

/* ---------- Responsivo ---------- */

@media (max-width: 640px) {
	.ngf-wrap {
		padding: 20px 10px 14px;
		border-radius: 14px;
	}
	.ngf-card {
		padding: 28px 20px 24px;
		border-radius: 16px;
	}
	.ngf-title {
		font-size: 21px;
	}
	.ngf-grid {
		grid-template-columns: 1fr;
	}
	.ngf-col-2 {
		grid-column: span 1;
	}
	.ngf-radios {
		flex-direction: column;
		align-items: stretch;
	}
	.ngf-radio {
		justify-content: flex-start;
	}
	.ngf-modal {
		padding: 0;
		align-items: stretch;
	}
	.ngf-modal-panel {
		max-width: 100%;
		max-height: 100vh;
		max-height: 100dvh;
		border-radius: 0;
	}
	.ngf-modal .ngf-wrap {
		border-radius: 0;
		min-height: 100vh;
		min-height: 100dvh;
	}
	.ngf-modal .ngf-card {
		border-radius: 0;
		border: none;
		box-shadow: none;
	}
	.ngf-float {
		width: 54px !important;
		height: 54px !important;
	}
}

/* ---------- Escudo contra CSS do tema ----------
 * Temas/construtores (Elementor, Astra, WooCommerce…) estilizam "button"
 * globalmente com !important. Reafirmamos aqui as propriedades críticas.
 */

.ngf-wrap button,
.ngf-modal button {
	text-transform: none !important;
	letter-spacing: normal !important;
	min-width: 0 !important;
	min-height: 0 !important;
	height: auto !important;
	float: none !important;
	text-shadow: none !important;
	box-sizing: border-box !important;
	-webkit-appearance: none !important;
	appearance: none !important;
}

.ngf-wrap .ngf-select-btn {
	display: flex !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 12.5px 15px !important;
	font-family: inherit !important;
	font-size: 14.5px !important;
	font-weight: 400 !important;
	line-height: 1.4 !important;
	text-align: left !important;
	color: var(--ngf-text) !important;
	background: var(--ngf-field) !important;
	border: 1.5px solid var(--ngf-border) !important;
	border-radius: 12px !important;
	box-shadow: none !important;
}

.ngf-wrap .ngf-select-btn.ngf-ph {
	color: var(--ngf-text-secondary) !important;
}

.ngf-wrap .ngf-select-btn:hover {
	border-color: var(--ngf-secondary) !important;
}

.ngf-wrap .ngf-select.open .ngf-select-btn,
.ngf-wrap .ngf-select-btn:focus-visible {
	border-color: var(--ngf-primary) !important;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--ngf-primary) 15%, transparent) !important;
}

.ngf-wrap .ngf-select-mini .ngf-select-btn {
	width: auto !important;
	padding: 12.5px 12px !important;
	font-weight: 600 !important;
}

.ngf-wrap .ngf-btn {
	display: inline-flex !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 15px 24px !important;
	font-family: inherit !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
	letter-spacing: 0.04em !important;
	color: var(--ngf-button-text) !important;
	background: var(--ngf-button) !important;
	border: none !important;
	border-radius: 12px !important;
}

.ngf-wrap .ngf-btn.ngf-btn-wa {
	display: flex !important;
	text-decoration: none !important;
	background: linear-gradient(135deg, #25d366, #1eb856) !important;
	color: #fff !important;
}

.ngf-wrap .ngf-wa-back {
	display: block !important;
	width: auto !important;
	margin: 12px auto 0 !important;
	padding: 6px 12px !important;
	font-family: inherit !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	line-height: 1.4 !important;
	color: var(--ngf-text-secondary) !important;
	background: none !important;
	border: none !important;
	box-shadow: none !important;
}

.ngf-wrap .ngf-wa-back:hover {
	color: var(--ngf-primary) !important;
}

.ngf-modal .ngf-modal-close {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 36px !important;
	height: 36px !important;
	margin: 0 !important;
	padding: 0 !important;
	font-family: Arial, sans-serif !important;
	font-size: 22px !important;
	line-height: 1 !important;
	color: #3d465c !important;
	background: rgba(255, 255, 255, 0.9) !important;
	border: none !important;
	border-radius: 50% !important;
}

.ngf-fab .ngf-float svg,
.ngf-wrap svg {
	max-width: none;
}
