@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fontes/plus-jakarta-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fontes/plus-jakarta-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fontes/plus-jakarta-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fontes/plus-jakarta-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fontes/plus-jakarta-sans-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fontes/space-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fontes/space-grotesk-latin-700-normal.woff2") format("woff2"); }

:root {
  --fonte: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fonte-numero: "Space Grotesk", "Plus Jakarta Sans", system-ui, sans-serif;

  --fundo: #F3F5F5;
  --superficie: #FFFFFF;
  --superficie-2: #F7F9F9;
  --texto: #1B1F24;
  --texto-2: #3F4752;
  --texto-3: #5B6470;
  --suave: #8A94A0;
  --borda: #C9D0D8;
  --linha: #E6E9ED;

  --faixa: #23282E;
  --faixa-texto: #FFFFFF;
  --faixa-suave: #A3ACB5;
  --faixa-botao: rgba(255, 255, 255, 0.10);
  --faixa-botao-hover: rgba(255, 255, 255, 0.18);
  --casa-fundo: #2B3238;
  --casa-frente: #333B43;
  --janela: #414A53;
  --janela-acesa: #4FD1A8;
  --brilho-1: rgba(79, 209, 168, 0.20);
  --brilho-2: rgba(15, 138, 106, 0.30);
  --padrao: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='56' viewBox='0 0 72 56'%3E%3Cpath d='M8 30 L22 19 L36 30 M44 50 L58 39 L72 50 M-28 50 L-14 39 L0 50' fill='none' stroke='%230F8A6A' stroke-opacity='0.11' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");

  --jade: #0C7B5F;
  --jade-escuro: #0B6B52;
  --jade-fundo: #E3F3EE;
  --menta: #4FD1A8;
  --menta-claro: #A8F0D8;
  --link: #0C7B5F;
  --link-hover: #0B6B52;
  --foco: rgba(15, 138, 106, 0.35);

  --joice: #6B4FC9;
  --joice-fundo: #F1ECFD;

  --erro: #B42318;
  --erro-fundo: #FDECEA;
  --erro-borda: #F5C2BC;
  --sucesso: #0B6B52;
  --sucesso-fundo: #E3F3EE;
  --sucesso-borda: #B6E2D3;
  --info: #3F4752;
  --info-fundo: #EEF1F4;
  --info-borda: #D9DFE5;

  --sombra: 0 10px 30px rgba(20, 24, 28, 0.08);
  --raio: 14px;
  --raio-grande: 22px;
  --alvo: 3.25rem;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-tema="claro"]) {
    --fundo: #111315;
    --superficie: #1C2024;
    --superficie-2: #22272C;
    --texto: #E8ECEB;
    --texto-2: #C9D0D6;
    --texto-3: #A3ACB5;
    --suave: #7C8690;
    --borda: #3A4147;
    --linha: #2E3439;
    --faixa: #15181B;
  --casa-fundo: #1B1F23;
  --casa-frente: #21262B;
  --janela: #2B3238;
  --brilho-1: rgba(79, 209, 168, 0.12);
  --brilho-2: rgba(15, 138, 106, 0.20);
  --padrao: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='56' viewBox='0 0 72 56'%3E%3Cpath d='M8 30 L22 19 L36 30 M44 50 L58 39 L72 50 M-28 50 L-14 39 L0 50' fill='none' stroke='%234FD1A8' stroke-opacity='0.06' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    --casa-fundo: #1B1F23;
    --casa-frente: #21262B;
    --janela: #2B3238;
    --brilho-1: rgba(79, 209, 168, 0.12);
    --brilho-2: rgba(15, 138, 106, 0.20);
    --padrao: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='56' viewBox='0 0 72 56'%3E%3Cpath d='M8 30 L22 19 L36 30 M44 50 L58 39 L72 50 M-28 50 L-14 39 L0 50' fill='none' stroke='%234FD1A8' stroke-opacity='0.06' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    --jade-fundo: rgba(79, 209, 168, 0.12);
    --link: #4FD1A8;
    --link-hover: #A8F0D8;
    --foco: rgba(79, 209, 168, 0.40);
    --joice: #B9A8F5;
    --joice-fundo: rgba(185, 168, 245, 0.12);
    --erro: #FF9C92;
    --erro-fundo: rgba(255, 156, 146, 0.10);
    --erro-borda: rgba(255, 156, 146, 0.35);
    --sucesso: #7FE3C2;
    --sucesso-fundo: rgba(79, 209, 168, 0.10);
    --sucesso-borda: rgba(79, 209, 168, 0.35);
    --info: #C9D0D6;
    --info-fundo: #22272C;
    --info-borda: #3A4147;
    --sombra: 0 10px 30px rgba(0, 0, 0, 0.35);
    color-scheme: dark;
  }
}

