/* DNSync — tela de entrada (proposta 2, 25/11/2026). Só visual: o formulário e o login continuam os mesmos.
   Escopo: html.ent (classe posta pelo entrada.js). Regra fixa do Lincon: nenhuma menção ao segmento nesta tela. */

html.ent #authGate{
  --e-bg:#060b16; --e-ink:#f3f7fd; --e-mut:#9aabc4; --e-mut2:#6e819d; --e-line:rgba(140,175,230,.16);
  --e-brand:#3A8FE0; --e-brand2:#62b4ff; --e-ok:#34d399;
  background:var(--e-bg) !important; isolation:isolate;
  display:flex; flex-direction:row; align-items:safe center; justify-content:center; gap:clamp(40px,6vw,96px);
  padding:36px clamp(20px,5vw,72px) !important;
}

/* ---------- fundo ---------- */
html.ent #authGate > .ent-bg{ position:fixed; inset:0; z-index:-1; pointer-events:none; overflow:hidden;
  background:
    radial-gradient(900px 600px at 12% 18%, rgba(46,119,201,.30), transparent 60%),
    radial-gradient(700px 520px at 88% 80%, rgba(98,180,255,.16), transparent 60%),
    radial-gradient(600px 420px at 70% 10%, rgba(76,94,255,.12), transparent 60%),
    linear-gradient(180deg,#070d1a 0%,#060b16 100%); }
html.ent #authGate > .ent-bg::before{ content:""; position:absolute; inset:0;
  background-image:linear-gradient(rgba(140,175,230,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(140,175,230,.06) 1px,transparent 1px);
  background-size:56px 56px; -webkit-mask-image:radial-gradient(ellipse 70% 60% at 40% 40%,#000 30%,transparent 80%); mask-image:radial-gradient(ellipse 70% 60% at 40% 40%,#000 30%,transparent 80%); }
html.ent #authGate > .ent-bg svg{ position:absolute; right:-140px; top:-160px; width:720px; height:720px; opacity:.55; }

/* ---------- coluna da apresentação ---------- */
#entHero{ flex:0 1 620px; min-width:0; color:var(--e-ink); font-family:Inter,'Segoe UI',system-ui,sans-serif; display:flex; flex-direction:column; gap:24px; }
#entHero .e-top{ display:flex; flex-direction:column; gap:16px; }
#entHero .e-feat li > div{ display:flex; flex-direction:column; gap:3px; }
#entHero .e-logo{ display:block; width:170px; height:auto; aspect-ratio:420/132; object-fit:contain; margin:0 0 4px -4px; }
#entHero .e-k{ align-self:flex-start; display:inline-flex; align-items:center; gap:9px; font-size:12px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:#a8d1ff;
  padding:7px 14px 7px 10px; border-radius:999px; background:linear-gradient(90deg,rgba(58,143,224,.20),rgba(58,143,224,.06)); border:1px solid rgba(98,180,255,.30); }
#entHero .e-k i{ position:relative; width:8px; height:8px; border-radius:50%; background:var(--e-ok); }
#entHero .e-k i::after{ content:""; position:absolute; inset:-4px; border-radius:50%; border:2px solid var(--e-ok); opacity:0; animation:entPing 2.2s ease-out infinite; }
@keyframes entPing{ 0%{ transform:scale(.6); opacity:.8 } 100%{ transform:scale(1.8); opacity:0 } }
#entHero h1{ margin:0; font-size:clamp(36px,3.4vw,50px); line-height:1.04; font-weight:800; letter-spacing:-.035em; text-wrap:balance; }
#entHero h1 em{ font-style:normal; background:linear-gradient(92deg,#5aa8ff 0%,#8fd0ff 55%,#c8e6ff 100%); -webkit-background-clip:text; background-clip:text; color:transparent; }
#entHero .e-s{ margin:0; font-size:16.5px; line-height:1.6; color:var(--e-mut); max-width:520px; }
#entHero .e-s b{ color:#dbe8f8; font-weight:600; }
#entHero .e-cta{ display:flex; align-items:center; gap:16px; flex-wrap:wrap; }
html.ent #authGate #entHero .e-cta button{ width:auto; margin:0; padding:0 22px; height:48px; border-radius:13px; font-size:15px; font-weight:700; display:inline-flex; align-items:center; gap:10px; }
#entHero .e-cta button svg{ width:17px; height:17px; transition:transform .18s; }
#entHero .e-cta button:hover svg{ transform:translateX(3px); }
#entHero .e-cta small{ font-size:13px; color:var(--e-mut2); }
#entHero .e-cta small b{ color:var(--e-mut); font-weight:600; }

#entHero .e-feat{ display:flex; flex-direction:column; gap:16px; max-width:520px; margin:8px 0 0; padding:24px 0 0; list-style:none; border-top:1px solid var(--e-line); }
#entHero .e-feat li{ display:flex; flex-direction:row; align-items:flex-start; gap:14px; }
#entHero .e-feat .ic{ flex:none; width:32px; height:32px; border-radius:9px; display:flex; align-items:center; justify-content:center; background:rgba(58,143,224,.14); border:1px solid rgba(98,180,255,.22); }
#entHero .e-feat .ic svg{ width:15px; height:15px; stroke:#8fc8ff; }
#entHero .e-feat b{ font-size:15px; color:#eef4fc; font-weight:700; }
#entHero .e-feat span{ font-size:14px; color:var(--e-mut2); line-height:1.45; }

/* ---------- cartão do formulário (mesmos campos, roupa nova) ---------- */
html.ent #authGate .card{ position:relative; flex:0 0 432px; width:432px; max-width:100%; margin:0; padding:34px 34px 22px;
  background:linear-gradient(180deg,rgba(17,26,44,.82),rgba(10,16,29,.86)); -webkit-backdrop-filter:blur(18px); backdrop-filter:blur(18px);
  border:1px solid rgba(140,175,230,.18); border-radius:26px; box-shadow:0 50px 100px -30px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.06); }
