/* Site em telas (redesign de 04/11/2026, referência metalab.com). Usa os tokens e componentes de fusao2.css
   (rosa, grade, tour, calculadora, formulários) e acrescenta: topo em pílulas, menu em tela cheia, telas, rodapé
   "Como podemos ajudar?" e a troca de tela. */
.hub .ft, .hub .swap { position: relative; z-index: 2; }

/* ---------- Pílulas (botões do topo, caminhos do início, idiomas) ---------- */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.5rem; padding: 0 1.1rem; border: 0; border-radius: 999px;
  background: #1c1c1c; color: var(--ink); font: 500 .9375rem/1 var(--ft); text-decoration: none; cursor: pointer; transition: background-color .25s, color .25s, transform .4s var(--ease); }
.pill:hover { background: var(--ink); color: var(--bg); }
.pill:active { transform: scale(.96); }
.pill[aria-current] { background: var(--ink); color: var(--bg); }
.pill--icon { width: 2.5rem; padding: 0; }
.pill--icon svg { width: 1rem; height: 1rem; }

/* ---------- Topo: Menu à esquerda, ROVISCA no centro, entrar/painel à direita; vira pílula ao rolar ---------- */
.hd { position: fixed; z-index: 40; top: .75rem; left: 50%; translate: -50% 0; width: calc(100% - 2 * var(--m)); display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 1rem; padding: .375rem; border-radius: 999px; transition: width .7s var(--ease), background-color .5s; }
.hd.is-compact { width: min(40rem, calc(100% - 1.5rem)); background: #121212; }
.hd__menu { justify-self: start; }
.hd__mark { display: inline-flex; align-items: center; gap: .3rem; text-decoration: none; min-height: 2.5rem; }
.hd__mark img { width: 1.9rem; height: 1.9rem; transition: transform .9s var(--ease); }
.hd__mark:hover img { transform: rotate(60deg); }
.hd__mark b { font: 800 1.25rem/1 var(--fd); letter-spacing: -.04em; transition: color .3s; }
.hd__end { justify-self: end; display: flex; align-items: center; gap: .75rem; }
.menu-open .hd, .is-leaving .hd { background: transparent; }
.menu-open .hd__mark b, .is-leaving .hd__mark b { color: var(--bg); }

/* ---------- Menu em tela cheia (claro): páginas à esquerda, a rosa no meio, a área interna à direita, bandeira no canto ---------- */
.mn { position: fixed; inset: 0; z-index: 30; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: var(--m);
  padding: 6.5rem var(--m) var(--m); background: var(--ink); color: var(--bg); overflow-y: auto; }
.mn[hidden] { display: none; }
.mn__links a { display: inline-flex; align-items: center; gap: .75rem; padding-block: .1rem; text-decoration: none; font: 500 clamp(2.5rem, 1.4rem + 3.4vw, 5rem)/1.05 var(--ft); letter-spacing: -.05em; }
.mn__links a::after { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--red); transform: scale(0); transition: transform .4s var(--ease); }
.mn__links a:hover::after, .mn__links a[aria-current]::after { transform: scale(1); }
.mn__rose { display: grid; place-items: center; }
.mn__rose img, .mn__rose svg { width: min(26rem, 30vw); height: auto; aspect-ratio: 1; }
.mn__acc { justify-self: end; text-align: right; }
.mn__k { margin-bottom: 1rem; color: #6b665f; font-size: .875rem; }
.mn__acc ul { display: grid; justify-items: end; gap: .25rem; }
.mn__acc a, .mn__acc button { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0; border: 0; background: none; color: inherit; cursor: pointer;
  text-decoration: none; font: 500 clamp(1.375rem, 1rem + 1.1vw, 2.25rem)/1.1 var(--ft); letter-spacing: -.03em; transition: color .25s, translate .5s var(--ease); }
.mn__acc a:hover, .mn__acc button:hover { color: var(--red); translate: -.35rem 0; }
.anim .mn__rose svg { animation: fu-spin 24s linear infinite; }
.mn__lang { position: absolute; left: var(--m); bottom: var(--m); }
.mn__lang summary { background: #e2ded7; }
.mn__lang .lsel__menu { left: 0; right: auto; }
.mn :focus-visible { outline-color: var(--bg); }
.anim .mn:not([hidden]) { animation: mn-in .7s cubic-bezier(.65, 0, .35, 1); }
.anim .mn:not([hidden]) .mn__links li, .anim .mn:not([hidden]) .mn__acc li { animation: rise .8s var(--ease) backwards; animation-delay: calc(.12s + var(--i, 0) * .05s); }
.anim .mn:not([hidden]) .mn__rose svg { animation: fu-spin 24s linear infinite, mn-rose 1s var(--ease) backwards; }
.mn li:nth-child(2) { --i: 1; } .mn li:nth-child(3) { --i: 2; } .mn li:nth-child(4) { --i: 3; } .mn li:nth-child(5) { --i: 4; } .mn li:nth-child(6) { --i: 5; }
/* recolher: a cortina sobe e os links saem antes, bem suave */
.anim .mn.is-closing { animation: mn-out .65s cubic-bezier(.65, 0, .35, 1) forwards; }
.anim .mn.is-closing li, .anim .mn.is-closing .mn__k, .anim .mn.is-closing .mn__rose, .anim .mn.is-closing .mn__lang { animation: fall .35s ease forwards; }
@keyframes mn-in { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
@keyframes mn-out { from { clip-path: inset(0); } to { clip-path: inset(0 0 100% 0); } }
@keyframes mn-rose { from { opacity: 0; scale: .7; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes fall { to { opacity: 0; transform: translateY(-16px); } }

/* ---------- Troca de tela: painel claro sobe, a rosa gira no meio, a próxima tela entra ---------- */
.fx__wipe { position: absolute; inset: 0; background: var(--ink); clip-path: inset(100% 0 0 0); }
.is-leaving .fx__wipe { clip-path: inset(0); transition: clip-path 1s cubic-bezier(.65, 0, .35, 1); }
.is-entering .fx__wipe { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s cubic-bezier(.65, 0, .35, 1) .1s; }
.is-leaving .swap { opacity: 0; transform: translateY(-2rem); transition: opacity .6s ease, transform .9s var(--ease); }
.is-entering .swap { animation: swap-in 1.1s var(--ease) .4s backwards; }
@keyframes swap-in { from { opacity: 0; transform: translateY(3rem); } }
.is-leaving .fx__grid { opacity: 0; transition: opacity .6s; }

/* Entradas: cada bloco sobe quando aparece (só com JS e movimento) */
.js-r [data-r] { transition: opacity .9s var(--ease) var(--d, 0ms), transform .9s var(--ease) var(--d, 0ms); }
.js-r [data-r]:not(.is-in) { opacity: 0; transform: translateY(24px); }

/* ---------- Início: só a marca, a rosa e os caminhos ---------- */
.hub .swap { min-height: 100svh; }
.home { position: relative; }
.home { min-height: 100svh; }
.hub__title { position: absolute; left: 30%; bottom: 14vh; margin: 0; font: 500 clamp(3.5rem, 1rem + 7.5vw, 10rem)/.88 var(--ft); letter-spacing: -.06em; }
.hub__title .mask { display: block; width: fit-content; padding-right: .1em; }
.hub__l2 { margin-left: .9em; }
.hub__title b { color: var(--red); font-weight: inherit; }
.hub .hub__lead { position: absolute; left: 58%; top: 22vh; max-width: 15em; font: 500 clamp(1.25rem, 1rem + .8vw, 1.75rem)/1.2 var(--ft); letter-spacing: -.02em; }
.hub__paths { position: absolute; left: var(--m); top: 50%; translate: 0 -50%; display: grid; justify-items: start; gap: .5rem; }
.hub__paths .pill { min-height: 2.75rem; font-size: 1rem; }
.anim .hub__title .mask > span { animation: hub-line 1.3s var(--ease) backwards; }
.anim .hub__l2 > span { animation-delay: .12s !important; }
.anim .hub__lead { animation: rise 1s var(--ease) .5s backwards; }
.anim .hub__paths .pill { animation: rise .8s var(--ease) backwards; }
.hub__paths .pill:nth-child(2) { animation-delay: .07s; } .hub__paths .pill:nth-child(3) { animation-delay: .14s; } .hub__paths .pill:nth-child(4) { animation-delay: .21s; }
@keyframes hub-line { from { transform: translateY(110%); } }

/* ---------- Cabeça das telas internas ---------- */
.pghead { padding-top: clamp(8rem, 18vh, 12rem); }
.pghead__t { margin: 0; font: 500 clamp(2.75rem, 1.2rem + 5vw, 6.75rem)/.95 var(--ft); letter-spacing: -.05em; max-width: 15ch; text-wrap: balance; }
.pghead__lead { margin-top: 1.75rem; max-width: 44ch; font-size: clamp(1.125rem, 1rem + .45vw, 1.375rem); line-height: 1.45; }

/* ---------- Sobre: título no meio da tela; as frentes uma embaixo da outra, título em cima e texto embaixo ---------- */
.offers { width: min(100%, 52rem); display: grid; gap: clamp(3.5rem, 8vw, 6rem); text-align: center; }
.offer { display: grid; justify-items: center; gap: 1rem; }
.offer h3 { font: 500 clamp(2.25rem, 1.3rem + 3.2vw, 4.5rem)/1 var(--ft); letter-spacing: -.05em; }
.offer p { max-width: 40ch; font-size: clamp(1.0625rem, 1rem + .3vw, 1.3125rem); line-height: 1.5; }
.hub .founder { margin-top: clamp(4rem, 10vh, 7rem); }
.founder__k { font-size: clamp(1.125rem, 1rem + .4vw, 1.375rem); color: #ff8a95; }

/* ---------- Produtos e afiliados reaproveitam os blocos da landing; só o respiro muda ---------- */
.hub .lil, .hub .afl { padding-top: clamp(4rem, 8vw, 6rem); }

/* ---------- Contato: título e formulário em cima, texto embaixo, tudo no centro ---------- */
.ct { display: grid; justify-items: center; gap: clamp(2rem, 4vw, 3rem); padding-top: clamp(8rem, 18vh, 12rem); text-align: center; }
.ct .pghead__t { font-size: clamp(2.75rem, 1.2rem + 4.2vw, 5.75rem); max-width: 14ch; margin-inline: auto; }
.ct__form { width: min(100%, 46rem); text-align: left; }
.ct__form .wl__form { background: #121212; }
.ct__intro { display: grid; justify-items: center; gap: 2rem; }
.ct__intro .pghead__lead { margin: 0 auto; }
.ct__other { display: grid; justify-items: center; gap: .75rem; }
.ct__other h2 { font: 500 1.25rem/1.2 var(--ft); letter-spacing: -.02em; }
.ct__other ul { display: grid; gap: .5rem; }
.wl textarea { width: 100%; min-height: 10rem; padding: .875rem 1rem; resize: vertical; background: #0d0d0d; border: 0; border-radius: 4px; box-shadow: inset 0 0 0 1px #3a3a3a; color: var(--ink); font: 500 1.0625rem/1.5 var(--ft); }
.wl textarea:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--ink); }

/* ---------- Rodapé: "Como podemos ajudar?" com as ações, depois a barra e o nome gigante ---------- */
.ft { margin-top: clamp(6rem, 12vw, 11rem); color: var(--ink); }
.ft__top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2.5rem var(--m); align-items: end; padding-bottom: clamp(3rem, 6vw, 5rem); }
.ft__help { margin: 0; font: 500 clamp(3rem, 1.4rem + 5.5vw, 7.5rem)/.92 var(--ft); letter-spacing: -.055em; max-width: 12ch; }
.ft__acts a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; border-bottom: 1px solid rgba(241, 238, 233, .25);
  text-decoration: none; font: 500 clamp(1.125rem, 1rem + .4vw, 1.375rem)/1.2 var(--ft); letter-spacing: -.02em; transition: color .25s, padding .5s var(--ease); }
.ft__acts li:first-child a { border-top: 1px solid rgba(241, 238, 233, .25); }
.ft__acts a:hover { color: #ff8a95; padding-left: .5rem; }
.ft__acts svg { width: 1rem; height: 1rem; flex: none; transition: transform .5s var(--ease); }
.ft__acts a:hover svg { transform: translate(3px, -3px); }
.ft__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 1.5rem; color: var(--muted); font-size: .9375rem; }
.ft__nav { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.ft__bar a { display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration: none; transition: color .2s; }
.ft__bar a:hover, .ft__bar a[aria-current] { color: var(--ink); }

/* ---------- Tablet e celular ---------- */
@media (max-width: 1023px) {
  .ft__top { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .home { display: flex; flex-direction: column; justify-content: flex-end; gap: 1.75rem; padding-top: 7rem; padding-bottom: 2.5rem; }
  .hub__title, .hub .hub__lead, .hub__paths { position: static; translate: none; }
  .hub__title { order: 1; font-size: clamp(2.75rem, 12.5vw, 6rem); }
  .hub__l2 { margin-left: 0; }
  .hub .hub__lead { order: 2; max-width: 16em; }
  .hub__paths { order: 3; display: flex; flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .mn { grid-template-columns: 1fr; align-content: start; gap: 2.5rem; padding-top: 6rem; padding-bottom: 6rem; }
  .mn__rose { display: none; }
  .mn__acc, .mn__acc ul { justify-self: start; justify-items: start; text-align: left; }
}
.hd__menu[aria-expanded="true"] { background: var(--bg); color: var(--ink); }
.menu-open { overflow: hidden; }
.hub .founder__role { font: 500 1rem/1.3 var(--ft); letter-spacing: 0; }

/* ---------- Produtos: o Lilos numa faixa centralizada (texto, botão e a prévia do site embaixo) ---------- */
.band { gap: 1.5rem; }
.band__txt { display: grid; justify-items: center; gap: 1rem; }
.band__name { font: 800 clamp(3.5rem, 1.5rem + 6vw, 8rem)/.85 var(--fd); letter-spacing: -.06em; margin: .25rem 0 .5rem; }
.band__tag { font: 500 clamp(1.375rem, 1.1rem + 1vw, 2rem)/1.15 var(--ft); letter-spacing: -.03em; max-width: 22ch; }
.band__intro { max-width: 52ch; margin-bottom: 1rem; }
.band__shot { display: block; width: min(100%, 68rem); margin-top: 1.5rem; overflow: hidden; }
.band__shot img { display: block; width: 100%; height: auto; transition: transform 1.2s var(--ease); }
.band__shot:hover img { transform: scale(1.03); }
.band .lil__status { background: rgba(241, 238, 233, .08); color: var(--ink); font-size: .875rem; }

/* ---------- Telas internas: blocos centralizados em sequência. A abertura ocupa ~3/4 da tela, então o bloco seguinte já
   aparece embaixo e chama a rolagem (sem aviso de "role"); o resto entra com movimento conforme se rola. ---------- */
.scr { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.75rem;
  padding-block: clamp(4rem, 10vh, 7rem); text-align: center; }
.scr--hero { min-height: 74svh; padding-top: 7rem; padding-bottom: 2rem; }
.scr .pghead__t, .scr .pghead__lead { margin-inline: auto; }
.scr .pghead__t { max-width: 16ch; }
.scr__t { font: 500 clamp(2.25rem, 1.2rem + 3.6vw, 4.75rem)/.98 var(--ft); letter-spacing: -.05em; max-width: 18ch; text-wrap: balance; }
.scr .ldemo { width: min(100%, 56rem); justify-items: center; margin-top: 0; }
.scr .flow { width: 100%; max-width: 78rem; text-align: left; margin-top: 1rem; }
.scr .calc { width: 100%; max-width: 72rem; text-align: left; margin-top: 0; }
.rules__dl { width: 100%; max-width: 64rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 3rem; margin: 0; text-align: left; }
.rules__dl dt { font-weight: 600; margin-bottom: .375rem; }
.rules__dl dd { margin: 0; color: #e6e1da; }
@media (max-width: 1023px) {
  .rules__dl { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .scr--hero { min-height: 68svh; padding-top: 6rem; }
}
.menu-open .hd .pill:hover, .is-leaving .hd .pill:hover { background: var(--bg); color: var(--ink); }

/* ---------- Afiliados: passos de cima para baixo, simulador e regras empilhados ---------- */
.vflow { width: min(100%, 40rem); display: grid; gap: 0; text-align: left; }
.vflow li { position: relative; display: grid; gap: .35rem; padding: 0 0 2.75rem 2.25rem; }
.vflow li::before { content: ""; position: absolute; left: 0; top: .5rem; width: 11px; height: 11px; background: var(--red); }
.vflow li::after { content: ""; position: absolute; left: 5px; top: 1.6rem; bottom: .25rem; width: 1px; background: rgba(241, 238, 233, .25); }
.vflow li:last-child { padding-bottom: 0; }
.vflow li:last-child::after { display: none; }
.vflow__k { color: #ff8a95; font-size: .9375rem; }
.vflow strong { font: 500 clamp(1.75rem, 1.3rem + 1.5vw, 2.75rem)/1 var(--ft); letter-spacing: -.04em; }
.vflow p { color: #e6e1da; }
.calc--stack { grid-template-columns: 1fr; max-width: 40rem !important; }
.calc--stack .calc__big { justify-items: center; text-align: center; }
.rules__dl--stack { grid-template-columns: 1fr; max-width: 40rem; gap: 2.25rem; text-align: center; }
.scr { overflow-x: clip; }

/* ---------- Movimento ao rolar (só com JS e movimento; hub.js põe --in, --out e --run em cada [data-sl]) ----------
   --in: 0 com o topo no pé da tela, 1 quando ele chega a 30% do alto; --out: quanto o bloco já saiu por cima;
   --run: quanto do bloco já passou da linha de 65% da tela. */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.w > span { display: inline-block; }
.js-r [data-split][data-r]:not(.is-in) { opacity: 1; transform: none; }
.js-r [data-split] .w > span { transition: transform 1.1s var(--ease) calc(var(--wi, 0) * 55ms + var(--d, 0ms)); }
.js-r [data-split][data-r]:not(.is-in) .w > span, .js-r [data-r]:not(.is-in) [data-split] .w > span { transform: translateY(110%); }
.anim .scr--hero[data-sl] { translate: 0 calc(var(--out, 0) * 22vh); opacity: calc(1 - var(--out, 0) * 1.5); scale: calc(1 - var(--out, 0) * .05); }
.anim .offer[data-sl] h3 { translate: calc((1 - var(--in, 1)) * -9vw) 0; }
.anim .offer[data-sl]:nth-child(even) h3 { translate: calc((1 - var(--in, 1)) * 9vw) 0; }
.anim .band__shot[data-sl] { clip-path: inset(calc((1 - var(--in, 1)) * 14%) calc((1 - var(--in, 1)) * 10%) round 6px); }
.anim .band__shot[data-sl] img { scale: calc(1.12 - var(--in, 1) * .12); }
.vflow { position: relative; }
.anim .vflow[data-sl]::before { content: ""; position: absolute; z-index: 1; left: 5px; top: .5rem; bottom: 0; width: 1px; background: var(--red);
  transform-origin: top; transform: scaleY(var(--run, 1)); }

/* Contato no site estático: sucesso e erros já vêm na página, escondidos até a resposta da Lambda */
.wl [hidden] { display: none; }