:root[data-tema="escuro"] {
  --fundo: #111315;
  --superficie: #1C2024;
  --superficie-2: #22272C;
  --texto: #E8ECEB;
  --texto-2: #C9D0D6;
  --texto-3: #A3ACB5;
  --suave: #7C8690;
  --borda: #3A4147;
  --linha: #2E3439;
  --faixa: #15181B;
  --casa-fundo: #1B1F23;
  --casa-frente: #21262B;
  --janela: #2B3238;
  --brilho-1: rgba(79, 209, 168, 0.12);
  --brilho-2: rgba(15, 138, 106, 0.20);
  --padrao: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='56' viewBox='0 0 72 56'%3E%3Cpath d='M8 30 L22 19 L36 30 M44 50 L58 39 L72 50 M-28 50 L-14 39 L0 50' fill='none' stroke='%234FD1A8' stroke-opacity='0.06' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --jade-fundo: rgba(79, 209, 168, 0.12);
  --link: #4FD1A8;
  --link-hover: #A8F0D8;
  --foco: rgba(79, 209, 168, 0.40);
  --joice: #B9A8F5;
  --joice-fundo: rgba(185, 168, 245, 0.12);
  --erro: #FF9C92;
  --erro-fundo: rgba(255, 156, 146, 0.10);
  --erro-borda: rgba(255, 156, 146, 0.35);
  --sucesso: #7FE3C2;
  --sucesso-fundo: rgba(79, 209, 168, 0.10);
  --sucesso-borda: rgba(79, 209, 168, 0.35);
  --info: #C9D0D6;
  --info-fundo: #22272C;
  --info-borda: #3A4147;
  --sombra: 0 10px 30px rgba(0, 0, 0, 0.35);
  color-scheme: dark;
}

html { font-size: 106.25%; -webkit-text-size-adjust: 100%; }
html[data-letra="grande"] { font-size: 118.75%; }

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--fundo);
  color: var(--texto);
  font-family: var(--fonte);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p { margin: 0; }
h1 { font-size: 1.35rem; font-weight: 800; line-height: 1.25; letter-spacing: -0.01em; }
h2 { font-size: 1.1rem; font-weight: 800; line-height: 1.3; }
img, svg { display: block; }
[hidden] { display: none !important; }

a { color: var(--link); font-weight: 700; text-underline-offset: 3px; }
a:hover { color: var(--link-hover); }

:focus-visible { outline: 3px solid var(--foco); outline-offset: 2px; border-radius: 6px; }
[tabindex="-1"]:focus { outline: none; }

