/* ===== Site do AgendON — camada de animações (2026-11-04, pedido do Felippe: "faz como do agendon, deixa show",
   no nível do site novo da AvoraStack/UNEXA). Vale pra /, /barbearia e /beleza. Por cima do css/site.css, sem mudar
   textos nem preços: abertura com o símbolo, título subindo, celulares em leque no topo, faixa que corre,
   "Um dia com o AgendON" que acompanha a rolagem, cartões que inclinam, planos e chamada final com brilho.
   Comportamento em js/site-fx.js. Respeita "reduzir movimento". ===== */
:root { --fx-ease: cubic-bezier(.16, 1, .3, 1); }

/* abertura */
.fx-intro { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: #fff; clip-path: inset(0 0 0 0); transition: clip-path .9s var(--fx-ease), visibility 0s .9s; }
.rose .fx-intro { background: #fbf5f4; }
html:not(.js) .fx-intro, .fx-sem-intro .fx-intro { display: none; }
.fx-saiu .fx-intro { clip-path: inset(0 0 100% 0); visibility: hidden; }
.fx-intro__marca { display: flex; align-items: center; gap: 0; }
.fx-intro__simbolo { width: 74px; height: auto; overflow: visible; }
.fx-intro__fora { transform-box: fill-box; transform-origin: 50% 100%; transform: scale(.4) translateY(30px); opacity: 0; animation: fx-pula .8s .1s var(--fx-ease) forwards; }
.fx-intro__seta { transform-box: fill-box; transform-origin: 50% 100%; transform: translateY(60px); opacity: 0; animation: fx-sobe .7s .55s var(--fx-ease) forwards; }
@keyframes fx-pula { to { transform: none; opacity: 1; } }
@keyframes fx-sobe { 60% { transform: translateY(-8px); opacity: 1; } to { transform: none; opacity: 1; } }
.fx-intro__nome { height: 46px; width: auto; margin-left: -48px; clip-path: inset(0 100% 0 25.5%); animation: fx-nome .8s 1s var(--fx-ease) forwards; }
@keyframes fx-nome { to { clip-path: inset(0 0 0 25.5%); } }
/* o arquivo do logo já tem o símbolo nos primeiros ~25%: ele fica cortado e o nome sai de trás do símbolo animado */

/* barra de progresso */
.fx-progresso { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.fx-progresso i { display: block; height: 100%; background: linear-gradient(90deg, var(--st-cor), var(--st-cor-2)); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* topo: fundo vivo, título subindo, celulares em leque */
.st-hero { isolation: isolate; }
.fx-bolhas { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.fx-bolhas i { position: absolute; border-radius: 50%; opacity: .55; }
.fx-bolhas i:nth-child(1) { width: 620px; height: 620px; right: -160px; top: -200px; background: radial-gradient(closest-side, color-mix(in srgb, var(--st-cor) 22%, transparent), transparent); animation: fx-bolha 16s ease-in-out infinite alternate; }
.fx-bolhas i:nth-child(2) { width: 520px; height: 520px; left: -220px; bottom: -220px; background: radial-gradient(closest-side, color-mix(in srgb, var(--st-azul) 14%, transparent), transparent); animation: fx-bolha 20s ease-in-out infinite alternate-reverse; }
.fx-bolhas i:nth-child(3) { width: 340px; height: 340px; left: 40%; top: 10%; background: radial-gradient(closest-side, color-mix(in srgb, var(--st-cor-2) 16%, transparent), transparent); animation: fx-bolha 13s ease-in-out infinite alternate; }
@keyframes fx-bolha { to { transform: translate(-80px, 60px) scale(1.15); } }
.fx-linha { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.fx-linha > span { display: block; transform: translateY(110%); transition: transform 1.1s var(--fx-ease); }
.fx-linha + .fx-linha > span { transition-delay: .12s; }
.fx-pronto .fx-linha > span { transform: none; }
.st-hero h1 .destaque svg path { stroke-dasharray: 210; stroke-dashoffset: 210; transition: stroke-dashoffset 1s .9s var(--fx-ease); }
.fx-pronto .st-hero h1 .destaque svg path { stroke-dashoffset: 0; }
.js .st-hero .st-etiqueta, .js .st-lead, .js .st-hero .st-acoes, .js .st-garantias, .js .st-ramos { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--fx-ease), transform .9s var(--fx-ease); }
.fx-pronto .st-hero .st-etiqueta, .fx-pronto .st-lead, .fx-pronto .st-hero .st-acoes, .fx-pronto .st-garantias, .fx-pronto .st-ramos { opacity: 1; transform: none; }
.fx-pronto .st-lead { transition-delay: .25s; } .fx-pronto .st-hero .st-acoes { transition-delay: .37s; } .fx-pronto .st-garantias { transition-delay: .49s; } .fx-pronto .st-ramos { transition-delay: .6s; }
.st-hero__cel { perspective: 1200px; }
.st-hero__cel > .st-cel:not(.fx-tras) { z-index: 1; transition: transform .6s var(--fx-ease); }
.js .st-hero__cel > .st-cel:not(.fx-tras) { opacity: 0; transform: translateY(70px) scale(.94); transition: opacity 1s .2s var(--fx-ease), transform 1.2s .2s var(--fx-ease); }
.fx-pronto .st-hero__cel > .st-cel:not(.fx-tras) { opacity: 1; transform: none; }
.fx-pronto .st-hero__cel > .st-cel.fx-mexe { transition: transform .5s ease-out; }
.st-hero__cel .st-cel { animation: fx-boia 7s ease-in-out infinite; }
@keyframes fx-boia { 50% { translate: 0 -12px; } }
.fx-tras { position: absolute; width: 210px !important; opacity: 0; transform: none; transition: transform 1.3s .5s var(--fx-ease), opacity 1s .5s; }
.fx-tras .st-cel__tela { filter: saturate(.9); }
.fx-pronto .fx-tras--e { opacity: .95; transform: translateX(-62%) rotate(-10deg) translateY(28px); }
.fx-pronto .fx-tras--d { opacity: .95; transform: translateX(62%) rotate(10deg) translateY(28px); }
.fx-tras--d { animation-delay: -3s !important; } .fx-tras--e { animation-delay: -5s !important; }
.js .st-aviso { transition: opacity .6s, transform .7s var(--fx-ease); }
.js body:not(.fx-pronto) .st-aviso { opacity: 0 !important; }
.fx-pronto .st-aviso--1 { transition-delay: 1s; } .fx-pronto .st-aviso--2 { transition-delay: 1.4s; } .fx-pronto .st-aviso--3 { transition-delay: 1.8s; }
.st-aviso { animation: fx-boia 6s -2s ease-in-out infinite; }
@media (max-width: 900px) {
  .st-hero__cel { padding: 20px 0 30px; }
  .fx-tras { width: 150px !important; }
  .fx-pronto .fx-tras--e { transform: translateX(-58%) rotate(-9deg) translateY(20px); }
  .fx-pronto .fx-tras--d { transform: translateX(58%) rotate(9deg) translateY(20px); }
}

/* entrada ao rolar mais caprichada */
.js .revela { transform: translateY(40px); transition: opacity .9s var(--fx-ease), transform 1s var(--fx-ease); }
.st-cartao.revela:nth-child(2) { transition-delay: .08s; } .st-cartao.revela:nth-child(3) { transition-delay: .16s; } .st-cartao.revela:nth-child(4) { transition-delay: .24s; }
.st-plano.revela:nth-child(2) { transition-delay: .1s; } .st-plano.revela:nth-child(3) { transition-delay: .2s; }
.js .st-mais li { opacity: 0; transform: translateY(10px) scale(.9); transition: opacity .5s, transform .6s var(--fx-ease), border-color .2s, color .2s; }
.st-mais.visto li { opacity: 1; transform: none; }
.st-mais li:hover { border-color: var(--st-cor); color: var(--st-texto); }

/* cartões que inclinam com luz que segue o mouse */
.st-cartao { position: relative; overflow: hidden; transform-style: preserve-3d; isolation: isolate; }
.st-cartao::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(260px circle at var(--lx, -300px) var(--ly, -300px), color-mix(in srgb, var(--st-cor) 12%, transparent), transparent 70%); }
.st-cartao i { transition: transform .5s var(--fx-ease); }
.st-cartao:hover i { transform: scale(1.12) rotate(-6deg); }

/* um dia com o AgendON: acompanha a rolagem */
.fx-dia { position: relative; height: 420vh; background: var(--st-fundo-2); }
.fx-dia__fixo { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.fx-dia__grade { display: grid; grid-template-columns: 1fr auto; gap: clamp(32px, 6vw, 96px); align-items: center; max-width: 1000px; }
.fx-dia h2 { font-size: clamp(30px, 4.2vw, 46px); margin-bottom: 30px; }
.fx-passos { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.fx-passos li { display: grid; grid-template-columns: 62px 1fr; gap: 14px; padding: 12px 16px; border-radius: 16px; opacity: .4; transition: opacity .45s, background .45s, transform .6s var(--fx-ease), box-shadow .45s; }
.fx-passos li.feito { opacity: .65; }
.fx-passos li.ativo { opacity: 1; background: #fff; box-shadow: 0 14px 34px -20px rgba(11, 31, 68, .35); transform: translateX(8px); }
.fx-passos time { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--st-cor); padding-top: 1px; }
.fx-passos b { font-size: 17px; }
.fx-passos p { color: var(--st-suave); font-size: 14.5px; display: none; }
.fx-passos li.ativo p { display: block; }
.fx-dia__barra { margin-top: 20px; height: 3px; border-radius: 3px; background: var(--st-linha); overflow: hidden; }
.fx-dia__barra i { display: block; height: 100%; background: var(--st-cor); transform-origin: left; transform: scaleX(var(--p, 0)); }
.fx-dia__cel { width: 290px; }
.fx-bloqueio { background: linear-gradient(170deg, var(--st-azul-2), var(--st-azul) 55%, #050d1f) !important; color: #fff; padding: 46px 12px 12px; }
.rose .fx-bloqueio { background: linear-gradient(170deg, #8a5a66, #3d2a2e 60%, #24181b) !important; }
.fx-relogio { text-align: center; margin-bottom: 18px; }
.fx-relogio small { display: block; font-size: 13px; opacity: .75; font-weight: 500; }
.fx-relogio b { display: block; font-size: 58px; font-weight: 600; letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.fx-notifs { display: flex; flex-direction: column-reverse; gap: 8px; }
.fx-n { display: flex; gap: 10px; align-items: flex-start; padding: 10px 11px; border-radius: 16px; background: rgba(255, 255, 255, .9); color: #0b1f44; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .5); opacity: 0; transform: translateY(-14px) scale(.94); max-height: 0; padding-block: 0; overflow: hidden; transition: opacity .45s, transform .55s var(--fx-ease), max-height .55s var(--fx-ease), padding .55s var(--fx-ease); }
.fx-n.on { opacity: 1; transform: none; max-height: 90px; padding-block: 10px; }
.fx-n.velha { opacity: .72; }
.fx-n__ic { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: #e11d2e; color: #fff; font-style: normal; font-weight: 800; font-size: 14px; }
.fx-n__ic img { width: 20px; height: auto; }
.fx-n__ic svg { width: 18px; height: 18px; }
.fx-n__ic--wa { background: #25d366; } .fx-n__ic--ok { background: #16a34a; } .fx-n__ic--pix { background: #32bcad; } .fx-n__ic--caixa { background: #0b1f44; }
.fx-n b { display: block; font-size: 12.5px; line-height: 1.25; }
.fx-n span { display: block; font-size: 12px; line-height: 1.3; }
.fx-n small { display: block; font-size: 11px; color: #64748b; line-height: 1.3; }
@media (max-width: 860px) {
  .fx-dia { height: 380vh; }
  .fx-dia__fixo { align-items: flex-start; padding-top: 86px; }
  .fx-dia__grade { display: flex; flex-direction: column; gap: 14px; height: calc(100svh - 100px); }
  .fx-dia__txt { order: 2; width: 100%; text-align: left; }
  .fx-dia__txt .st-etiqueta { display: none; }
  .fx-dia h2 { font-size: 24px; margin-bottom: 10px; }
  .fx-dia__vis { order: 1; flex: 1; min-height: 0; display: grid; place-items: center; width: 100%; }
  .fx-dia__cel { width: auto; height: 100%; max-height: 430px; aspect-ratio: 578 / 1230; }
  .fx-dia__cel .st-cel__tela { height: 100%; }
  .fx-passos li { display: none; transform: none !important; }
  .fx-passos li.ativo { display: grid; }
  .fx-relogio b { font-size: 44px; }
  .fx-bloqueio { padding-top: 34px; }
}
@media (max-height: 700px) and (max-width: 860px) { .fx-dia__cel { max-height: 330px; } .fx-relogio b { font-size: 36px; } }

/* com a sua cara: o celular gira ao trocar de estilo */
.st-estilo .st-cel { transition: transform .7s var(--fx-ease); }
.st-estilo .st-cel.fx-gira { animation: fx-gira .7s var(--fx-ease); }
@keyframes fx-gira { 40% { transform: perspective(900px) rotateY(18deg) scale(.96); } }

/* planos: o destaque com borda que brilha */
@property --fx-ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.st-plano--destaque { border: 2px solid transparent; background: linear-gradient(var(--st-azul), var(--st-azul)) padding-box, conic-gradient(from var(--fx-ang), var(--st-azul) 0 60%, var(--st-cor) 80%, var(--st-cor-2) 88%, var(--st-azul)) border-box; animation: fx-gira-luz 5s linear infinite; }
@keyframes fx-gira-luz { to { --fx-ang: 360deg; } }
.st-plano__selo { z-index: 2; }
.st-plano { transition: transform .35s var(--fx-ease), box-shadow .35s; }
.st-plano:hover { transform: translateY(-6px); box-shadow: var(--st-sombra); }

/* chamada final */
.st-final { isolation: isolate; }
.st-final::after { content: ""; position: absolute; width: 460px; height: 460px; left: -160px; bottom: -260px; border-radius: 50%; z-index: 0; background: radial-gradient(circle, color-mix(in srgb, var(--st-cor-2) 28%, transparent), transparent 65%); animation: fx-bolha 12s ease-in-out infinite alternate; }
.st-final::before { animation: fx-bolha 14s ease-in-out infinite alternate-reverse; }
.st-final > * { position: relative; z-index: 1; }
.st-btn--cor { position: relative; overflow: hidden; }
.st-btn--cor::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-18deg); animation: fx-reflexo 4.5s 2s ease-in-out infinite; }
@keyframes fx-reflexo { 0%, 70% { left: -60%; } 100% { left: 130%; } }

@media (prefers-reduced-motion: reduce) {
  .fx-intro { display: none; }
  .fx-bolhas i, .st-hero__cel .st-cel, .st-aviso, .st-plano--destaque, .st-final::after, .st-final::before, .st-btn--cor::after { animation: none !important; }
  .fx-linha > span, .js .st-hero .st-etiqueta, .js .st-lead, .js .st-hero .st-acoes, .js .st-garantias, .js .st-ramos, .js .st-hero__cel > .st-cel:not(.fx-tras), .js .st-mais li { opacity: 1 !important; transform: none !important; transition: none !important; }
  .fx-dia { height: auto; } .fx-dia__fixo { position: relative; height: auto; padding: 80px 0; }
  .fx-passos li { opacity: 1; } .fx-passos p { display: block; }
  .fx-n { opacity: 1; transform: none; max-height: none; padding-block: 10px; }
}
