/*
 * Sitri Landing — efeitos visuais.
 * As classes abaixo são as mesmas classes globais do Elementor (painel Estilo > Classes).
 * Para ligar um efeito num elemento, basta adicionar a classe a ele no Elementor.
 */

html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { background: #080505; color: #f3e9de; -webkit-font-smoothing: antialiased; }
::selection { background: #a8101c; color: #fff; }

/* Grão de filme sobre a página inteira */
body::after {
	content: ""; position: fixed; inset: 0; z-index: 9998; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Barra de progresso da rolagem, no topo */
.sitri-progresso { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 9999; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, #a8101c, #ff2a3d, #f3d58a); box-shadow: 0 0 12px #ff2a3d; pointer-events: none; }

/* Brilho vermelho que segue o mouse (só no computador) */
.sitri-brilho { position: fixed; top: 0; left: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none; z-index: 1; background: radial-gradient(circle, rgba(255, 42, 61, .13) 0%, rgba(168, 16, 28, .06) 35%, transparent 70%); mix-blend-mode: screen; transition: opacity .4s; will-change: transform; }
@media (hover: none) { .sitri-brilho { display: none; } }

/* Texto com degradê dourado */
.texto-gradiente { background: linear-gradient(180deg, #fff3d0 0%, #f3d58a 30%, #d4a64a 60%, #8a5a1c 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 30px rgba(255, 42, 61, .35)); }

/* Zoom lento em fotos de fundo */
.zoom-lento { animation: sitri-zoom 22s ease-in-out infinite alternate; }
@keyframes sitri-zoom { from { transform: scale(1.02); } to { transform: scale(1.14); } }

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

/* Brasa pulsando atrás de um elemento */
.pulso-brasa { animation: sitri-pulso 4s ease-in-out infinite; }
@keyframes sitri-pulso { 0%, 100% { opacity: .55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }

/* Faixa de palavras que corre sozinha */
.faixa-rolante { display: flex !important; flex-wrap: nowrap !important; width: max-content !important; animation: sitri-faixa 38s linear infinite; }
.faixa-rolante > * { flex: 0 0 auto; white-space: nowrap; }
@keyframes sitri-faixa { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Selo girando */
.girar { animation: sitri-girar 40s linear infinite; }
@keyframes sitri-girar { to { transform: rotate(360deg); } }

/* Questionário: só aparece uma pergunta por vez no site (no editor aparecem todas) */
.quiz-ligado .quiz-pergunta { display: none !important; }
.quiz-ligado .quiz-pergunta.quiz-atual { display: flex !important; animation: sitri-entrar .6s cubic-bezier(.2, .7, .2, 1); }
.quiz-ligado .quiz-resultado-apto,
.quiz-ligado .quiz-resultado-espera { display: none !important; }
.quiz-ligado .quiz-resultado-apto.quiz-atual,
.quiz-ligado .quiz-resultado-espera.quiz-atual { display: flex !important; animation: sitri-entrar .8s cubic-bezier(.2, .7, .2, 1); }
.quiz-barra-preenchida { transition: width .6s cubic-bezier(.2, .7, .2, 1); }
.quiz-sim, .quiz-nao { cursor: pointer; }
@keyframes sitri-entrar { from { opacity: 0; transform: translateY(24px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* Botão do WhatsApp fixo: pulso suave */
.whatsapp-fixo { animation: sitri-whats 2.8s ease-in-out infinite; }
@keyframes sitri-whats { 0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .45); } 50% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } }

/* Acordeão das perguntas frequentes */
.pergunta-frequente summary { list-style: none; }
.pergunta-frequente summary::-webkit-details-marker { display: none; }

/* Quem prefere menos movimento */
@media (prefers-reduced-motion: reduce) {
	.zoom-lento, .flutuar, .pulso-brasa, .faixa-rolante, .girar, .whatsapp-fixo { animation: none !important; }
	.sitri-brilho { display: none; }
	html { scroll-behavior: auto; }
}

/* Números vazados (só o contorno dourado) */
.numero-contorno { color: transparent !important; -webkit-text-stroke: 1px #d4a64a; }

/* Popup do questionário (no editor do Elementor ele aparece aberto, no fim da página, para editar) */
body:not(.elementor-editor-active) .quiz-popup {
	position: fixed !important; top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
	width: 100% !important; height: 100% !important; max-width: none !important; margin: 0 !important;
	z-index: 100000 !important; display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: flex-start !important;
	overflow-y: auto !important; padding: 5vh 1rem !important;
	background: rgba(5, 2, 3, .86) !important; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
	opacity: 0; visibility: hidden; transition: opacity .45s, visibility 0s .45s;
}
body:not(.elementor-editor-active) .quiz-popup.popup-aberto { opacity: 1; visibility: visible; transition: opacity .45s; }
body:not(.elementor-editor-active) .quiz-popup > * { margin: auto 0 !important; transform: translateY(30px) scale(.97); transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
body:not(.elementor-editor-active) .quiz-popup.popup-aberto > * { transform: none; }
html.popup-travado, html.popup-travado body { overflow: hidden !important; }
.quiz-fechar { cursor: pointer; }

/* Grade fina de fundo (estilo 2026) */
.grade-fundo {
	background-image: linear-gradient(rgba(212, 166, 74, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(212, 166, 74, .05) 1px, transparent 1px);
	background-size: 64px 64px;
	-webkit-mask-image: radial-gradient(circle at 30% 45%, #000 0%, transparent 75%); mask-image: radial-gradient(circle at 30% 45%, #000 0%, transparent 75%);
}

/* Texto em pé, na lateral */
.texto-vertical { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; }

/* Ponto pulsando */
.ponto-vivo { animation: sitri-ponto 1.6s ease-in-out infinite; }
@keyframes sitri-ponto { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 42, 61, .7); } 50% { box-shadow: 0 0 0 7px rgba(255, 42, 61, 0); } }

/* Links do menu */
.menu-link { position: relative; }
.menu-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: #d4a64a; transform: scaleX(0); transition: transform .35s; }
.menu-link:hover::after { transform: scaleX(1); }

/* =========================================================
   Movimento (sitri-movimento.js). Só vale com a classe "mov",
   que o script coloca no site; o editor do Elementor não é afetado.
   ========================================================= */
:root { --suave: cubic-bezier(.16, 1, .3, 1); }

/* Abertura */
.sitri-intro { position: fixed; inset: 0; z-index: 200000; background: #050303; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem; transition: clip-path 1.2s cubic-bezier(.77, 0, .18, 1); clip-path: inset(0 0 0 0); }
.sitri-intro.saiu { clip-path: inset(0 0 100% 0); }
.sitri-intro-marca { display: flex; flex-direction: column; align-items: center; color: #f3e9de; animation: sitri-intro-entra 1.1s var(--suave) both; }
.sitri-intro-marca span { font-family: "Space Grotesk", sans-serif; font-size: .75rem; letter-spacing: .5em; text-transform: uppercase; color: #d4a64a; }
.sitri-intro-marca strong { font-family: "Bodoni Moda", serif; font-style: italic; font-weight: 500; font-size: clamp(4rem, 12vw, 9rem); line-height: 1; background: linear-gradient(180deg, #fff3d0, #d4a64a 60%, #8a5a1c); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 40px rgba(255, 42, 61, .45)); }
.sitri-intro-linha { width: min(18rem, 60vw); height: 1px; background: rgba(212, 166, 74, .2); overflow: hidden; }
.sitri-intro-linha i { display: block; height: 100%; background: linear-gradient(90deg, #a8101c, #ff2a3d, #f3d58a); animation: sitri-intro-linha 1.4s var(--suave) both; }
@keyframes sitri-intro-entra { from { opacity: 0; filter: blur(14px); transform: scale(1.08); } to { opacity: 1; filter: none; transform: none; } }
@keyframes sitri-intro-linha { from { width: 0; } to { width: 100%; } }

/* Títulos palavra por palavra */
html.mov .palavra { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .04em .12em; margin: 0 -.04em -.12em; }
html.mov .palavra-in { display: inline-block; transform: translateY(115%) rotate(5deg); transform-origin: 0 100%; opacity: 0; transition: transform 1.2s var(--suave), opacity 1.2s var(--suave); }
html.mov .dividido.visto .palavra-in { transform: none; opacity: 1; }

/* Textos, botões e cartões surgem com desfoque */
html.mov .revelar { opacity: 0; translate: 0 34px; filter: blur(12px); transition: opacity 1.1s var(--suave), translate 1.3s var(--suave), filter 1.1s var(--suave), transform .45s, box-shadow .45s, border-color .45s, background .35s, color .35s; }
html.mov .revelar.visto { opacity: 1; translate: 0 0; filter: none; }

/* Fotos se revelam de baixo para cima */
html.mov .revelar-foto { clip-path: inset(100% 0 0 0); scale: 1.3; transition: clip-path 1.6s cubic-bezier(.77, 0, .18, 1), scale 2.4s var(--suave); }
html.mov .revelar-foto.visto { clip-path: inset(0 0 0 0); scale: 1; }

/* Cartões e fotos com luz que segue o mouse */
.com-luz { transition: transform .5s var(--suave), border-color .45s, box-shadow .45s !important; transform-style: preserve-3d; will-change: transform; }
.com-luz::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3; opacity: 0; transition: opacity .4s; background: radial-gradient(circle at var(--luz-x, 50%) var(--luz-y, 50%), rgba(255, 220, 160, .16) 0%, rgba(255, 42, 61, .08) 25%, transparent 55%); }
.com-luz:hover::after { opacity: 1; }

/* Brilho que passa pelo botão dourado */
.botao-ouro { position: relative; overflow: hidden; transition: transform .35s, box-shadow .35s, translate .4s var(--suave) !important; }
.botao-ouro::before { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; transform: skewX(-20deg); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent); animation: sitri-reflexo 4.5s ease-in-out infinite; pointer-events: none; }
@keyframes sitri-reflexo { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.botao-contorno { transition: background .35s, border-color .35s, color .35s, translate .4s var(--suave) !important; }

/* Cursor */
html.cursor-sitri, html.cursor-sitri a, html.cursor-sitri button { cursor: none !important; }
.cursor-ponto, .cursor-anel { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 300000; border-radius: 50%; transition: opacity .3s; }
.cursor-ponto { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #ff2a3d; box-shadow: 0 0 12px #ff2a3d; }
.cursor-anel { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(212, 166, 74, .7); transition: width .35s var(--suave), height .35s var(--suave), margin .35s var(--suave), background .35s, border-color .35s, opacity .3s; }
.cursor-anel.sobre-link { width: 74px; height: 74px; margin: -37px 0 0 -37px; background: rgba(255, 42, 61, .12); border-color: rgba(255, 42, 61, .7); }

/* Palavra em destaque no título do banner: escreva a palavra em itálico no Elementor */
.titulo-hero em { font-family: "Bodoni Moda", serif; font-style: italic; font-weight: 500; letter-spacing: -.02em; padding-right: .06em; background: linear-gradient(180deg, #fff1c9 0%, #e9c06a 45%, #a8741f 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 28px rgba(255, 42, 61, .4)); }
.titulo-hero em .palavra-in { background: linear-gradient(180deg, #fff1c9 0%, #e9c06a 45%, #a8741f 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