.visualmente-oculto {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.campo { display: flex; flex-direction: column; gap: 0.35rem; }
.campo label { font-size: 0.82rem; font-weight: 700; color: var(--texto-2); }
.campo input {
  width: 100%;
  min-height: var(--alvo);
  padding: 0 0.85rem;
  border: 1px solid var(--borda);
  border-radius: 12px;
  background: var(--superficie);
  color: var(--texto);
  font: 500 1rem var(--fonte);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.campo input::placeholder { color: var(--suave); }
.campo input:focus { outline: none; border-color: var(--jade); box-shadow: 0 0 0 3px var(--foco); }
.campo input[aria-invalid="true"] { border-color: var(--erro); }
.campo-erro { font-size: 0.82rem; font-weight: 600; color: var(--erro); }
.campo-erro:empty { display: none; }

.senha-campo { position: relative; }
.senha-campo input { padding-right: 3.25rem; }
.olho {
  position: absolute; top: 50%; right: 0.25rem; transform: translateY(-50%);
  width: 2.75rem; height: 2.75rem;
  display: grid; place-items: center;
  border: 0; border-radius: 10px; background: transparent; color: var(--texto-3); cursor: pointer;
}
.olho:hover { color: var(--texto); background: var(--superficie-2); }
.olho .olho-fechado { display: none; }
.olho[aria-pressed="true"] .olho-aberto { display: none; }
.olho[aria-pressed="true"] .olho-fechado { display: block; }

.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: var(--alvo);
  padding: 0 1.25rem;
  border-radius: var(--raio);
  border: 1px solid transparent;
  font: 700 1rem var(--fonte);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.05s;
}
.botao:active { transform: translateY(1px); }
.botao.primario { background: var(--jade); color: #FFFFFF; }
.botao.primario:hover { background: var(--jade-escuro); color: #FFFFFF; }
.botao.contorno { background: transparent; color: var(--texto); border-color: var(--texto-2); }
.botao.contorno:hover { background: var(--superficie-2); color: var(--texto); }
.botao.texto { background: transparent; color: var(--link); min-height: 2.75rem; padding: 0 0.5rem; }
.botao.texto:hover { color: var(--link-hover); text-decoration: underline; }
.botao.largo { width: 100%; }
.botao[disabled] { opacity: 0.6; cursor: progress; }
.botao[aria-busy="true"]::after {
  content: ""; width: 1.05rem; height: 1.05rem; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent;
  animation: girar 0.7s linear infinite;
}

@keyframes girar { to { transform: rotate(360deg); } }

.aviso {
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--info-borda);
  background: var(--info-fundo);
  color: var(--info);
  font-size: 0.9rem;
  font-weight: 600;
}
.aviso.erro { background: var(--erro-fundo); color: var(--erro); border-color: var(--erro-borda); }
.aviso.sucesso { background: var(--sucesso-fundo); color: var(--sucesso); border-color: var(--sucesso-borda); }

.carregando-linha { display: flex; align-items: center; gap: 0.75rem; color: var(--texto-3); font-weight: 600; }
.carregando-linha::before {
  content: ""; flex: none; width: 1.25rem; height: 1.25rem; border-radius: 50%;
  border: 2.5px solid var(--jade); border-right-color: transparent;
  animation: girar 0.7s linear infinite;
}

.tela-acesso { display: flex; flex-direction: column; }

.faixa {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 88% -10%, var(--brilho-1), transparent 55%),
    radial-gradient(90% 70% at -5% 110%, var(--brilho-2), transparent 60%),
    var(--faixa);
  color: var(--faixa-texto);
  padding: 3rem 1.5rem 7.25rem;
  border-radius: 0 0 2rem 2rem;
  text-align: center;
}
.faixa-conteudo { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.faixa-acoes { position: absolute; z-index: 2; top: 0.75rem; right: 0.75rem; display: flex; gap: 0.4rem; }
.botao-faixa {
  min-width: 2.75rem; height: 2.75rem; padding: 0 0.65rem;
  display: inline-grid; place-items: center;
  border: 0; border-radius: 12px;
  background: var(--faixa-botao); color: var(--faixa-texto);
  font: 700 0.82rem var(--fonte); letter-spacing: 0.04em; cursor: pointer;
}
.botao-faixa:hover { background: var(--faixa-botao-hover); }
.tema-lua { display: none; }
:root[data-tema-atual="claro"] .tema-sol { display: none; }
:root[data-tema-atual="claro"] .tema-lua { display: block; }

.marca { display: flex; align-items: center; gap: 0.75rem; color: inherit; text-decoration: none; }
.marca:hover { color: inherit; }
.marca img { width: 3.1rem; height: 3.1rem; filter: drop-shadow(0 6px 14px rgba(15, 138, 106, 0.45)); }
.marca-nome { font-weight: 800; font-size: 1.75rem; letter-spacing: -0.01em; }
.marca-nome span { color: var(--menta); }
.faixa-frase { font-size: 0.85rem; color: var(--faixa-suave); }
.faixa-beneficios, .faixa-contas { display: none; }

.faixa-casas, .intro-casas {
  position: absolute; left: 0; bottom: 0; width: 100%; pointer-events: none;
  -webkit-mask-image: linear-gradient(to top, #000 45%, rgba(0, 0, 0, 0.55) 75%, transparent 100%);
  mask-image: linear-gradient(to top, #000 45%, rgba(0, 0, 0, 0.55) 75%, transparent 100%);
}
.faixa-casas { height: 6.5rem; }
.casa-fundo { fill: var(--casa-fundo); }
.casa-frente { fill: var(--casa-frente); }
.janela { fill: var(--janela); }
.janela.acesa { fill: var(--janela-acesa); opacity: 0.85; }
.janela.piscando { animation: piscar 7s ease-in-out infinite; }
.telhado-destaque { fill: none; stroke: var(--menta); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
@keyframes piscar { 0%, 44%, 56%, 100% { opacity: 0.85; } 50% { opacity: 0.2; } }

.lado-form {
  flex: 1;
  display: flex; flex-direction: column;
  background-color: var(--fundo);
  background-image: var(--padrao);
  background-size: 72px 56px;
}

.entrada-com-icone { position: relative; }
.entrada-icone {
  position: absolute; left: 0.85rem; top: 50%; transform: translateY(-50%);
  color: var(--suave); pointer-events: none; transition: color 0.15s;
}
.entrada-com-icone:focus-within .entrada-icone { color: var(--jade); }
:root[data-tema-atual="escuro"] .entrada-com-icone:focus-within .entrada-icone { color: var(--menta); }
.campo .entrada-com-icone input { padding-left: 2.9rem; }

.cartao {
  position: relative;
  z-index: 1;
  width: calc(100% - 2.5rem);
  max-width: 28rem;
  margin: -2.75rem auto 0;
  background: var(--superficie);
  border-radius: var(--raio-grande);
  padding: 1.5rem 1.25rem;
  box-shadow: var(--sombra);
  border: 1px solid var(--linha);
  display: flex; flex-direction: column; gap: 0.9rem;
}
.cartao section, .cartao form { display: flex; flex-direction: column; gap: 0.9rem; }
.cartao .texto-apoio { color: var(--texto-2); font-size: 0.95rem; }
.cartao .nota { color: var(--texto-3); font-size: 0.8rem; text-align: center; }
.link-direita { align-self: flex-end; font-size: 0.82rem; }

.voltar {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 0.35rem;
  min-height: 2.75rem; padding: 0 0.5rem 0 0.2rem; margin: -0.5rem 0 -0.25rem -0.4rem;
  border: 0; border-radius: 10px; background: transparent; color: var(--texto-2);
  font: 700 0.9rem var(--fonte); cursor: pointer;
}
.voltar:hover { background: var(--superficie-2); color: var(--texto); }

.selo {
  width: 4rem; height: 4rem; border-radius: 1.25rem;
  display: grid; place-items: center;
  background: var(--jade-fundo); color: var(--jade);
}
:root[data-tema-atual="escuro"] .selo { color: var(--menta); }
.selo.erro { background: var(--erro-fundo); color: var(--erro); }
.centro { align-items: center; text-align: center; }

.entrada-codigo {
  text-align: center;
  font: 700 1.9rem var(--fonte-numero) !important;
  letter-spacing: 0.45em;
  padding-left: 1.2rem !important;
}
.entrada-codigo.recuperacao { font-size: 1.35rem !important; letter-spacing: 0.15em; text-transform: uppercase; padding-left: 0.85rem !important; }

.regras { list-style: none; margin: 0; padding: 0.75rem 0.85rem; border-radius: 12px; background: var(--superficie-2); display: grid; gap: 0.3rem; font-size: 0.85rem; color: var(--texto-3); }
.regras-titulo { font-weight: 700; color: var(--texto-2); }
.regra { display: flex; align-items: center; gap: 0.5rem; }
.regra::before {
  content: ""; flex: none; width: 1rem; height: 1rem; border-radius: 50%;
  border: 2px solid var(--borda);
}
.regra.ok { color: var(--sucesso); font-weight: 600; }
.regra.ok::before { border-color: var(--jade); background: var(--jade) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }

.convite { padding: 1.25rem 1.5rem 0; text-align: center; font-size: 0.9rem; color: var(--texto-2); }
.rodape-seguro {
  margin-top: auto;
  padding: 2rem 1.5rem 1.6rem;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-size: 0.75rem; color: var(--texto-3); text-align: center;
}
.rodape-seguro svg { flex: none; }

.tela-intro {
  position: relative;
  background: #1E2328; color: #FFFFFF;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  overflow: hidden; cursor: pointer;
  --casa-fundo: #262C32;
  --casa-frente: #2D343B;
  --janela: #383F48;
}
.intro-brilho {
  position: absolute; inset: -10%;
  background:
    radial-gradient(closest-side at 50% 40%, rgba(79, 209, 168, 0.24), rgba(79, 209, 168, 0.10) 45%, rgba(79, 209, 168, 0.03) 75%, transparent),
    radial-gradient(farthest-side at 50% 115%, rgba(15, 138, 106, 0.38), rgba(15, 138, 106, 0.12) 55%, transparent);
  filter: blur(24px);
  animation: introBrilho 2.6s ease-out both;
}
.tela-intro::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23r)'/%3E%3C/svg%3E");
}
.intro-centro { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 1.4rem; padding: 0 1.5rem 9rem; }
.intro-logo-caixa { position: relative; width: 10.5rem; height: 10.5rem; }
.intro-logo { width: 100%; height: 100%; overflow: visible; }
.intro-telhado { stroke-dasharray: 1; stroke-dashoffset: 1; animation: introDesenhar 0.85s 0.15s cubic-bezier(.6, 0, .2, 1) forwards; }
.intro-letras { transform-origin: 50px 61px; opacity: 0; animation: introLetras 0.7s 0.55s cubic-bezier(.2, .8, .2, 1) forwards; }
.intro-selo {
  position: absolute; right: -0.6rem; top: 0.9rem;
  width: 3.1rem; height: 3.1rem; border-radius: 50%;
  display: grid; place-items: center;
  background: #4FD1A8; color: #0B3D30;
  box-shadow: 0 0 0 7px rgba(79, 209, 168, 0.16), 0 10px 24px rgba(0, 0, 0, 0.35);
  transform: scale(0) rotate(-35deg);
  animation: introCarimbo 0.55s 1.3s cubic-bezier(.3, 1.6, .5, 1) forwards;
}
.intro-texto { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; text-align: center; opacity: 0; animation: introTexto 0.7s 0.95s ease-out forwards; }
.intro-nome { font-weight: 800; font-size: 2.6rem; letter-spacing: -0.03em; line-height: 1.1; }
.intro-nome span { color: #4FD1A8; }
.intro-frase { font-size: 0.95rem; color: #A3ACB5; }
.intro-casas { height: 9rem; }
.intro-casas .janela { animation: introAcender 0.35s ease-out forwards; }
.intro-casas .telhado-destaque { stroke-dasharray: 200; stroke-dashoffset: 200; animation: introDesenharLongo 0.9s 2.2s ease-out forwards; }
.intro-barra { position: absolute; z-index: 1; bottom: 11.25rem; width: 7.5rem; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.14); overflow: hidden; }
.intro-barra span { display: block; height: 100%; width: 0; background: #4FD1A8; border-radius: 2px; animation: introBarra 2.4s 0.5s ease-in-out forwards; }
.intro-versao { position: absolute; z-index: 1; bottom: 9.75rem; font-size: 0.72rem; color: #8A94A0; }

@keyframes introBrilho { from { opacity: 0; transform: scale(0.85); } to { opacity: 1; transform: none; } }
@keyframes introDesenhar { to { stroke-dashoffset: 0; } }
@keyframes introDesenharLongo { to { stroke-dashoffset: 0; } }
@keyframes introLetras { from { transform: scale(0.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes introCarimbo { to { transform: none; } }
@keyframes introTexto { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes introAcender { to { fill: #4FD1A8; } }
@keyframes introBarra { to { width: 100%; } }

@media (min-width: 48rem) {
  .faixa { padding-top: 3.75rem; }
  .faixa-casas { height: 8rem; }
  .cartao { padding: 2rem 1.75rem; }
}

@media (min-width: 64rem) {
  .tela-acesso { display: grid; grid-template-columns: minmax(27rem, 45%) 1fr; min-height: 100vh; }
  .faixa {
    position: sticky; top: 0;
    height: 100vh; min-height: 40rem;
    padding: 2.5rem 3.25rem;
    border-radius: 0 2.25rem 2.25rem 0;
    text-align: left;
  }
  .faixa-conteudo { align-items: flex-start; gap: 0; max-width: 30rem; }
  .faixa-frase {
    margin-top: clamp(2.5rem, 9vh, 5.5rem);
    font-size: clamp(2.1rem, 3.1vw, 2.9rem);
    font-weight: 800; line-height: 1.12; letter-spacing: -0.025em;
    color: var(--faixa-texto);
    max-width: 15ch;
  }
  .faixa-beneficios {
    display: grid; gap: 0.95rem;
    list-style: none; margin: 2.25rem 0 0; padding: 0;
    color: #C9D0D6; font-size: 0.95rem; font-weight: 500;
  }
  .faixa-beneficios li { display: flex; align-items: center; gap: 0.85rem; }
  .beneficio-icone {
    flex: none; width: 2.5rem; height: 2.5rem; border-radius: 12px;
    display: grid; place-items: center;
    background: rgba(79, 209, 168, 0.12); color: var(--menta);
    border: 1px solid rgba(79, 209, 168, 0.22);
  }
  .faixa-contas { display: block; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
  .conta-flutuante {
    position: absolute;
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.7rem 0.85rem 0.7rem 0.7rem;
    border-radius: 16px;
    background: #FFFFFF; color: #1B1F24;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  }
  .conta-luz { bottom: 12.5rem; right: 2.75rem; transform: rotate(3deg); }
  .conta-agua { bottom: 7.25rem; right: 9.5rem; transform: rotate(-2.5deg); }
  .conta-icone { width: 2.3rem; height: 2.3rem; border-radius: 10px; display: grid; place-items: center; background: #FFF4D6; color: #9A6700; }
  .conta-agua .conta-icone { background: #E4F0FB; color: #1D5F9E; }
  .conta-texto { display: flex; flex-direction: column; line-height: 1.25; }
  .conta-texto strong { font-size: 0.85rem; font-weight: 800; }
  .conta-texto small { font-size: 0.72rem; color: #5B6470; font-weight: 600; }
  .conta-selo { width: 1.6rem; height: 1.6rem; border-radius: 50%; display: grid; place-items: center; background: #0F8A6A; color: #FFFFFF; margin-left: 0.25rem; }
  .faixa-casas { height: 11rem; }
  .faixa-acoes { top: 1.25rem; right: 1.25rem; }
  .lado-form { justify-content: center; padding: 3rem 2rem 0; }
  .cartao { margin: auto auto 0; max-width: 27rem; width: 100%; padding: 2.25rem 2rem; }
  .convite { padding-top: 1.5rem; }
  .rodape-seguro { margin-top: auto; }
}

@media (min-width: 64rem) {
  .intro-casas { height: 12rem; }
  .intro-barra { bottom: 14.5rem; }
  .intro-versao { bottom: 13rem; }
}

@media (min-width: 64rem) and (max-height: 46rem) {
  .faixa-contas { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; }
}

.opcao-link {
  display: flex; align-items: center; gap: 0.8rem; width: 100%;
  padding: 0.85rem; border-radius: 16px; border: 2px solid var(--linha);
  background: var(--superficie); color: var(--texto); text-align: left; text-decoration: none;
  font: inherit; cursor: pointer;
}
.opcao-link:hover { border-color: var(--jade); background: var(--jade-fundo); color: var(--texto); }
.opcao-link strong { display: block; font-size: 0.98rem; font-weight: 800; }
.opcao-link small { display: block; font-size: 0.8rem; color: var(--texto-3); font-weight: 500; }
.opcao-icone { flex: none; width: 2.6rem; height: 2.6rem; border-radius: 12px; display: grid; place-items: center; background: var(--superficie-2); color: var(--jade); }
:root[data-tema-atual="escuro"] .opcao-icone { color: var(--menta); }
.passo-texto { font-size: 0.8rem; font-weight: 700; color: var(--texto-3); }
.aceite { display: flex; gap: 0.6rem; align-items: flex-start; padding: 0.75rem; border-radius: 14px; background: var(--superficie-2); border: 1px solid var(--linha); font-size: 0.88rem; color: var(--texto-2); line-height: 1.45; }
.aceite input { flex: none; width: 1.25rem; height: 1.25rem; margin: 0.1rem 0 0; accent-color: var(--jade); }
.escolha { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.escolha legend { font-size: 0.82rem; font-weight: 700; color: var(--texto-2); margin-bottom: 0.5rem; padding: 0; }
.entrada-matricula { font: 700 1.05rem var(--fonte-numero) !important; letter-spacing: 0.06em; text-transform: uppercase; }
.termos h2 { margin-top: 0.4rem; }
.termos-versao { font-size: 0.8rem; font-weight: 600; color: var(--texto-3); margin-top: -0.5rem; }
.termos-abas { display: grid; grid-template-columns: 1fr 1fr; gap: 0.25rem; padding: 0.25rem; border-radius: 14px; background: var(--superficie-2); border: 1px solid var(--linha); }
.termos-abas button { min-height: 2.75rem; border: 0; border-radius: 11px; background: transparent; color: var(--texto-2); font: inherit; font-weight: 700; font-size: 0.92rem; cursor: pointer; }
.termos-abas button[aria-selected="true"] { background: var(--superficie); color: var(--texto); box-shadow: 0 1px 3px rgba(20, 24, 28, 0.12); }
#termos-conteudo { display: flex; flex-direction: column; gap: 1.1rem; outline: none; }
.termos-resumo { padding: 1rem 1.1rem; border-radius: 16px; background: var(--jade-fundo); border: 1px solid var(--linha); gap: 0.5rem !important; }
.termos-resumo h2 { margin: 0; font-size: 1rem; }
.termos-lista { margin: 0; padding-left: 1.2rem; display: flex; flex-direction: column; gap: 0.4rem; color: var(--texto-2); font-size: 0.95rem; line-height: 1.5; }
.termos-sumario { border-top: 1px solid var(--linha); border-bottom: 1px solid var(--linha); padding: 0.9rem 0; }
.termos-sumario-titulo { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--texto-3); margin: 0 0 0.5rem; }
.termos-sumario ol { margin: 0; padding-left: 1.4rem; columns: 2 12rem; column-gap: 1.5rem; font-size: 0.88rem; line-height: 1.7; }
.termos-secao { gap: 0.55rem !important; scroll-margin-top: 1rem; }
.termos-secao h2 { margin: 0; font-size: 1.05rem; text-wrap: balance; }
.termos-secao .texto-apoio { line-height: 1.55; margin: 0; }
.termos-empresas { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border: 1px solid var(--linha); border-radius: 14px; overflow: hidden; }
.termos-empresas li { display: grid; grid-template-columns: minmax(0, 9rem) minmax(0, 1fr) auto; gap: 0.75rem; align-items: baseline; padding: 0.6rem 0.85rem; font-size: 0.88rem; color: var(--texto-2); }
.termos-empresas li + li { border-top: 1px solid var(--linha); }
.termos-empresas strong { color: var(--texto); }
.termos-empresas small { color: var(--texto-3); font-weight: 600; white-space: nowrap; }
@media (max-width: 30rem) { .termos-empresas li { grid-template-columns: 1fr auto; } .termos-empresas li span { grid-column: 1 / -1; grid-row: 2; } }
@media (min-width: 64rem) { .tela-termos .cartao.termos { max-width: 42rem; margin-top: 0; } .tela-termos .lado-form { justify-content: flex-start; } }

.faixa-demo {
  position: relative; z-index: 60;
  display: flex; align-items: center; justify-content: center; gap: 0.6rem; flex-wrap: wrap;
  padding: 0.35rem 0.75rem;
  background: #FFC94D; color: #3D2A00; font: 700 0.75rem var(--fonte); text-align: center;
}
.faixa-demo button { border: 0; border-radius: 999px; padding: 0.3rem 0.7rem; background: rgba(0, 0, 0, 0.12); color: inherit; font: 800 0.72rem var(--fonte); cursor: pointer; }
@media (min-width: 64rem) { .tela-acesso .faixa-demo { grid-column: 1 / -1; } }

.festa-ceu { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.festa-ceu.fixo { position: fixed; }
.festa-ceu canvas { width: 100%; height: 100%; display: block; }
.festa-casas { pointer-events: none; }
.festa-luz { animation: festaPiscar 1.6s ease-in-out infinite; }
.festa-estrela { fill: #FFD166; filter: drop-shadow(0 0 3px rgba(255, 209, 102, 0.9)); animation: festaBrilhar 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.festa-brilho { fill: #FFE7A3; animation: festaBrilhar 2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.festa-destaque-dourado { stroke: #FFD166; }
.festa-janela-laranja { fill: #FF8A1F !important; opacity: 0.9; }
.festa-bandeira { animation: festaBalancar 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: top center; }
.festa-chama { animation: festaChama 0.9s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: bottom center; }
.festa-chama-2 { animation-duration: 0.6s; }
.festa-fogo-brilho { animation: festaPiscar 1.2s ease-in-out infinite; }
.festa-lua { position: absolute; top: 0.9rem; left: 1rem; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: radial-gradient(circle at 38% 36%, #FFF4D6, #F6D58E 70%); box-shadow: 0 0 40px 10px rgba(246, 213, 142, 0.25); opacity: 0.9; }
.festa-morcego { position: absolute; width: 2.4rem; animation: festaVoar 9s ease-in-out infinite; }
.festa-morcego.m0 { top: 52%; left: 8%; }
.festa-morcego.m1 { top: 30%; left: 62%; width: 1.8rem; animation-delay: -3s; }
.festa-morcego.m2 { top: 48%; left: 80%; width: 1.5rem; animation-delay: -6s; }
.festa-morcego.m3 { top: 6%; left: 26%; width: 1.3rem; animation-delay: -1.5s; }
.festa-morcego path { fill: #0B0E11; }
.festa-varal-caixa { position: absolute; top: 0; left: 0; right: 0; height: 34px; overflow: hidden; pointer-events: none; border-radius: inherit; }
.festa-varal { display: block; }
.topo-app:has(.festa-varal-caixa) { padding-top: 1.9rem; }
@media (min-width: 64rem) { .festa-lua { width: 5rem; height: 5rem; top: auto; bottom: 16rem; left: auto; right: 3rem; } }
@keyframes festaPiscar { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes festaBrilhar { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }
@keyframes festaBalancar { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
@keyframes festaChama { from { transform: scale(0.9, 0.85); } to { transform: scale(1.05, 1.1); } }
@keyframes festaVoar { 0%, 100% { transform: translate(0, 0) scaleY(1); } 25% { transform: translate(1.2rem, -0.6rem) scaleY(0.6); } 50% { transform: translate(2rem, 0.3rem) scaleY(1); } 75% { transform: translate(0.8rem, 0.6rem) scaleY(0.6); } }
@media (prefers-reduced-motion: reduce) { [class*="festa-"], .janela.piscando { animation: none !important; } }

html:root[data-festa="natal"] { --faixa: #123527; --brilho-1: rgba(215, 38, 61, 0.38); --brilho-2: rgba(255, 209, 102, 0.16); --festa-cor: #D7263D; --festa-texto: #FFFFFF; }
html:root[data-festa="halloween"] { --faixa: #22182F; --brilho-1: rgba(255, 138, 42, 0.36); --brilho-2: rgba(123, 77, 204, 0.3); --festa-cor: #FF8A2A; --festa-texto: #1A1020; }
html:root[data-festa="pascoa"] { --faixa: #2F2A47; --brilho-1: rgba(247, 178, 196, 0.36); --brilho-2: rgba(184, 224, 210, 0.22); --festa-cor: #F7B2C4; --festa-texto: #2A1F3D; }
html:root[data-festa="junina"] { --faixa: #1A2342; --brilho-1: rgba(255, 159, 67, 0.38); --brilho-2: rgba(255, 209, 102, 0.18); --festa-cor: #FFD166; --festa-texto: #3A2410; }
html:root[data-festa="anonovo"] { --faixa: #111833; --brilho-1: rgba(255, 209, 102, 0.3); --brilho-2: rgba(108, 180, 255, 0.2); --festa-cor: #FFD166; --festa-texto: #111833; }
html:root[data-festa="carnaval"] { --faixa: #35163F; --brilho-1: rgba(255, 90, 95, 0.32); --brilho-2: rgba(79, 209, 168, 0.22); --festa-cor: #C77DFF; --festa-texto: #1A1020; }
html:root[data-festa] .tela-intro { background: var(--faixa); }
html:root[data-festa] .intro-brilho { background: radial-gradient(60% 50% at 50% 40%, var(--brilho-1), transparent 70%), radial-gradient(70% 60% at 50% 110%, var(--brilho-2), transparent 70%); }
.festa-fita {
  position: relative; z-index: 2; align-self: center; margin: 0;
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.38rem 1rem; border-radius: 999px;
  background: var(--festa-cor); color: var(--festa-texto);
  font-weight: 800; font-size: 0.9rem; letter-spacing: 0.01em;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  transform: rotate(-2deg);
  margin-bottom: 0.5rem;
  animation: festaEntrar 0.6s ease-out both;
}
.marca, .topo-marca, .intro-logo-caixa { position: relative; }
.festa-chapeu { position: absolute; pointer-events: none; z-index: 2; display: block; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.35)); }
.festa-chapeu svg { display: block; width: 100%; height: auto; }
.festa-chapeu.na-faixa { width: 2.7rem; left: -0.55rem; top: -1.5rem; transform: rotate(-20deg); }
.festa-chapeu.no-app { width: 1.95rem; left: -0.45rem; top: -1.1rem; transform: rotate(-20deg); }
.festa-chapeu.na-intro { width: 6.2rem; left: -1.2rem; top: -3.4rem; transform: rotate(-18deg); animation: festaEntrar 0.6s 1.2s ease-out both; }
.festa-chapeu.chapeu-pascoa.na-faixa { top: -2rem; }
.festa-chapeu.chapeu-carnaval.na-faixa { top: -0.6rem; left: -0.8rem; width: 3.1rem; transform: rotate(-8deg); }
.festa-chapeu.chapeu-carnaval.no-app { top: -0.4rem; transform: rotate(-8deg); }
.festa-chapeu.chapeu-carnaval.na-intro { top: -1.2rem; transform: rotate(-8deg); }
.festa-destaque { position: absolute; pointer-events: none; }
.festa-destaque svg { display: block; width: 100%; height: auto; overflow: visible; }
.festa-destaque.na-faixa { z-index: 1; width: 3.8rem; right: 0.7rem; bottom: 2.9rem; }
.festa-destaque.na-intro { z-index: 1; width: 7rem; right: 8%; bottom: 7rem; }
.festa-destaque.no-recado { position: static; flex: none; width: 2.6rem; }
.festa-teia { position: absolute; left: 0; top: 0; width: 5.5rem; z-index: 0; pointer-events: none; }
.festa-teia svg { display: block; width: 100%; }
.festa-recado-caixa {
  position: relative; z-index: 1; max-width: 46rem; margin: 0.7rem auto 0;
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.55rem 0.9rem 0.55rem 0.6rem; border-radius: 16px;
  background: rgba(255, 255, 255, 0.09); border: 1px solid rgba(255, 255, 255, 0.14);
}
.festa-recado { margin: 0; font-size: 0.95rem; font-weight: 800; color: #FFFFFF; }
@keyframes festaEntrar { from { opacity: 0; transform: translateY(-6px) rotate(-2deg) scale(0.92); } }
@media (min-width: 40rem) { .festa-destaque.na-intro { width: 10rem; right: 12%; bottom: 9rem; } }
@media (min-width: 64rem) {
  .festa-fita { align-self: flex-start; font-size: 1rem; padding: 0.45rem 1.15rem; margin-bottom: 1.4rem; }
  .festa-destaque.na-faixa { width: 8rem; right: 1.75rem; top: 9.5rem; bottom: auto; }
  .festa-teia { width: 11rem; }
}

.tela-offline { min-height: 100vh; display: grid; place-items: center; padding: 2rem max(16px, env(safe-area-inset-right, 0px)) 2rem max(16px, env(safe-area-inset-left, 0px)); background: var(--fundo); }
.offline-cartao { width: min(26rem, 100%); display: grid; justify-items: center; gap: 1rem; text-align: center; padding: 2rem 1.5rem; border-radius: 22px; background: var(--superficie); border: 1px solid var(--linha); box-shadow: 0 18px 48px rgba(20, 24, 28, 0.08); }
.offline-cartao h1 { margin: 0; font-size: 1.5rem; }
.offline-cartao p { margin: 0; color: var(--texto-2); line-height: 1.55; }
.sem-internet { position: fixed; z-index: 60; left: 50%; top: calc(env(safe-area-inset-top, 0px) + 0.6rem); transform: translateX(-50%); width: min(30rem, calc(100vw - 2rem)); display: flex; align-items: center; gap: 0.6rem; padding: 0.7rem 1rem; border-radius: 14px; background: var(--faixa); color: var(--faixa-texto); font-size: 0.92rem; font-weight: 600; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); }
.sem-internet svg { flex: none; color: #F5C451; }

.erro-codigo { margin: 0 0 -0.75rem; font: 700 4.5rem/1 var(--fonte-numero); letter-spacing: -0.04em; color: var(--jade); opacity: 0.25; }

.passo-cadastro {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--texto-3);
}
.passo-acoes {
  margin-top: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.botao-link {
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  background: none;
  border: 0;
  padding: 0.5rem 0.25rem;
  color: var(--texto-3);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.botao-link:hover { color: var(--texto); }
.botao-link:focus-visible { outline: 3px solid var(--foco); outline-offset: 2px; border-radius: 6px; }
#passo-2:not([hidden]) { display: grid; gap: 1rem; }
#passo-2 h1, #passo-2 .texto-apoio { margin: 0; }
#passo-2 .texto-apoio { overflow-wrap: anywhere; }
#passo-2 .campo { margin: 0; }
#passo-2 .passo-acoes { margin-top: 0; }
