/* Judclass Banners e WhatsApp */

/* ---------- Banner ---------- */
.jcb {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: #0f2147;
	font-family: Muli, Mulish, sans-serif;
}
.jcb *,
.jcb *::before {
	box-sizing: border-box;
}
.jcb .jcb-track {
	position: relative;
}
.jcb .jcb-slide {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity .7s ease, visibility 0s linear .7s;
}
.jcb .jcb-slide.is-active {
	position: relative;
	min-height: var(--jcb-h, 560px);
	opacity: 1;
	visibility: visible;
	transition: opacity .7s ease;
}
.jcb .jcb-slide::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: #0f2147;
	opacity: var(--jcb-ov, 0);
}
.jcb .jcb-bg img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
}
.jcb .jcb-inner {
	position: relative;
	z-index: 2;
	display: flex;
	width: 100%;
	max-width: 1216px;
	margin: 0 auto;
	padding: 48px 20px 64px;
}
.jcb .jcb-text {
	max-width: 588px;
	color: var(--jcb-fg, #fff);
}
.jcb .jcb-align-center .jcb-inner {
	justify-content: center;
	text-align: center;
}
.jcb .jcb-align-right .jcb-inner {
	justify-content: flex-end;
}
.jcb .jcb-title {
	margin: 0 0 16px;
	font-family: inherit;
	font-size: min(var(--jcb-ts, 56px), 5.5vw);
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: 0;
	text-transform: none;
	color: var(--jcb-fg, #fff);
}
.jcb .jcb-title strong {
	font-weight: 700;
	color: var(--jcb-hl, #bbaff9);
}
.jcb .jcb-sub {
	margin: 0 0 28px;
	font-size: var(--jcb-ss, 18px);
	font-weight: 400;
	line-height: 1.4;
	color: var(--jcb-fg, #fff);
}
.jcb .jcb-sub strong {
	font-weight: 700;
}
.jcb a.jcb-btn {
	display: inline-block;
	padding: 16px 24px 19px;
	border-radius: 4px 24px 24px 24px;
	background: var(--jcb-btn-bg, linear-gradient(-45deg, #805dfa 0%, #1f4589 100%));
	color: var(--jcb-btn-fg, #fff);
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	transition: transform .3s ease;
}
.jcb a.jcb-btn:hover,
.jcb a.jcb-btn:focus-visible {
	color: var(--jcb-btn-fg, #fff);
}

/* Movimento do botão (escolhido por slide no painel) */
.jcb a.jcb-fx-grow:hover,
.jcb a.jcb-fx-grow:focus-visible,
.jcb a.jcb-fx-shine:hover,
.jcb a.jcb-fx-shine:focus-visible {
	transform: scale(1.08);
}
.jcb a.jcb-fx-pulse {
	animation: jcb-pulse 1.8s ease-in-out infinite;
}
.jcb a.jcb-fx-float {
	animation: jcb-float 2.6s ease-in-out infinite;
}
.jcb a.jcb-fx-pulse:hover,
.jcb a.jcb-fx-float:hover {
	animation-play-state: paused;
}
.jcb a.jcb-fx-shine {
	position: relative;
	overflow: hidden;
}
.jcb a.jcb-fx-shine::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 40%;
	background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .45) 50%, rgba(255, 255, 255, 0) 100%);
	transform: translateX(-150%) skewX(-20deg);
	animation: jcb-shine 3.2s ease-in-out infinite;
	pointer-events: none;
}
@keyframes jcb-pulse {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.07); }
}
@keyframes jcb-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-6px); }
}
@keyframes jcb-shine {
	0%, 55% { transform: translateX(-150%) skewX(-20deg); }
	100% { transform: translateX(400%) skewX(-20deg); }
}
.jcb a.jcb-btn:focus-visible,
.jcb .jcb-arrow:focus-visible,
.jcb .jcb-dot:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
}

