/* ===== Botão flutuante ===== */
.wwf-fab-wrap {
	position: fixed;
	bottom: var(--wwf-offset-y, 20px);
	z-index: var(--wwf-zindex, 999999);
	display: flex;
	align-items: center;
	gap: 10px;
}
.wwf-fab-wrap {
	right: var(--wwf-offset-x, 20px);
}

.wwf-fab {
	width: var(--wwf-size, 60px);
	height: var(--wwf-size, 60px);
	border-radius: 50%;
	background: var(--wwf-btn-color, #25D366);
	color: var(--wwf-icon-color, #fff);
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 14px rgba(0,0,0,.25);
	transition: transform .2s ease, box-shadow .2s ease;
	padding: 0;
}
.wwf-fab:hover {
	transform: scale(1.06);
	box-shadow: 0 6px 20px rgba(0,0,0,.3);
}
.wwf-fab-icon,
.wwf-fab-icon-img {
	width: 55%;
	height: 55%;
	object-fit: contain;
}

.wwf-tooltip {
	background: #fff;
	color: #222;
	padding: 8px 14px;
	border-radius: 8px;
	font-size: 14px;
	box-shadow: 0 3px 10px rgba(0,0,0,.15);
	white-space: nowrap;
	animation: wwf-fade-in .4s ease;
}

@media (max-width: 600px) {
	.wwf-hide-mobile { display: none !important; }
	.wwf-tooltip { display: none; }
}
@media (min-width: 601px) {
	.wwf-hide-desktop { display: none !important; }
}

/* Posição esquerda via classe (fallback para navegadores/edge cases) */
.wwf-fab-wrap.wwf-pos-left {
	right: auto;
	left: var(--wwf-offset-x, 20px);
}

/* Posição centralizada */
.wwf-fab-wrap.wwf-pos-center {
	right: auto;
	left: 50%;
	transform: translateX(-50%);
	flex-direction: column;
}
.wwf-fab-wrap.wwf-pos-center .wwf-tooltip {
	order: -1;
}

/* Animações */
@keyframes wwf-pulse {
	0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); }
	70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
	100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
.wwf-anim-pulse { animation: wwf-pulse 2s infinite; }

@keyframes wwf-bounce {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-10px); }
}
.wwf-anim-bounce { animation: wwf-bounce 1.6s ease-in-out infinite; }

@keyframes wwf-shake {
	0%, 100% { transform: rotate(0); }
	10%, 30% { transform: rotate(-12deg); }
	20%, 40% { transform: rotate(12deg); }
	50% { transform: rotate(0); }
}
.wwf-anim-shake { animation: wwf-shake 3.2s ease-in-out infinite; }

@keyframes wwf-fade-in {
	from { opacity: 0; transform: translateY(4px); }
	to { opacity: 1; transform: translateY(0); }
}

/* ===== Botão padrão (inline / Elementor "Add Elements") ===== */
.wwf-inline-btn-wrap {
	width: 100%;
}
.wwf-inline-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: var(--wwf-inline-bg, #25D366);
	color: var(--wwf-inline-color, #fff);
	border: none;
	border-radius: var(--wwf-inline-radius, 50px);
	padding: var(--wwf-inline-padding, 14px 26px);
	font-size: var(--wwf-inline-font, 15px);
	font-weight: 700;
	font-family: inherit;
	cursor: pointer;
	line-height: 1.2;
	box-shadow: 0 3px 10px rgba(0,0,0,.15);
	transition: background-color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.wwf-inline-btn:hover {
	background: var(--wwf-inline-bg-hover, #1EBE5B);
	transform: translateY(-1px);
	box-shadow: 0 5px 14px rgba(0,0,0,.2);
}
.wwf-inline-btn:active {
	transform: translateY(0);
}
.wwf-inline-btn-icon {
	flex-shrink: 0;
}
.wwf-inline-btn-full {
	width: 100%;
}

/* ===== Modal / Popup ===== */
.wwf-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,.55);
	z-index: 1000000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.wwf-modal-overlay.wwf-open {
	display: flex;
	animation: wwf-fade-in .25s ease;
}
.wwf-modal {
	position: relative;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	padding: 28px 24px 24px;
	box-shadow: 0 20px 50px rgba(0,0,0,.35);
	animation: wwf-modal-in .3s ease;
}
@keyframes wwf-modal-in {
	from { opacity: 0; transform: translateY(20px) scale(.97); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}
.wwf-modal-close {
	position: absolute;
	top: 12px;
	right: 14px;
	background: none;
	border: none;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	color: inherit;
	opacity: .6;
}
.wwf-modal-close:hover { opacity: 1; }

.wwf-modal-header h3 {
	margin: 0 0 6px;
	font-size: 20px;
}
.wwf-modal-header p {
	margin: 0 0 18px;
	opacity: .75;
	font-size: 14px;
}

/* ===== Formulário ===== */
.wwf-form {
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.wwf-field-label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 6px;
}
.wwf-req { color: #e63946; }

.wwf-field input[type="text"],
.wwf-field input[type="tel"],
.wwf-field input[type="email"],
.wwf-field select,
.wwf-field textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 10px 12px;
	border: 1px solid #d4d4d8;
	border-radius: 8px;
	font-size: 14px;
	font-family: inherit;
	background: #fff;
	color: #222;
}
.wwf-field textarea { resize: vertical; }
.wwf-field input:focus,
.wwf-field select:focus,
.wwf-field textarea:focus {
	outline: none;
	border-color: currentColor;
}

.wwf-choice-group {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
}
.wwf-choice {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 400;
	cursor: pointer;
}
.wwf-single-checkbox {
	font-weight: 600;
	font-size: 13px;
}

.wwf-field input[type="file"] {
	width: 100%;
	box-sizing: border-box;
	padding: 8px 10px;
	border: 1px dashed #d4d4d8;
	border-radius: 8px;
	font-size: 13px;
	background: #fafafa;
	color: #222;
}
.wwf-field-hint {
	font-size: 11px;
	opacity: .65;
	margin: 4px 0 0;
}

.wwf-form-error {
	background: #fdecea;
	color: #b32d2e;
	padding: 8px 12px;
	border-radius: 6px;
	font-size: 13px;
}

.wwf-submit-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	border: none;
	color: #fff;
	padding: 13px 20px;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: filter .15s ease;
}
.wwf-submit-btn:hover { filter: brightness(0.95); }

/* Formulário inline (shortcode wwf_form) */
.wwf-inline-form-wrap {
	max-width: 480px;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 14px;
	padding: 24px;
}

.wwf-field-checkbox .wwf-field-label {
	display: inline;
}
