/* HorizonCTe — páginas públicas (início, entrar, cadastro). Fotos: /creditos. */

.pub { background: var(--fundo); overflow-x: clip; }

/* ---------- navegação: barra flutuante de vidro ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 40; padding: 14px 8px 0; transition: padding .35s ease; pointer-events: none; }
/* alinhamento: o logo começa exatamente na margem do conteúdo (max-width 1200 + 24px de respiro) */
.nav-in {
  pointer-events: auto; max-width: 1192px; margin: 0 auto; height: 92px; padding: 0 16px;
  display: flex; align-items: center; gap: 1rem; border-radius: 22px;
  background: linear-gradient(180deg, rgba(15,23,42,.55), rgba(15,23,42,.35));
  border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 20px 50px -24px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.08);
  transition: height .35s ease, background .35s ease, border-color .35s ease, box-shadow .35s ease;
}
@media (min-width: 1208px) { .nav-in { padding: 0 20px; } }
.nav .logo { --logo-h: 72px; flex: none; transition: transform .35s ease; transform-origin: left center; }
.nav:not(.solido) .logo .l-claro { display: none !important; }
.nav:not(.solido) .logo .l-escuro { display: block !important; }
.nav-links { display: flex; gap: 0; margin-left: 1.2rem; min-width: 0; }
.nav-links a {
  white-space: nowrap; position: relative; color: rgba(255,255,255,.86); font-weight: 600; font-size: .94rem; padding: .6rem .75rem;
  border-radius: 10px; text-decoration: none !important; transition: color .2s, background .2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: .75rem; right: .75rem; bottom: .35rem; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, #34d399, #5eead4); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav .acoes-nav { margin-left: auto; display: flex; gap: .5rem; align-items: center; flex: none; }
.nav .sep { width: 1px; height: 28px; background: rgba(255,255,255,.18); margin: 0 .2rem; }
.nav .btn-icone { width: 42px; height: 42px; padding: 0; border-radius: 12px; color: rgba(255,255,255,.85); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.nav .btn-icone:hover { background: rgba(255,255,255,.14); color: #fff; }
.nav .btn-entrar { color: #fff; font-weight: 600; background: transparent; border: 1px solid rgba(255,255,255,.28); height: 44px; padding: 0 1.1rem; border-radius: 12px; }
.nav .btn-entrar:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.45); }
.nav .btn-primario { height: 44px; padding: 0 1.25rem; border-radius: 12px; }

/* sempre escuro: o logo é sempre a versão de texto branco */
.nav .logo .l-claro { display: none !important; }
.nav .logo .l-escuro { display: block !important; }
.nav-in::after { /* fio de luz na base */
  content: ""; position: absolute; left: 24px; right: 24px; bottom: -1px; height: 1px; border-radius: 1px;
  background: linear-gradient(90deg, transparent, rgba(52,211,153,.7), rgba(94,234,212,.6), transparent); opacity: .55; transition: opacity .35s;
}
.nav-in { position: relative; }

/* rolou: encolhe e fica sólida — continua escura */
.nav.solido { padding-top: 10px; }
.nav.solido .nav-in {
  height: 78px;
  background: radial-gradient(120% 180% at 0% 0%, rgba(16,185,129,.16), transparent 45%),
              linear-gradient(180deg, rgba(14,22,42,.94), rgba(10,17,33,.92));
  border-color: rgba(255,255,255,.1);
  box-shadow: 0 18px 44px -18px rgba(5,10,22,.7), inset 0 1px 0 rgba(255,255,255,.07);
}
.nav.solido .nav-in::after { opacity: 1; }
.nav.solido .logo { transform: scale(.88); }

.so-movel { display: none !important; }
.hamburguer { position: relative; width: 18px; height: 14px; display: block; }
.hamburguer i { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s ease, opacity .2s, top .3s ease; }
.hamburguer i:nth-child(1) { top: 0; } .hamburguer i:nth-child(2) { top: 6px; } .hamburguer i:nth-child(3) { top: 12px; }
.nav.aberto .hamburguer i:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav.aberto .hamburguer i:nth-child(2) { opacity: 0; }
.nav.aberto .hamburguer i:nth-child(3) { top: 6px; transform: rotate(-45deg); }
.nav-painel {
  pointer-events: auto; max-width: 1192px; margin: 8px auto 0; padding: .6rem; border-radius: 18px; display: none; flex-direction: column;
  background: linear-gradient(180deg, rgba(14,22,42,.97), rgba(10,17,33,.97)); border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.7); backdrop-filter: blur(18px);
}
.nav.aberto .nav-painel { display: flex; animation: entra .3s cubic-bezier(.2,.8,.2,1); }
.nav-painel > a { color: rgba(255,255,255,.9); font-weight: 600; padding: .9rem 1rem; border-radius: 12px; text-decoration: none; }
.nav-painel > a:hover, .nav-painel > a:active { background: rgba(255,255,255,.08); }
.nav-painel-acoes { display: flex; gap: .5rem; padding: .6rem .4rem .3rem; border-top: 1px solid rgba(255,255,255,.08); margin-top: .3rem; }
.nav-painel-acoes .btn { flex: 1; }
.nav-painel .btn-entrar { color: #fff; border: 1px solid rgba(255,255,255,.25); background: transparent; height: 44px; border-radius: 12px; }
.nav-painel .btn-entrar svg { width: 16px; height: 16px; }
@media (max-width: 1060px) {
  .nav-links, .so-desktop { display: none !important; }
  .so-movel { display: inline-flex !important; }
}
@media (max-width: 560px) {
  .nav { padding: 8px 8px 0; }
  .nav-in { height: 68px; padding: 0 8px 0 16px; border-radius: 18px; gap: .5rem; }
  .nav .logo { --logo-h: 46px; }
  .nav.solido .nav-in { height: 62px; }
  .nav .btn-primario { height: 40px; padding: 0 .9rem; font-size: .88rem; }
  .nav .btn-primario svg { display: none; }
  .nav .acoes-nav { gap: .4rem; }
  .heroi2 .cta .btn { width: 100%; }
}
@media (max-width: 350px) { .nav .logo { --logo-h: 38px; } .nav .btn-primario { padding: 0 .7rem; font-size: .82rem; } }

.btn-vidro { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.28); backdrop-filter: blur(10px); }
.btn-vidro:hover { background: rgba(255,255,255,.2); }

/* ---------- herói com foto (enxuto) ---------- */
.heroi2 { position: relative; min-height: 88vh; min-height: 88svh; display: flex; align-items: center; color: #fff; isolation: isolate; overflow: hidden; }
.heroi2-foto { position: absolute; inset: 0; z-index: -2; }
.heroi2-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; animation: kenburns 40s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.08); } }
.heroi2::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(95deg, rgba(9,16,32,.92) 0%, rgba(9,16,32,.78) 38%, rgba(9,16,32,.30) 72%, rgba(9,16,32,.18) 100%),
              linear-gradient(0deg, rgba(9,16,32,.55) 0%, transparent 30%);
}
.heroi2-in { width: 100%; max-width: 1200px; margin: 0 auto; padding: 10rem 1.5rem 6rem; }
@media (max-width: 1020px) { .heroi2-in { padding-top: 7.5rem; padding-bottom: 5rem; } }
.heroi2-texto { max-width: 600px; animation: sobeSuave .9s cubic-bezier(.2,.8,.2,1) both; }
.heroi2 .sobre { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #6ee7b7; }
.heroi2 h1 { color: #fff; font-size: clamp(2.3rem, 4.6vw, 3.6rem); line-height: 1.06; letter-spacing: -.035em; font-weight: 800; margin: 1rem 0 1.2rem; }
.heroi2 h1 em { font-style: normal; color: #6ee7b7; }
.heroi2 .lead { font-size: 1.15rem; line-height: 1.6; color: rgba(226,232,240,.85); max-width: 32rem; margin: 0; }
.heroi2 .cta { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 2.2rem; }
.heroi2 .nota { margin: 1.3rem 0 0; font-size: .86rem; color: rgba(226,232,240,.62); }

/* cartões flutuantes (usados nas telas de entrada e em "como funciona") */
.flutuante { position: absolute; display: flex; gap: .7rem; align-items: center; padding: .75rem 1rem; border-radius: 16px; background: #fff; color: var(--marinho); box-shadow: 0 24px 50px -12px rgba(0,0,0,.45); font-size: .84rem; opacity: 0; }
.flutuante b { display: block; font-size: .92rem; }
.flutuante small { color: #64748b; }
.flutuante .ok { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--botao); color: #fff; flex: none; }
.flutuante .ok svg { width: 19px; height: 19px; }
@keyframes pop { from { opacity: 0; transform: scale(.7) translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes boia { 50% { transform: translateY(-8px); } }
@keyframes flutua { from { transform: translate(0,0); } to { transform: translate(40px,-30px); } }

/* ---------- faixa de fatos ---------- */
.fatos { position: relative; z-index: 2; max-width: 1100px; margin: -2.5rem auto 0; padding: 0 1.5rem; }
.fatos-in { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--superficie); border: 1px solid var(--borda); border-radius: 20px; box-shadow: var(--sombra-3); overflow: hidden; }
.fato { padding: 1.5rem 1.4rem; border-right: 1px solid var(--borda); }
.fato:last-child { border-right: 0; }
.fato .num { font: 800 2.2rem var(--fonte-titulo); letter-spacing: -.04em; color: var(--texto); }
.fato .num small { font-size: 1.1rem; color: var(--marca-forte); margin-left: .1rem; }
.fato p { margin: .1rem 0 0; color: var(--texto-2); font-size: .88rem; }
@media (max-width: 860px) { .fatos-in { grid-template-columns: repeat(2, 1fr); } .fato:nth-child(2) { border-right: 0; } .fato:nth-child(-n+2) { border-bottom: 1px solid var(--borda); } }

/* ---------- seções ---------- */
.secao { max-width: 1200px; margin: 0 auto; padding: 6rem 1.5rem; }
.secao-cab { max-width: 640px; margin-bottom: 3rem; }
.secao-cab.centro { margin-left: auto; margin-right: auto; text-align: center; }
.sobretitulo { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--marca-forte); margin-bottom: .8rem; }
.secao h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -.035em; line-height: 1.1; font-weight: 800; }
.secao-cab p { font-size: 1.08rem; color: var(--texto-2); }

.grade-recursos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
@media (max-width: 960px) { .grade-recursos { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grade-recursos { grid-template-columns: 1fr; } }
.rec { position: relative; padding: 1.6rem; border-radius: 20px; background: var(--superficie); border: 1px solid var(--borda); transition: transform .3s, box-shadow .3s, border-color .3s; overflow: hidden; }
.rec::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(16,185,129,.12), transparent 45%); opacity: 0; transition: opacity .3s; }
.rec:hover { transform: translateY(-4px); box-shadow: var(--sombra-2); border-color: color-mix(in srgb, var(--marca) 35%, var(--borda)); }
.rec:hover::before { opacity: 1; }
.rec .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.1rem; color: #fff; background: var(--botao); box-shadow: 0 10px 22px -10px rgba(13,148,136,.8); }
.rec .ic svg { width: 23px; height: 23px; }
.rec .ic-imagem { display: block; width: 68px; height: 68px; margin: -10px 0 .6rem -6px; filter: drop-shadow(0 10px 18px rgba(13,148,136,.28)); transition: transform .3s ease; }
.rec:hover .ic-imagem { transform: translateY(-2px) scale(1.04); }
.rec h3 { font-size: 1.08rem; margin-bottom: .4rem; }
.rec p { color: var(--texto-2); font-size: .93rem; margin: 0; }

.dividido { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
@media (max-width: 960px) { .dividido { grid-template-columns: 1fr; gap: 2.5rem; } }
.foto-moldura { position: relative; border-radius: 26px; }
.foto-moldura img { width: 100%; aspect-ratio: 4/3.2; object-fit: cover; border-radius: 26px; box-shadow: var(--sombra-3); display: block; }
.foto-moldura::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; border-radius: 30px; background: var(--degrade); opacity: .18; z-index: -1; }
.foto-moldura .flutuante { opacity: 1; animation: boia 6s ease-in-out infinite; }
.foto-moldura .flutuante.fa { left: -24px; bottom: 34px; }
.foto-moldura .flutuante.fb { right: -18px; top: 30px; animation-delay: -3s; }
@media (max-width: 620px) { .foto-moldura .flutuante { display: none; } }
.passos { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-direction: column; gap: 1.2rem; }
.passos li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; }
.passos .n { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font: 800 1rem var(--fonte-titulo); color: var(--marca-forte); background: var(--marca-suave); border: 1px solid color-mix(in srgb, var(--marca) 25%, transparent); }
.passos b { display: block; font-size: 1rem; margin-top: .15rem; }
.passos span { color: var(--texto-2); font-size: .93rem; }

.banda { position: relative; isolation: isolate; color: #fff; overflow: hidden; }
.banda > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.1); }
.banda::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(8,14,28,.9) 0%, rgba(8,14,28,.66) 55%, rgba(8,14,28,.35) 100%); }
.banda .secao h2 { color: #fff; }
.banda .secao-cab p { color: rgba(226,232,240,.8); }
.banda .sobretitulo { color: #6ee7b7; }
.cartoes-vidro { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
@media (max-width: 860px) { .cartoes-vidro { grid-template-columns: 1fr; } }
.cv { padding: 1.6rem; border-radius: 20px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(12px); }
.cv .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(16,185,129,.2); color: #6ee7b7; margin-bottom: 1rem; }
.cv .ic svg { width: 22px; height: 22px; }
.cv h3 { color: #fff; font-size: 1.05rem; }
.cv p { color: rgba(226,232,240,.75); font-size: .92rem; margin: 0; }

.cta-final { max-width: 1200px; margin: 0 auto; padding: 5rem 1.5rem; }
.cta-caixa { position: relative; overflow: hidden; border-radius: 28px; padding: 3.5rem; text-align: center; color: #fff; background: radial-gradient(600px circle at 15% 20%, rgba(16,185,129,.5), transparent 60%), radial-gradient(500px circle at 90% 90%, rgba(14,165,233,.35), transparent 60%), var(--marinho); }
.cta-caixa h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -.035em; }
.cta-caixa p { color: rgba(226,232,240,.8); font-size: 1.08rem; max-width: 34rem; margin: 0 auto 2rem; }

/* rodapé: sempre escuro, na mesma linguagem do cabeçalho */
.rodape {
  position: relative; color: rgba(226,232,240,.72); margin-top: 2rem;
  background: radial-gradient(900px 300px at 10% 0%, rgba(16,185,129,.14), transparent 60%),
              radial-gradient(700px 260px at 95% 100%, rgba(14,165,233,.10), transparent 60%),
              linear-gradient(180deg, #0e162a, #0a1121);
}
.rodape::before { /* fio de luz no topo */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(52,211,153,.7), rgba(94,234,212,.6), transparent);
}
.rodape-in { max-width: 1200px; margin: 0 auto; padding: 4rem 1.5rem 3rem; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; }
@media (max-width: 900px) { .rodape-in { grid-template-columns: 1fr 1fr; } .rodape-marca { grid-column: 1 / -1; } }
@media (max-width: 520px) { .rodape-in { grid-template-columns: 1fr; } }
.rodape .logo { --logo-h: 66px; }
.rodape-marca p { margin: 1.1rem 0 0; font-size: .92rem; line-height: 1.6; max-width: 26rem; color: rgba(226,232,240,.62); }
.rodape-col { display: flex; flex-direction: column; gap: .7rem; }
.rodape-col h4 { color: #fff; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 .3rem; }
.rodape-col a { color: rgba(226,232,240,.72); font-weight: 500; font-size: .93rem; text-decoration: none; width: fit-content; transition: color .2s; }
.rodape-col a:hover { color: #6ee7b7; }
.rodape-horizon .logo-horizon { width: fit-content; margin: -.4rem 0 .1rem; line-height: 0; opacity: .95; transition: opacity .2s, transform .2s; }
.rodape-horizon .logo-horizon:hover { opacity: 1; transform: translateY(-1px); }
.rodape-horizon .logo-horizon img { height: 76px; width: auto; display: block; }
.rodape-sobre { font-size: .82rem; color: rgba(226,232,240,.5); margin-bottom: .2rem; }
.rodape-base {
  max-width: 1200px; margin: 0 auto; padding: 1.4rem 1.5rem 2rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.08); font-size: .84rem; color: rgba(226,232,240,.5);
}

/* ---------- entrar / cadastro ---------- */
.auth2 { min-height: 100vh; display: grid; grid-template-columns: minmax(420px, 1fr) 1.15fr; }
@media (max-width: 1000px) { .auth2 { grid-template-columns: 1fr; } .auth-foto { display: none !important; } }
.auth2-form { position: relative; display: flex; flex-direction: column; padding: 2rem clamp(1.25rem, 5vw, 4.5rem); overflow: hidden; isolation: isolate; }
.auth2-form .orbe { position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); opacity: .5; animation: flutua 16s ease-in-out infinite alternate; pointer-events: none; }
.auth2-form .orbe.o1 { width: 340px; height: 340px; right: -140px; top: -120px; background: rgba(16,185,129,.35); }
.auth2-form .orbe.o2 { width: 300px; height: 300px; left: -150px; bottom: -120px; background: rgba(14,165,233,.25); animation-delay: -8s; }
.auth2-form .caixa { width: 100%; max-width: 420px; margin: auto; padding: 2rem 0; }
.auth2-form .caixa.larga { max-width: 580px; }
@keyframes sobeSuave { from { opacity: 0; transform: translateY(16px); } }
.auth2-form h1 { font-size: 2.1rem; letter-spacing: -.035em; margin-bottom: .4rem; }
.auth2-form form { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.8rem; }
.auth2-form .campo input:not([type=checkbox]) { height: 48px; border-radius: 12px; background: var(--superficie); }
.auth2-form .rodape-mini { margin-top: auto; font-size: .8rem; color: var(--texto-3); display: flex; gap: 1rem; flex-wrap: wrap; }
.auth2-form .rodape-mini a { color: var(--texto-3); }

.auth-foto { position: relative; overflow: hidden; isolation: isolate; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 3.5rem; margin: .75rem; border-radius: 28px; }
.auth-foto > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: kenburns 30s ease-in-out infinite alternate; }
.auth-foto::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,14,28,.15) 0%, rgba(8,14,28,.35) 45%, rgba(8,14,28,.92) 100%); }
.auth-foto h2 { color: #fff; font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1.1; letter-spacing: -.035em; max-width: 30rem; }
.auth-foto p { color: rgba(226,232,240,.82); max-width: 30rem; margin: 0; font-size: 1.02rem; }
.auth-foto .flutuante.fa { top: 2.5rem; right: 2.5rem; animation: pop .6s .6s cubic-bezier(.2,1.4,.4,1) forwards, boia 5s 1.2s ease-in-out infinite; }
.auth-foto .flutuante.fb { top: 9.5rem; right: 6rem; animation: pop .6s 1.1s cubic-bezier(.2,1.4,.4,1) forwards, boia 6s 1.7s ease-in-out infinite reverse; }
.auth-foto .credito { position: absolute; right: 1.2rem; bottom: .9rem; font-size: .68rem; color: rgba(255,255,255,.55); }
.auth-foto .credito a { color: inherit; font-weight: 400; }
.chips { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1.4rem; }
.chips span { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .8rem; border-radius: 999px; font-size: .8rem; font-weight: 600; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(8px); }
.chips svg { width: 14px; height: 14px; color: #6ee7b7; }

/* ---------- revelar ao rolar ---------- */
[data-revela] { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: var(--atraso, 0s); }
[data-revela].visivel { opacity: 1; transform: none; }
.sem-js [data-revela] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-revela] { opacity: 1; transform: none; }
  .flutuante { opacity: 1; }
}

