/* VSC LP Efeitos — inspirados no catálogo React Bits (Light & Beams, Blur/Staggered Text, Luminous Type,
   Depth/Chroma Card, Frame Border, Bending Marquee), refeitos em CSS/JS puro para o Elementor.
   Cada efeito é ligado por uma classe colocada em Avançado > Classes CSS. */

:root {
	--vsc-ouro: #E2C183;
	--vsc-ouro-2: #A48A59;
	--vsc-ouro-claro: #F3DCA8;
	--vsc-preto: #181514;
	--vsc-preto-2: #231E1C;
	--vsc-linha-escura: #3C332B;
	--vsc-verde: #1E8E5A;
}

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: var(--vsc-ouro); color: var(--vsc-preto); }

/* ---------- Barra de progresso de leitura ---------- */
.vsc-progresso {
	position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 9999; pointer-events: none;
	background: linear-gradient(90deg, var(--vsc-ouro-2), var(--vsc-ouro), var(--vsc-ouro-claro));
	transform-origin: 0 50%; transform: scaleX(var(--vsc-p, 0));
}

/* ---------- Cabeçalho que ganha vidro ao rolar ---------- */
.vsc-cabecalho { position: sticky; top: 0; z-index: 999; transition: background-color .35s ease, box-shadow .35s ease, backdrop-filter .35s ease; }
.vsc-cabecalho.vsc-rolou {
	background-color: rgba(24, 21, 20, .86) !important;
	backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
.vsc-logo-placa img { background: #fff; border-radius: 8px; padding: 4px 8px; }

/* ---------- Fundo com grade + feixes de luz (Light & Beams) ---------- */
.vsc-feixes { position: relative; overflow: hidden; isolation: isolate; }
.vsc-feixes::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .22;
	background-size: 36px 36px;
	background-image:
		linear-gradient(to right, rgba(60, 51, 43, .55) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(60, 51, 43, .55) 1px, transparent 1px);
	mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%);
}
.vsc-feixes::after {
	content: ""; position: absolute; inset: -40% -20%; z-index: -1; pointer-events: none;
	background:
		conic-gradient(from 200deg at 75% 0%, transparent 0deg, rgba(226, 193, 131, .16) 18deg, transparent 36deg,
			transparent 70deg, rgba(226, 193, 131, .10) 86deg, transparent 104deg);
	filter: blur(18px);
	animation: vsc-feixes 14s ease-in-out infinite alternate;
}
@keyframes vsc-feixes {
	0% { transform: rotate(-6deg) translateX(-3%); opacity: .7; }
	100% { transform: rotate(6deg) translateX(3%); opacity: 1; }
}

/* Brilho que segue o mouse dentro de uma seção escura */
.vsc-brilho-mouse { --mx: 70%; --my: 30%; }

.vsc-brilho-mouse { background-image: radial-gradient(600px circle at var(--mx) var(--my), rgba(226, 193, 131, .10), transparent 45%); }

/* ---------- Texto que surge palavra a palavra (Blur / Staggered Text) ---------- */
.vsc-surgir .vsc-palavra {
	display: inline-block; opacity: 0; filter: blur(10px); transform: translateY(.35em);
	transition: opacity .7s cubic-bezier(.16, 1, .3, 1), filter .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1);
	transition-delay: calc(var(--i, 0) * 45ms);
}
.vsc-surgir.vsc-visivel .vsc-palavra { opacity: 1; filter: blur(0); transform: none; }

