/* CKE WhatsApp Lead Modal — estilos self-contained (Porto/Bootstrap) */

.cke-wpp-modal {
	position: fixed;
	inset: 0;
	z-index: 200000000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	box-sizing: border-box;
}

.cke-wpp-modal.is-open {
	display: flex;
}

.cke-wpp-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(20, 40, 35, 0.72);
	backdrop-filter: blur(2px);
}

.cke-wpp-modal__dialog {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 28rem;
	overflow: hidden;
	border-radius: 4px;
	border: 1px solid #e5e7eb;
	background: #fff;
	box-shadow: 0 28px 60px -20px rgba(0, 0, 0, 0.45);
}

.cke-wpp-modal__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.25rem 1.5rem;
	border-bottom: 1px solid #e5e7eb;
}

.cke-wpp-modal__header h5 {
	margin: 0;
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.35;
	color: #1a2e28;
}

.cke-wpp-modal__close {
	display: grid;
	place-items: center;
	width: 2.25rem;
	height: 2.25rem;
	flex-shrink: 0;
	border-radius: 9999px;
	border: 1px solid #e5e7eb;
	background: transparent;
	color: rgba(26, 46, 40, 0.7);
	cursor: pointer;
	padding: 0;
	line-height: 1;
	font-size: 1.35rem;
	transition: border-color 0.15s, color 0.15s;
}

.cke-wpp-modal__close:hover {
	border-color: #1a2e28;
	color: #1a2e28;
}

.cke-wpp-modal__body {
	padding: 1.5rem;
}

.cke-wpp-modal__field {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-bottom: 1.25rem;
}

.cke-wpp-modal__field label {
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	color: #1a2e28;
	margin: 0;
}

.cke-wpp-modal__field input {
	border-radius: 4px;
	border: 1px solid #e5e7eb;
	background: #f9fafb;
	padding: 0.625rem 0.75rem;
	font-size: 0.875rem;
	color: #1a2e28;
	outline: none;
	width: 100%;
	box-sizing: border-box;
	transition: border-color 0.15s;
}

.cke-wpp-modal__field input:focus {
	border-color: #c9a86a;
}

.cke-wpp-modal__hint {
	margin: 0;
	font-size: 0.75rem;
	line-height: 1.5;
	color: #6b7280;
}

.cke-wpp-modal__footer {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-items: stretch;
	padding: 1.25rem 1.5rem;
	border-top: 1px solid #e5e7eb;
}

@media (min-width: 576px) {
	.cke-wpp-modal__footer {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
}

.cke-wpp-modal__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: none;
	border-radius: 9999px;
	background: #c9a86a;
	color: #1a2e28;
	padding: 0.875rem 2rem;
	font-size: 0.875rem;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.15s;
}

.cke-wpp-modal__submit:hover {
	background: #d4b87a;
}

body.cke-wpp-modal-open {
	overflow: hidden;
}

.cke-obrigado {
	max-width: 40rem;
	margin: 3rem auto;
	padding: 2rem;
	text-align: center;
}

.cke-obrigado h2 {
	margin-bottom: 0.75rem;
}