/* páginas simples (erro, 404, acesso negado) */
.auth-form { min-height: 100vh; display: flex; flex-direction: column; padding: 2rem 1.25rem; }
.auth-form .caixa { width: 100%; max-width: 460px; margin: auto; }

/* formulários de entrada: divisor e medidor de força de senha */
.divisor { display: flex; align-items: center; gap: .8rem; color: var(--texto-3); font-size: .82rem; }
.divisor::before, .divisor::after { content: ""; flex: 1; height: 1px; background: var(--borda); }
.forca { display: flex; gap: 4px; margin-top: .35rem; }
.forca i { flex: 1; height: 4px; border-radius: 4px; background: var(--borda); transition: background .2s; }
.forca[data-n="1"] i:nth-child(-n+1) { background: var(--perigo); }
.forca[data-n="2"] i:nth-child(-n+2) { background: var(--alerta); }
.forca[data-n="3"] i:nth-child(-n+3) { background: #84cc16; }
.forca[data-n="4"] i { background: var(--marca-forte); }


.secao > .logo { --logo-h: 64px; }
@media (max-width: 1020px) {
  .heroi2::before { background: linear-gradient(180deg, rgba(9,16,32,.78) 0%, rgba(9,16,32,.86) 60%, rgba(9,16,32,.92) 100%); }
}

/* âncoras: a seção para logo abaixo do cabeçalho flutuante */
html { scroll-behavior: smooth; }
#recursos, #como-funciona, #precos, #seguranca { scroll-margin-top: 110px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- entrar/cadastro: logo centralizada e efeitos de entrada ---------- */
.auth-logo { display: flex; justify-content: center; margin-bottom: 1.6rem; }
.auth-logo .logo { --logo-h: 96px; }
.auth2-form .caixa > h1, .auth2-form .caixa > h1 + p { text-align: center; }
.auth2-form .caixa > p.mudo:not(:has(a)) { text-align: center; }
@media (max-width: 560px) { .auth-logo .logo { --logo-h: 72px; } .auth2-form h1 { font-size: 1.7rem; } }

@keyframes entra { from { opacity: 0; transform: translateY(18px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes logoEntra { 0% { opacity: 0; transform: translateY(-10px) scale(.92); } 60% { opacity: 1; } 100% { opacity: 1; transform: none; } }
.auth2-form .caixa > * { opacity: 0; animation: entra .7s cubic-bezier(.2,.8,.2,1) forwards; }
.auth2-form .caixa > .auth-logo { animation: logoEntra .9s cubic-bezier(.2,.8,.2,1) forwards; }
.auth2-form .caixa > :nth-child(2) { animation-delay: .12s; }
.auth2-form .caixa > :nth-child(3) { animation-delay: .2s; }
.auth2-form .caixa > :nth-child(n+4) { animation-delay: .28s; }
.auth2-form form > * { opacity: 0; animation: entra .6s cubic-bezier(.2,.8,.2,1) forwards; }
.auth2-form form > :nth-child(1) { animation-delay: .34s; } .auth2-form form > :nth-child(2) { animation-delay: .42s; }
.auth2-form form > :nth-child(3) { animation-delay: .5s; }  .auth2-form form > :nth-child(4) { animation-delay: .58s; }
.auth2-form form > :nth-child(n+5) { animation-delay: .66s; }
.auth2-form .rodape-mini { opacity: 0; animation: entra .6s .8s ease forwards; }
/* foto: revela com zoom saindo e o texto sobe em sequência */
@keyframes revelaFoto { from { clip-path: inset(6% 6% 6% 6% round 40px); opacity: 0; } to { clip-path: inset(0 0 0 0 round 28px); opacity: 1; } }
.auth-foto { animation: revelaFoto 1.1s cubic-bezier(.7,0,.2,1) both; }
.auth-foto > img { animation: zoomSai 1.8s cubic-bezier(.2,.8,.2,1) both, kenburns 30s 1.8s ease-in-out infinite alternate; }
@keyframes zoomSai { from { transform: scale(1.18); } to { transform: scale(1.04); } }
.auth-foto-texto > * { opacity: 0; animation: entra .8s cubic-bezier(.2,.8,.2,1) forwards; }
.auth-foto-texto > :nth-child(1) { animation-delay: .7s; } .auth-foto-texto > :nth-child(2) { animation-delay: .85s; }
.auth-foto-texto > :nth-child(3) { animation-delay: 1s; }
.auth-foto .credito { opacity: 0; animation: entra .6s 1.2s ease forwards; }
@media (prefers-reduced-motion: reduce) {
  .auth2-form .caixa > *, .auth2-form form > *, .auth2-form .rodape-mini, .auth-foto-texto > *, .auth-foto .credito { opacity: 1; }
  .auth-foto { clip-path: none; }
}

/* ---------- versão desktop: separada, depois do "Testar grátis" (é outro sistema) ---------- */
.nav .btn-desktop { height: 44px; padding: 0 .9rem; border-radius: 12px; gap: .45rem; font-weight: 600; font-size: .9rem; color: rgba(255,255,255,.78); background: transparent; border: 1px dashed rgba(255,255,255,.25); }
.nav .btn-desktop:hover { color: #fff; border-style: solid; border-color: rgba(110,231,183,.6); background: rgba(16,185,129,.1); }
.nav .btn-desktop svg { width: 17px; height: 17px; }
@media (max-width: 1560px) { .nav .btn-desktop span { display: none; } .nav .btn-desktop { width: 44px; padding: 0; } }

/* ---------- preços ---------- */
.precos { max-width: 560px; margin: 0 auto; }
.ciclo { display: flex; width: fit-content; margin: 0 auto 1.5rem; padding: 5px; gap: 4px; border-radius: 14px; background: var(--superficie); border: 1px solid var(--borda); box-shadow: var(--sombra-1); }
.ciclo label { position: relative; cursor: pointer; }
.ciclo input { position: absolute; opacity: 0; pointer-events: none; }
.ciclo span { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1.2rem; border-radius: 10px; font-weight: 650; font-size: .93rem; color: var(--texto-2); transition: .2s; }
.ciclo span b { font-size: .7rem; font-weight: 800; padding: .15rem .45rem; border-radius: 999px; background: var(--marca-suave); color: var(--marca-forte); }
.ciclo input:checked + span { background: var(--marinho); color: #fff; box-shadow: 0 6px 16px -8px rgba(11,19,36,.6); }
.ciclo input:checked + span b { background: rgba(110,231,183,.18); color: #6ee7b7; }
.ciclo input:focus-visible + span { outline: 2px solid var(--marca); outline-offset: 2px; }
.plano { position: relative; padding: 2rem; border-radius: 24px; background: var(--superficie); border: 1px solid var(--borda); box-shadow: var(--sombra-3); overflow: hidden; }
.plano::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--degrade); }
.plano-topo { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.plano h3 { font-size: 1.3rem; margin: 0 0 .25rem; }
.plano-topo p { margin: 0; color: var(--texto-2); font-size: .92rem; }
.valor { margin: 1.6rem 0 1.4rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--borda); }
.valor > div { display: flex; align-items: baseline; gap: .3rem; }
.valor .moeda { font-weight: 700; font-size: 1.2rem; color: var(--texto-2); align-self: flex-start; margin-top: .6rem; }
.valor .num { font: 800 3.4rem var(--fonte-titulo); letter-spacing: -.04em; line-height: 1; color: var(--texto); }
.valor .per { color: var(--texto-2); font-weight: 600; }
.valor p { margin: .5rem 0 0; color: var(--texto-2); font-size: .9rem; }
.valor p b { color: var(--marca-forte); }
.inclui { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: .7rem; }
.inclui li { display: flex; gap: .65rem; align-items: flex-start; font-size: .94rem; color: var(--texto); }
.inclui svg { width: 18px; height: 18px; flex: none; margin-top: 2px; padding: 2px; border-radius: 50%; color: #fff; background: var(--botao); stroke-width: 3; }
.desktop-nota { text-align: center; margin: 1.4rem 0 0; color: var(--texto-2); font-size: .92rem; }
[data-ciclo="anual"] .so-mensal, [data-ciclo="mensal"] .so-anual { display: none !important; }
@media (max-width: 560px) { .plano { padding: 1.4rem; } .valor .num { font-size: 2.8rem; } .ciclo span { padding: .55rem .8rem; font-size: .88rem; } .plano-topo { flex-direction: column; } }

/* celular: vem por último para vencer as regras de tablet acima */
@media (max-width: 560px) {
  .nav .logo { --logo-h: 44px; }
  .nav .acoes-nav { gap: .4rem; }
  .nav .btn-primario { height: 40px; padding: 0 .85rem; font-size: .86rem; }
  .nav .btn-icone { width: 40px; height: 40px; }
}
@media (max-width: 360px) {
  .nav-in { padding: 0 6px 0 12px; }
  .nav .logo { --logo-h: 36px; }
  .nav .btn-primario { padding: 0 .65rem; font-size: .8rem; }
}
@media (min-width: 1061px) and (max-width: 1120px) {
  .nav .logo { --logo-h: 56px; }
  .nav-links a { padding: .6rem .5rem; font-size: .9rem; }
  .nav-links a::after { left: .5rem; right: .5rem; }
  .nav-links { margin-left: .4rem; }
}