/* ---------- Texto dourado com brilho passando (Luminous Type) ---------- */
.vsc-titulo-brilho .elementor-heading-title,
.vsc-dourado-brilho strong,
.vsc-dourado-brilho strong .vsc-palavra {
	background: linear-gradient(100deg, #C89F56 0%, #E2C183 30%, #FFF1CF 45%, #E2C183 60%, #C89F56 100%);
	background-size: 250% 100%;
	-webkit-background-clip: text; background-clip: text; color: transparent !important;
	animation: vsc-brilho 5s linear infinite;
}
@keyframes vsc-brilho { from { background-position: 120% 0; } to { background-position: -130% 0; } }

/* ---------- Cartões com luz que segue o mouse + inclinação (Depth / Chroma Card) ---------- */
.vsc-cartao {
	--mx: 50%; --my: 50%; --rx: 0deg; --ry: 0deg;
	position: relative; transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
	transition: transform .25s ease, box-shadow .3s ease, border-color .3s ease;
	will-change: transform;
}
.vsc-cartao::before {
	content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
	background: radial-gradient(420px circle at var(--mx) var(--my), rgba(226, 193, 131, .22), transparent 40%);
	transition: opacity .3s ease; z-index: 0;
}
.vsc-cartao:hover::before { opacity: 1; }
.vsc-cartao:hover { box-shadow: 0 18px 40px rgba(35, 30, 28, .14); border-color: var(--vsc-ouro) !important; }
.vsc-cartao > * { position: relative; z-index: 1; }

/* ---------- Moldura dourada girando em volta da foto (Frame Border) ---------- */
.vsc-moldura { position: relative; padding: 3px !important; border-radius: 16px; isolation: isolate; overflow: hidden; }
.vsc-moldura::before {
	content: ""; position: absolute; inset: -60%; z-index: -1;
	background: conic-gradient(from 0deg, transparent 0 55%, var(--vsc-ouro-2) 70%, var(--vsc-ouro-claro) 80%, var(--vsc-ouro) 88%, transparent 100%);
	animation: vsc-girar 6s linear infinite;
}
.vsc-moldura::after { content: ""; position: absolute; inset: 3px; z-index: -1; border-radius: 13px; background: #141110; }
.vsc-moldura img { border-radius: 13px; display: block; width: 100%; height: auto; object-fit: cover; }
@keyframes vsc-girar { to { transform: rotate(1turn); } }

/* Flutuar devagar */
.vsc-flutuar { animation: vsc-flutuar 7s ease-in-out infinite; }
@keyframes vsc-flutuar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Botão dourado com reflexo passando e efeito ímã ---------- */
.vsc-botao-ouro .elementor-button {
	position: relative; overflow: hidden;
	background: linear-gradient(135deg, #F3DCA8 0%, #E2C183 50%, #C89F56 100%) !important;
	box-shadow: 0 4px 20px rgba(226, 193, 131, .28);
	transition: box-shadow .25s cubic-bezier(.16, 1, .3, 1), transform .25s cubic-bezier(.16, 1, .3, 1);
}
.vsc-botao-ouro .elementor-button::after {
	content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
	transform: skewX(-20deg); animation: vsc-reflexo 3.8s ease-in-out infinite;
}
.vsc-botao-ouro .elementor-button:hover { box-shadow: 0 8px 30px rgba(226, 193, 131, .5); }
@keyframes vsc-reflexo { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.vsc-ima .elementor-button { transform: translate(var(--tx, 0), var(--ty, 0)); }

/* Anel pulsando (botão principal e botão flutuante) */
.vsc-pulso .elementor-button { position: relative; }
.vsc-pulso .elementor-button::before {
	content: ""; position: absolute; inset: -5px; border-radius: inherit; border: 2px solid rgba(226, 193, 131, .45);
	animation: vsc-pulso 2.4s ease-out infinite; pointer-events: none;
}
@keyframes vsc-pulso { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.12); opacity: 0; } }


/* Botões numa linha só no computador; no celular podem quebrar */
@media (min-width: 768px) { .elementor-widget-button .elementor-button { white-space: nowrap; } }

/* ---------- Faixa de temas correndo (Marquee) ---------- */
.vsc-faixa { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.vsc-faixa .elementor-icon-list-items {
	display: flex !important; flex-wrap: nowrap !important; width: max-content; gap: 0;
	animation: vsc-faixa 38s linear infinite;
}
.vsc-faixa:hover .elementor-icon-list-items { animation-play-state: paused; }
.vsc-faixa .elementor-icon-list-item { white-space: nowrap; margin: 0 !important; padding: 0 28px !important; }
@keyframes vsc-faixa { to { transform: translateX(-50%); } }

/* ---------- Passos com número grande e linha que se desenha ---------- */
.vsc-passos { position: relative; }
.vsc-passos::before {
	content: ""; position: absolute; left: 6%; right: 6%; top: 58px; height: 2px; z-index: 0;
	background: linear-gradient(90deg, var(--vsc-ouro-2), var(--vsc-ouro));
	transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.4s cubic-bezier(.16, 1, .3, 1);
}
.vsc-passos.vsc-visivel::before { transform: scaleX(1); }
@media (max-width: 1024px) { .vsc-passos::before { display: none; } }

/* ---------- Acordeão (dúvidas) ---------- */
.vsc-duvidas .elementor-tab-title { transition: background-color .25s ease, color .25s ease; }
.vsc-duvidas .elementor-tab-title.elementor-active { background: #2B2420; }
.vsc-duvidas .elementor-accordion-item { border-radius: 10px; overflow: hidden; margin-bottom: 12px; }

/* ---------- Botão flutuante de WhatsApp ---------- */
.vsc-flutuante { position: fixed !important; right: 20px; bottom: 20px; z-index: 9998; width: auto !important; }
@media (max-width: 767px) {
	.vsc-flutuante { right: 14px; bottom: 14px; }
	.vsc-flutuante .elementor-button { display: inline-flex !important; align-items: center; justify-content: center; width: 58px !important; height: 58px !important; min-width: 0; padding: 0 !important; border-radius: 50% !important; }
	.vsc-flutuante .elementor-button-text { display: none; }
	.vsc-flutuante .elementor-button-icon { margin: 0 !important; font-size: 26px; }
	.vsc-flutuante .elementor-button-content-wrapper { justify-content: center; }
}

/* ---------- Menos movimento para quem pediu no sistema ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.vsc-feixes::after, .vsc-titulo-brilho .elementor-heading-title, .vsc-dourado-brilho strong, .vsc-dourado-brilho strong .vsc-palavra,
	.vsc-moldura::before, .vsc-flutuar, .vsc-botao-ouro .elementor-button::after, .vsc-pulso .elementor-button::before,
	.vsc-faixa .elementor-icon-list-items { animation: none !important; }
	.vsc-surgir .vsc-palavra { opacity: 1; filter: none; transform: none; transition: none; }
	.vsc-cartao { transform: none !important; }
	.vsc-passos::before { transform: scaleX(1); transition: none; }
}