.jcb .jcb-arrow,
.jcb .jcb-arrow:hover,
.jcb .jcb-arrow:focus {
	position: absolute;
	bottom: 12px;
	z-index: 4;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(15, 33, 71, .55);
	color: #fff;
	cursor: pointer;
	transition: background .2s ease;
}
.jcb .jcb-arrow:hover {
	background: #805dfa;
}
/* As duas setas ficam juntas no canto de baixo à esquerda, longe do botão flutuante */
.jcb .jcb-prev {
	left: 16px;
}
.jcb .jcb-next {
	left: 68px;
}
.jcb .jcb-dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 18px;
	z-index: 3;
	display: flex;
	justify-content: center;
	gap: 4px;
}
/* Área de toque de 24px com a marca visual menor por dentro */
.jcb .jcb-dot,
.jcb .jcb-dot:hover,
.jcb .jcb-dot:focus {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 24px;
	height: 24px;
	padding: 0 4px;
	border: 0;
	border-radius: 12px;
	background: transparent;
	cursor: pointer;
}
.jcb .jcb-dot::before {
	content: "";
	width: 10px;
	height: 10px;
	border-radius: 5px;
	background: rgba(255, 255, 255, .55);
	transition: width .3s ease, background .3s ease;
}
.jcb .jcb-dot.is-active::before {
	width: 28px;
	background: #fff;
}