html.ent #authGate .card::before{ content:""; position:absolute; left:34px; right:34px; top:-1px; height:2px; border-radius:2px;
  background:linear-gradient(90deg,transparent,#62b4ff,transparent); opacity:.9; }
html.ent #authGate .card > .logo{ display:none; }
html.ent #authGate .ent-head{ margin:0 0 18px; }
html.ent #authGate .ent-head h2{ margin:0 0 6px; font-size:25px; line-height:1.15; font-weight:800; letter-spacing:-.02em; color:#f3f7fd; }
html.ent #authGate .ent-head p{ margin:0; font-size:14px; color:var(--e-mut); }
html.ent #authGate label:not(.keeprow):not(.chk){ font-size:12.5px; font-weight:600; letter-spacing:0; text-transform:none; color:#c3d0e2; margin:16px 0 7px; }
html.ent #authGate input:not([type=checkbox]){ height:50px; border-radius:13px; background:rgba(255,255,255,.035); border:1px solid rgba(140,175,230,.16); font-size:15px; padding:0 14px; }
html.ent #authGate input:not([type=checkbox]):hover{ border-color:rgba(140,175,230,.28); }
html.ent #authGate input:not([type=checkbox]):focus{ background:rgba(58,143,224,.06); border-color:#3A8FE0; box-shadow:0 0 0 4px rgba(58,143,224,.18); }
html.ent #authGate #email, html.ent #authGate #senha{ padding-left:44px; background-repeat:no-repeat; background-position:15px center; background-size:18px 18px; }
html.ent #authGate #email{ background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237f93b0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2.5'/%3E%3Cpath d='m4 7 8 6 8-6'/%3E%3C/svg%3E"); }
html.ent #authGate #senha{ background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237f93b0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2.5'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E"); }
html.ent #authGate #btnEntrar, html.ent #authGate #btnCadastrar, html.ent #authGate #btnConfirmarCod{ height:52px; padding:0; margin-top:20px; border-radius:14px; font-size:15.5px;
  background:linear-gradient(180deg,#4aa0f0 0%,#2E77C9 100%); box-shadow:0 14px 30px -8px rgba(46,119,201,.65), inset 0 1px 0 rgba(255,255,255,.22); }
html.ent #authGate .keeprow{ margin-top:16px; font-size:13.5px; color:#b6c4d8; }
html.ent #authGate .linkrow{ margin-top:18px; }
html.ent #authGate .sub{ margin-top:22px; padding-top:18px; border-top:1px solid rgba(140,175,230,.12); color:var(--e-mut2); }
html.ent #authGate .trust-row{ color:var(--e-mut2); }
html.ent #authGate .gate-foot{ border-top:0; color:#566781; }

/* ---------- telas médias e celular: formulário primeiro, apresentação embaixo ---------- */
@media (max-width:1100px){
  html.ent #authGate{ flex-direction:column; justify-content:flex-start !important; align-items:center; gap:26px; padding:28px 16px 40px !important; }
  #entHero{ display:contents; }
  #entHero .e-top{ order:1; display:flex; flex-direction:column; align-items:center; text-align:center; gap:14px; width:100%; max-width:432px; }
  #entHero .e-logo{ width:170px; margin:0 auto; }
  #entHero .e-k{ align-self:center; font-size:11px; }
  #entHero h1{ font-size:30px; }
  #entHero .e-s, #entHero .e-cta{ display:none; }
  html.ent #authGate .card{ order:2; flex:none; width:100%; max-width:432px; padding:26px 20px 18px; border-radius:22px; }
  html.ent #authGate .card::before{ left:22px; right:22px; }
  #entHero .e-feat{ order:4; width:100%; max-width:432px; grid-template-columns:1fr; gap:10px; }
  #entHero .e-feat li{ flex-direction:row; align-items:center; gap:12px; padding:12px 14px; border-radius:14px; background:rgba(255,255,255,.03); border:1px solid var(--e-line); }
  #entHero .e-feat li > div{ display:flex; flex-direction:column; gap:2px; }
  #entHero .e-feat .ic{ flex:none; }
  html.ent #authGate > .ent-bg svg{ right:-260px; top:-240px; }
  html.ent #authGate .ent-head h2{ font-size:22px; }
}
@media (max-width:400px){
  #entHero h1{ font-size:27px; }
}
@media (prefers-reduced-motion:reduce){
  #entHero *, #entHero *::after{ animation:none !important; }
}

/* computador com tela baixa: tira a lista de recursos para tudo caber sem rolar */


/* olho da senha herdava a sombra azul dos botões */
html.ent #authGate .pwd-eye{ box-shadow:none !important; background:transparent !important; }
html.ent #authGate .pwd-eye:hover{ transform:none; filter:none; color:#cfe0f3; }
/* botão "Testar grátis" claro, para não competir com o "Entrar" */
html.ent #authGate #entHero .e-cta button{ background:#f3f7fd; color:#0b1a33; box-shadow:0 12px 30px -10px rgba(98,180,255,.55); }
html.ent #authGate #entHero .e-cta button svg{ stroke:#0b1a33; }
@media (max-width:1100px){ html.ent #authGate > .ent-bg svg{ opacity:.22; } }
html.ent #authGate .msg:empty{ min-height:0; height:0; margin:0; padding:0; }
html.ent #authGate .sub{ margin-top:18px; }
@media (max-width:1100px){
  #entHero .e-feat{ border-top:0; padding-top:0; margin-top:0; }
  html.ent #authGate > .ent-bg svg{ display:none; }
}
/* seletor de país do celular na mesma altura dos campos */
html.ent #authGate .tel-cc{ height:50px; margin:0; border-radius:13px; background:rgba(255,255,255,.035); border:1px solid rgba(140,175,230,.16); box-shadow:none; }
html.ent #authGate .tel-cc:hover{ transform:none; box-shadow:none; border-color:rgba(140,175,230,.28); }
html.ent #authGate .tel-wrap{ align-items:stretch; }
html.ent #authGate #ddPais{ margin:0 !important; flex:none; }
html.ent #authGate .tel-wrap #cTelefone{ min-width:0; width:auto; flex:1 1 0; }

/* ---------- fundo em movimento (v2): luzes que flutuam, grade que desliza, arcos girando e pulso de sinal ---------- */
html.ent #authGate > .ent-bg > i{ position:absolute; border-radius:50%; filter:blur(70px); will-change:transform; pointer-events:none; }
html.ent #authGate > .ent-bg > .b1{ width:620px; height:620px; left:-120px; top:-140px; background:rgba(46,119,201,.34); animation:entB1 22s ease-in-out infinite alternate; }
html.ent #authGate > .ent-bg > .b2{ width:520px; height:520px; right:-120px; bottom:-160px; background:rgba(98,180,255,.22); animation:entB2 26s ease-in-out infinite alternate; }
html.ent #authGate > .ent-bg > .b3{ width:420px; height:420px; left:42%; top:30%; background:rgba(76,94,255,.16); animation:entB3 30s ease-in-out infinite alternate; }
@keyframes entB1{ 0%{ transform:translate(0,0) scale(1) } 50%{ transform:translate(220px,140px) scale(1.15) } 100%{ transform:translate(80px,320px) scale(.95) } }
@keyframes entB2{ 0%{ transform:translate(0,0) scale(1) } 50%{ transform:translate(-260px,-180px) scale(1.2) } 100%{ transform:translate(-120px,-40px) scale(1) } }
@keyframes entB3{ 0%{ transform:translate(0,0) scale(.9) } 50%{ transform:translate(-200px,160px) scale(1.15) } 100%{ transform:translate(180px,-120px) scale(1) } }
html.ent #authGate > .ent-bg::before{ animation:entGrid 24s linear infinite; }
@keyframes entGrid{ to{ background-position:56px 56px, 56px 56px; } }
html.ent #authGate > .ent-bg svg{ animation:entGira 90s linear infinite; transform-origin:50% 50%; }
@keyframes entGira{ to{ transform:rotate(360deg); } }
html.ent #authGate > .ent-bg > .pulso{ position:absolute; right:-140px; top:-160px; width:720px; height:720px; pointer-events:none; }
html.ent #authGate > .ent-bg > .pulso::before, html.ent #authGate > .ent-bg > .pulso::after{ content:""; position:absolute; left:50%; top:50%; width:16px; height:16px; margin:-8px 0 0 -8px; border-radius:50%;
  border:1.5px solid rgba(90,168,255,.55); animation:entPulso 4.5s ease-out infinite; }
html.ent #authGate > .ent-bg > .pulso::after{ animation-delay:2.25s; }
@keyframes entPulso{ 0%{ width:16px; height:16px; margin:-8px 0 0 -8px; opacity:.9 } 100%{ width:700px; height:700px; margin:-350px 0 0 -350px; opacity:0 } }
@media (max-width:1100px){ html.ent #authGate > .ent-bg > .pulso{ display:none; } html.ent #authGate > .ent-bg > i{ filter:blur(55px); } }
@media (prefers-reduced-motion:reduce){ html.ent #authGate > .ent-bg *, html.ent #authGate > .ent-bg::before{ animation:none !important; } }