@media (max-width: 767px) {
	.jcb .jcb-slide.is-active {
		min-height: var(--jcb-hm, 480px);
	}
	.jcb .jcb-arrow {
		display: none;
	}
	.jcb .jcb-title {
		font-size: var(--jcb-tsm, 34px);
	}
	.jcb .jcb-sub {
		font-size: var(--jcb-ssm, 16px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.jcb .jcb-slide,
	.jcb .jcb-slide.is-active,
	.jcb a.jcb-btn {
		transition: none;
		animation: none;
	}
	.jcb a.jcb-fx-shine::after {
		animation: none;
	}
}

/* ---------- Botão flutuante de WhatsApp ---------- */
.jcb-wa {
	position: fixed;
	bottom: var(--jcb-wa-bottom, 24px);
	z-index: 9990;
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	font-family: Muli, Mulish, sans-serif;
}
.jcb-wa-right {
	right: var(--jcb-wa-side, 24px);
}
.jcb-wa-left {
	left: var(--jcb-wa-side, 24px);
	flex-direction: row-reverse;
}
.jcb-wa-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--jcb-wa-size, 64px);
	height: var(--jcb-wa-size, 64px);
	flex: none;
	border-radius: 50%;
	background: var(--jcb-wa-bg, #805dfa);
	color: var(--jcb-wa-fg, #fff);
	box-shadow: 0 6px 18px rgba(15, 33, 71, .35);
	overflow: hidden;
	transition: transform .25s ease, box-shadow .25s ease;
}
.jcb-wa:hover .jcb-wa-icon,
.jcb-wa:focus-visible .jcb-wa-icon {
	transform: scale(1.08);
	box-shadow: 0 10px 24px rgba(15, 33, 71, .45);
}
.jcb-wa:focus-visible {
	outline: none;
}
.jcb-wa:focus-visible .jcb-wa-icon {
	outline: 3px solid #0f2147;
	outline-offset: 3px;
}
.jcb-wa-icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.jcb-owl {
	width: 58%;
	height: 58%;
}
.jcb-wa-tip {
	padding: 8px 14px;
	border-radius: 18px;
	background: #0f2147;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
	opacity: 0;
	transform: translateX(8px);
	pointer-events: none;
	transition: opacity .2s ease, transform .2s ease;
}
.jcb-wa-left .jcb-wa-tip {
	transform: translateX(-8px);
}
.jcb-wa:hover .jcb-wa-tip,
.jcb-wa:focus-visible .jcb-wa-tip {
	opacity: 1;
	transform: none;
}

/* Imagem recortada (PNG transparente): inteira, sem círculo de fundo */
.jcb-wa-free .jcb-wa-icon,
.jcb-wa-free:hover .jcb-wa-icon,
.jcb-wa-free:focus-visible .jcb-wa-icon {
	width: var(--jcb-wa-w, 220px);
	height: auto;
	border-radius: 0;
	background: none;
	box-shadow: none;
	overflow: visible;
	filter: drop-shadow(0 4px 8px rgba(15, 33, 71, .3)) drop-shadow(0 0 10px var(--jcb-wa-bg, #805dfa));
}
.jcb-wa-free:hover .jcb-wa-icon,
.jcb-wa-free:focus-visible .jcb-wa-icon {
	filter: drop-shadow(0 4px 8px rgba(15, 33, 71, .3)) drop-shadow(0 0 20px var(--jcb-wa-bg, #805dfa));
}
.jcb-wa-free .jcb-wa-icon img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
}
.jcb-wa-free:focus-visible .jcb-wa-icon {
	outline-offset: 4px;
	border-radius: 12px;
}

/* Movimento do botão (escolhido no painel); para no hover */
.jcb-wa-fx-ring .jcb-wa-icon {
	animation: jcb-wa-ring 2s ease-out infinite;
}
.jcb-wa-fx-pulse .jcb-wa-icon {
	animation: jcb-wa-pulse 1.6s ease-in-out infinite;
}
.jcb-wa-fx-bounce .jcb-wa-icon {
	animation: jcb-wa-bounce 2.4s ease-in-out infinite;
}
.jcb-wa-fx-wiggle .jcb-wa-icon {
	animation: jcb-wa-wiggle 3s ease-in-out infinite;
}
/* Na imagem recortada, o brilho acompanha o contorno do desenho */
.jcb-wa-free.jcb-wa-fx-ring .jcb-wa-icon {
	animation: jcb-wa-glow 2s ease-in-out infinite;
}
@keyframes jcb-wa-glow {
	0%, 100% {
		transform: scale(1);
		filter: drop-shadow(0 4px 8px rgba(15, 33, 71, .3)) drop-shadow(0 0 3px var(--jcb-wa-bg, #805dfa));
	}
	50% {
		transform: scale(1.05);
		filter: drop-shadow(0 4px 8px rgba(15, 33, 71, .3)) drop-shadow(0 0 24px var(--jcb-wa-bg, #805dfa));
	}
}
.jcb-wa:hover .jcb-wa-icon,
.jcb-wa:focus-visible .jcb-wa-icon {
	animation: none;
}
@keyframes jcb-wa-ring {
	0% { box-shadow: 0 6px 18px rgba(15, 33, 71, .35), 0 0 0 0 var(--jcb-wa-bg, #805dfa); }
	70%, 100% { box-shadow: 0 6px 18px rgba(15, 33, 71, .35), 0 0 0 20px transparent; }
}
@keyframes jcb-wa-pulse {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.12); }
}
@keyframes jcb-wa-bounce {
	0%, 60%, 100% { transform: translateY(0); }
	70% { transform: translateY(-14px); }
	80% { transform: translateY(0); }
	88% { transform: translateY(-6px); }
	94% { transform: translateY(0); }
}
@keyframes jcb-wa-wiggle {
	0%, 70%, 100% { transform: rotate(0); }
	76% { transform: rotate(-14deg); }
	82% { transform: rotate(12deg); }
	88% { transform: rotate(-8deg); }
	94% { transform: rotate(5deg); }
}

/* Piscada: a pálpebra fecha o vazado do olho por um instante */
.jcb-lid {
	transform-box: fill-box;
	transform-origin: center;
	transform: scaleY(0);
}
.jcb-wa-blink .jcb-lid {
	animation: jcb-blink 5s infinite;
}
.jcb-wa-blink:hover .jcb-lid {
	animation-duration: 1.6s;
}
@keyframes jcb-blink {
	0%, 86% { transform: scaleY(0); }
	89% { transform: scaleY(1); }
	92% { transform: scaleY(0); }
	95% { transform: scaleY(1); }
	98%, 100% { transform: scaleY(0); }
}

@media (max-width: 767px) {
	.jcb-wa-tip,
	.jcb-wa-hide-mobile {
		display: none;
	}
	.jcb-wa-free .jcb-wa-icon,
	.jcb-wa-free:hover .jcb-wa-icon,
	.jcb-wa-free:focus-visible .jcb-wa-icon {
		width: var(--jcb-wa-wm, 170px);
	}
}
@media (prefers-reduced-motion: reduce) {
	.jcb-wa-blink .jcb-lid {
		animation: none;
	}
	.jcb-wa-icon,
	.jcb-wa-tip {
		transition: none;
	}
	.jcb-wa .jcb-wa-icon {
		animation: none;
	}
}
