/* Área do Aluno — estilo-base.css: tokens, a mesa, o pergaminho (rolos, papel, meandro), campos, botões,
   balões, a coruja, o botão "Pular" e os painéis. Os tokens da marca são os mesmos do site (index.html, :root). */

:root {
  --navy: #1A2A44; --navy-deep: #0D1727; --gold: #C6A75E; --gold-soft: #E1C98A; --gold-dark: #86671f;
  --burgundy: #6A1B1B; --burgundy-soft: #8a2a24;
  --parchment: #EADBB8; --parchment-light: #F2E9D8; --parchment-dark: #D6BE8E;
  --ink: #3B2A1A; --ink-soft: #8A6E4B; --wood: #5B3A22;
  --on-dark: #F2E9D8; --on-dark-muted: #C9C2B3;
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body: "Montserrat", "Segoe UI", Arial, sans-serif;
  --mark-a: var(--navy); --mark-p: var(--gold); --mark-f: rgba(110, 85, 35, .55);
  --gutter: 16px;
  --papel-grao: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .36 0 0 0 0 .24 0 0 0 0 .1 0 0 0 .42 -.09'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23g)'/%3E%3C/svg%3E");
  --papel-manchas: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='560' height='560'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.009' numOctaves='3' seed='9' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .33 0 0 0 0 .12 0 0 0 1.0 -.45'/%3E%3C/filter%3E%3Crect width='560' height='560' filter='url(%23m)'/%3E%3C/svg%3E");
  --meandro-h: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cg fill='none' stroke-linecap='square'%3E%3Cpath d='M0 2.6H24M0 21.4H24' stroke='%233B2A1A' stroke-opacity='.35' stroke-width='2.2'/%3E%3Cpath d='M0 2.6H24M0 21.4H24' stroke='%23C6A75E' stroke-width='1'/%3E%3Cpath d='M0 18V6H18V12H6V18H24' stroke='%233B2A1A' stroke-opacity='.4' stroke-width='3.6'/%3E%3Cpath d='M0 18V6H18V12H6V18H24' stroke='%23C6A75E' stroke-width='2'/%3E%3C/g%3E%3C/svg%3E");
  --meandro-v: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cg fill='none' stroke-linecap='square'%3E%3Cpath d='M2.6 0V24M21.4 0V24' stroke='%233B2A1A' stroke-opacity='.35' stroke-width='2.2'/%3E%3Cpath d='M2.6 0V24M21.4 0V24' stroke='%23C6A75E' stroke-width='1'/%3E%3Cpath d='M18 0H6V18H12V6H18V24' stroke='%233B2A1A' stroke-opacity='.4' stroke-width='3.6'/%3E%3Cpath d='M18 0H6V18H12V6H18V24' stroke='%23C6A75E' stroke-width='2'/%3E%3C/g%3E%3C/svg%3E");
  --rosa-canto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Crect x='2.6' y='2.6' width='18.8' height='18.8' fill='none' stroke='%23C6A75E' stroke-width='1'/%3E%3Cg fill='%23C6A75E' stroke='%233B2A1A' stroke-opacity='.45' stroke-width='.6'%3E%3Ccircle cx='12' cy='12' r='2.4'/%3E%3Cellipse cx='12' cy='6.6' rx='1.7' ry='3'/%3E%3Cellipse cx='12' cy='17.4' rx='1.7' ry='3'/%3E%3Cellipse cx='6.6' cy='12' rx='3' ry='1.7'/%3E%3Cellipse cx='17.4' cy='12' rx='3' ry='1.7'/%3E%3C/g%3E%3C/svg%3E");
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; min-height: 100svh; overflow-x: hidden;
  background: var(--navy-deep); color: var(--on-dark);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
img, svg { display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- A mesa: azul-marinho com a luz quente da lamparina ---------- */
#mesa {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(1100px 760px at 12% -6%, rgba(225, 201, 138, .20), rgba(225, 201, 138, .06) 42%, transparent 70%),
    radial-gradient(900px 600px at 100% 110%, rgba(0, 0, 0, .45), transparent 70%),
    radial-gradient(140% 120% at 50% 40%, transparent 55%, rgba(0, 0, 0, .55) 100%),
    var(--navy-deep);
}
#mesa::after {
  content: ""; position: absolute; inset: 0; opacity: .5; mix-blend-mode: soft-light;
  background-image: var(--papel-grao);
}
main { position: relative; z-index: 1; }
.tela { position: relative; min-height: 100vh; min-height: 100svh; overflow-x: clip; } /* clip (e não hidden): não cria rolagem e não quebra o rolo sticky */
.tela.saindo { animation: tela-sai .35s ease forwards; }
.tela.entrando { animation: tela-entra .45s ease both; }
@keyframes tela-sai { to { opacity: 0; } }
@keyframes tela-entra { from { opacity: 0; } }

/* ---------- O pergaminho ---------- */
.pergaminho { position: relative; margin-inline: auto; --rolo: 46px; --borda: 34px; }
.pg-folha {
  position: relative; margin-inline: 14px;
  background-color: var(--parchment);
  background-image:
    var(--papel-manchas), var(--papel-grao),
    radial-gradient(120% 70% at 50% 35%, #F3E8CB 0%, var(--parchment) 52%, #DCC395 100%);
  background-size: 560px 560px, 240px 240px, 100% 100%;
  box-shadow: inset 0 0 0 1px rgba(91, 58, 34, .22), inset 0 0 70px rgba(122, 82, 36, .40), inset 0 0 18px rgba(122, 82, 36, .25);
  color: var(--ink);
}
.pg-folha::before, .pg-folha::after { /* sombra que a folha joga na mesa */
  content: ""; position: absolute; top: 2%; bottom: 2%; width: 18px; z-index: -1;
  box-shadow: 0 0 40px 16px rgba(0, 0, 0, .55);
}
.pg-folha::before { left: 0; } .pg-folha::after { right: 0; }
.pg-borda { position: absolute; top: 0; bottom: 0; width: 12px; pointer-events: none; overflow: visible; }
.pg-borda.esq { left: -9px; } .pg-borda.dir { right: -9px; }

/* rolos: papel enrolado com as pontas da vareta de madeira */
.pg-rolo {
  position: relative; height: var(--rolo); z-index: 3; border-radius: calc(var(--rolo) / 2);
  background: linear-gradient(180deg, #6f5231 0%, #b99a66 14%, #ecdcb4 34%, #f6ebcd 46%, #dcc392 68%, #a07f4d 86%, #5f4426 100%);
  box-shadow: 0 10px 18px -6px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(59, 42, 26, .35);
}
.pg-rolo::before, .pg-rolo::after { /* pontas da vareta */
  content: ""; position: absolute; top: 50%; width: 26px; height: 22px; margin-top: -11px; border-radius: 6px;
  background: linear-gradient(180deg, #2e1c0f 0%, #7a4f2c 30%, #9c6a3e 45%, var(--wood) 70%, #26170c 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .35);
}
.pg-rolo::before { left: -18px; } .pg-rolo::after { right: -18px; }
.pg-rolo i { /* anel dourado perto de cada ponta */
  position: absolute; top: 3px; bottom: 3px; width: 5px; border-radius: 2px;
  background: linear-gradient(180deg, #7d6326, var(--gold-soft) 40%, var(--gold) 60%, #6d551d);
}
.pg-rolo i:first-child { left: 14px; } .pg-rolo i:last-child { right: 14px; }
.pg-rolo .faixa-rolo { /* filetes gravados no rolo, como na referência */
  position: absolute; top: 9px; bottom: 9px; left: 30px; right: 30px; border-left: 1px solid rgba(59, 42, 26, .35); border-right: 1px solid rgba(59, 42, 26, .35);
}

/* moldura: meandro dourado nos quatro lados, rosetas nos cantos e volutas por dentro */
.pg-moldura { position: absolute; inset: 20px; pointer-events: none; z-index: 1; }
.pg-moldura > b { position: absolute; display: block; }
.pg-moldura .m-t, .pg-moldura .m-b { left: 24px; right: 24px; height: 24px; background: var(--meandro-h) repeat-x center / auto 24px; }
.pg-moldura .m-t { top: 0; } .pg-moldura .m-b { bottom: 0; transform: scaleY(-1); }
.pg-moldura .m-l, .pg-moldura .m-r { top: 24px; bottom: 24px; width: 24px; background: var(--meandro-v) repeat-y center / 24px auto; }
.pg-moldura .m-l { left: 0; } .pg-moldura .m-r { right: 0; transform: scaleX(-1); }
.pg-moldura .c { width: 24px; height: 24px; background: var(--rosa-canto) no-repeat center / 24px 24px; }
.pg-moldura .c1 { left: 0; top: 0; } .pg-moldura .c2 { right: 0; top: 0; } .pg-moldura .c3 { left: 0; bottom: 0; } .pg-moldura .c4 { right: 0; bottom: 0; }
.pg-voluta { position: absolute; width: 78px; height: 78px; color: var(--gold-dark); opacity: .85; pointer-events: none; z-index: 1; }
.pg-voluta.v1 { left: 50px; top: 50px; } .pg-voluta.v2 { right: 50px; top: 50px; transform: scaleX(-1); }
.pg-voluta.v3 { left: 50px; bottom: 50px; transform: scaleY(-1); } .pg-voluta.v4 { right: 50px; bottom: 50px; transform: scale(-1); }
.pg-conteudo { position: relative; z-index: 2; }

/* ---------- Tipografia no pergaminho ---------- */
.olho { /* eyebrow do site, em dourado escuro para ler no papel */
  font: 600 11px/1.3 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-dark);
}
.titulo-pg { font: 600 clamp(32px, 4.4vw, 44px)/1.05 var(--display); color: var(--ink); margin: 0; letter-spacing: .005em; }
.filete { width: 64px; height: 2px; background: var(--gold); border: 0; margin: 14px auto; }
.selo-marca { /* o símbolo da Ágora no quadrado claro, como .tile do site */
  width: 64px; height: 64px; display: grid; place-items: center; margin: 0 auto 14px;
  background: #FAF6EE; border-radius: 4px; box-shadow: 0 6px 16px rgba(59, 42, 26, .28), 0 0 0 1px rgba(198, 167, 94, .45);
}
.selo-marca svg { width: 44px; height: 44px; }

/* ---------- Campos com linha de tinta ---------- */
.campo { position: relative; display: grid; gap: 2px; }
.campo > label, .campo .rotulo { font: 600 10.5px/1.3 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.campo input, .campo select {
  width: 100%; min-height: 42px; padding: 4px 2px 6px; border: 0; border-radius: 0; background: transparent;
  border-bottom: 1.5px solid rgba(59, 42, 26, .42); color: var(--ink);
  font: 500 21px/1.3 var(--display); transition: border-color .2s, box-shadow .2s;
}
.campo select { appearance: none; padding-right: 26px; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238A6E4B' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 4px center; }
.campo input::placeholder { color: rgba(138, 110, 75, .55); font-style: italic; }
.campo input:focus, .campo select:focus { outline: none; border-bottom-color: var(--gold-dark); box-shadow: 0 1.5px 0 0 var(--gold-dark); }
.campo input:focus-visible, .campo select:focus-visible { outline: none; }
.campo [aria-invalid="true"] { border-bottom-color: var(--burgundy); box-shadow: 0 1.5px 0 0 var(--burgundy); }
.campo .dica { font: 500 11.5px/1.4 var(--body); color: var(--ink-soft); }
.marcar { display: flex; gap: 10px; align-items: flex-start; font: 500 13px/1.5 var(--body); color: var(--ink); }
.marcar input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--burgundy); flex: none; }
.marcar a, .link { color: var(--burgundy); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; }

/* ---------- Botões ---------- */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 13px 24px;
  border: 1px solid rgba(198, 167, 94, .7); border-radius: 3px; cursor: pointer; text-decoration: none;
  background: linear-gradient(180deg, #22365a, var(--navy)); color: var(--gold-soft);
  font: 600 12px/1.2 var(--body); letter-spacing: .16em; text-transform: uppercase;
  box-shadow: 0 6px 14px rgba(13, 23, 39, .35), inset 0 1px 0 rgba(255, 255, 255, .08); transition: transform .15s, box-shadow .15s, filter .15s;
}
.botao svg { width: 16px; height: 16px; flex: none; }
.botao.bordo { background: linear-gradient(180deg, #7d2620, var(--burgundy)); color: var(--parchment-light); border-color: rgba(225, 201, 138, .7); }
.botao[aria-disabled="true"], .botao:disabled { filter: grayscale(.5) brightness(.85); cursor: not-allowed; box-shadow: none; }
@media (hover: hover) { .botao:not([aria-disabled="true"]):not(:disabled):hover { transform: translateY(-1px); box-shadow: 0 10px 20px rgba(13, 23, 39, .4); filter: brightness(1.08); } }
.botao-claro { /* botões sobre a mesa escura */
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; border-radius: 3px; cursor: pointer;
  background: rgba(13, 23, 39, .35); border: 1px solid rgba(198, 167, 94, .45); color: var(--on-dark);
  font: 600 11px/1.2 var(--body); letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
}
.botao-claro svg { width: 14px; height: 14px; }
@media (hover: hover) { .botao-claro:hover { border-color: var(--gold); color: var(--gold-soft); } }

/* ---------- "Pular" ---------- */
.pular {
  position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 80;
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; min-height: 40px; cursor: pointer;
  background: rgba(13, 23, 39, .72); color: var(--on-dark); border: 1px solid rgba(198, 167, 94, .5); border-radius: 999px;
  font: 600 11px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; backdrop-filter: blur(6px);
}
.pular svg { width: 14px; height: 14px; }

/* ---------- A coruja (o mesmo rig do site: corpo e duas asas) ---------- */
.coruja { position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none; opacity: 0; transition: opacity .45s; will-change: transform; }
.coruja.on { opacity: 1; }
.coruja .rig { position: absolute; inset: 0; transform-origin: 50% 100%; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .35)); transition: transform .35s ease; }
.coruja.parada .respira { animation: respira 4s ease-in-out infinite; }
.coruja .respira { position: absolute; inset: 0; transform-origin: 50% 100%; }
@keyframes respira { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.02); } }
.coruja .lyr { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; user-select: none; }
.coruja .wl { z-index: 1; opacity: 0; transform-origin: 25.56% 47.01%; }
.coruja .bd { z-index: 2; }
.coruja .wr { z-index: 3; transform-origin: 74.44% 47.01%; }
.coruja .rolinho { position: absolute; z-index: 4; left: 52%; top: 62%; width: 46%; height: auto; opacity: 0; transition: opacity .3s; }
.coruja.pose-segurando .rolinho { opacity: 1; }
.coruja.pose-pensando .rig { transform: rotate(-7deg); }
.coruja.pose-seria .rig { transform: scale(1.03, 1.03); filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .45)) saturate(.85); }
.coruja.pose-feliz .rig { transform: translateY(-4%) rotate(3deg); }
.coruja.pose-negando .rig { animation: nega .7s ease; }
@keyframes nega { 20% { transform: rotate(-8deg); } 45% { transform: rotate(7deg); } 70% { transform: rotate(-5deg); } 100% { transform: rotate(0); } }

/* ---------- Balões da coruja ---------- */
.balao {
  position: fixed; left: 0; top: 0; z-index: 62; width: max-content; max-width: min(300px, calc(100vw - 32px));
  padding: 12px 16px 13px; border-radius: 4px; pointer-events: none;
  background: var(--parchment-light); color: var(--ink); border: 1px solid rgba(198, 167, 94, .85);
  font: 500 19px/1.38 var(--display); box-shadow: 0 14px 30px rgba(0, 0, 0, .38);
  animation: balao-entra .32s ease both;
}
.balao.compacto { padding: 9px 13px 10px; font-size: 16px; line-height: 1.3; } /* o mapa num celular bem pequeno, só quando o balão não cabe de outro jeito */
.balao.bordo { background: var(--burgundy); color: var(--parchment-light); border-color: rgba(225, 201, 138, .8); }
.balao::after {
  content: ""; position: absolute; width: 12px; height: 12px; background: inherit; transform: rotate(45deg);
  border: inherit; border-top-color: transparent; border-left-color: transparent;
}
.balao[data-lado="esq"]::after { right: -7px; top: var(--seta, 22px); transform: rotate(-45deg); }
.balao[data-lado="dir"]::after { left: -7px; top: var(--seta, 22px); transform: rotate(135deg); }
.balao[data-lado="cima"]::after { bottom: -7px; left: var(--seta, 50%); margin-left: -6px; transform: rotate(45deg); }
.balao[data-lado="baixo"]::after { top: -7px; left: var(--seta, 50%); margin-left: -6px; transform: rotate(-135deg); }
.balao[data-lado="solto"]::after { display: none; } /* longe da coruja (o mapa no celular): sem seta */
@keyframes balao-entra { from { opacity: 0; transform: translateY(6px) scale(.97); } }

/* ---------- Painéis (aviso de privacidade, confirmação do lacre) ---------- */
.painel-fundo { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 24px 16px; background: rgba(5, 10, 18, .72); backdrop-filter: blur(3px); animation: tela-entra .25s ease both; }
.painel {
  position: relative; width: min(560px, 100%); max-height: min(78vh, 760px); overflow: auto; padding: 34px 32px 28px;
  border-radius: 4px; color: var(--ink);
  background-color: var(--parchment-light); background-image: var(--papel-grao), radial-gradient(120% 80% at 50% 30%, #F7EFDC, var(--parchment-light) 60%, #E6D6B2);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(198, 167, 94, .6), inset 0 0 0 6px var(--parchment-light), inset 0 0 0 7px rgba(198, 167, 94, .55);
}
.painel h2 { font: 600 28px/1.15 var(--display); margin: 0 0 6px; }
.painel p, .painel li { font: 500 18px/1.55 var(--display); }
.painel .acoes { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; margin-top: 22px; }
.painel .fechar { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: none; cursor: pointer; color: var(--ink-soft); }
.painel .fechar svg { width: 18px; height: 18px; }

/* ---------- Aviso de demonstração (só em localhost) ---------- */
.demo-faixa { position: fixed; left: 12px; bottom: 12px; z-index: 85; padding: 6px 10px; border-radius: 3px; background: rgba(106, 27, 27, .85); color: var(--parchment-light); font: 600 10px/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ---------- Login, confirmação e nova senha (entrar.js) ---------- */
.tela-entrar { display: grid; justify-items: center; align-items: start; padding: clamp(132px, 16vh, 168px) var(--gutter) 72px; }
.entrar-palco { width: min(560px, 100%); }
.pg-login .pg-folha { padding: 66px clamp(56px, 8vw, 74px) 58px; }
.login-conteudo { text-align: center; }
.login-conteudo .titulo-pg { margin-top: 2px; }
.login-conteudo .subtitulo { margin: 8px 0 0; }
.abas { display: flex; justify-content: center; gap: 28px; margin: 10px 0 24px; border-bottom: 1px solid rgba(59, 42, 26, .2); }
.aba {
  background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 12px 2px 11px; cursor: pointer;
  font: 600 11px/1.2 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft);
}
.aba[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--gold); }
@media (hover: hover) { .aba:hover { color: var(--ink); } }
.form-login { display: grid; gap: 18px; text-align: left; }
.linha-3 { display: grid; grid-template-columns: 1.1fr .9fr 1.2fr; gap: 16px; }
.acoes-form { display: grid; gap: 14px; justify-items: center; margin-top: 8px; }
.acoes-form .botao { min-width: 220px; }
.texto-pg { font: 500 20px/1.5 var(--display); color: var(--ink); margin: 0; }
.texto-pg.centro, .dica-pg.centro { text-align: center; }
.dica-pg { font: 500 13px/1.5 var(--body); color: var(--ink-soft); margin: 0; }
.aviso-pg { font: italic 500 20px/1.5 var(--display); color: var(--burgundy); text-align: center; text-wrap: balance; margin: 6px 0 10px; }
.painel h3 { font: 600 13px/1.3 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-dark); margin: 18px 0 2px; }
.painel p { margin: 0; }
.nota-rascunho { color: var(--burgundy); font-style: italic; }

@media (max-width: 760px) {
  .tela-entrar { padding-top: 148px; }
  .pergaminho { --rolo: 38px; }
  .pg-rolo::before { left: -12px; width: 20px; } .pg-rolo::after { right: -12px; width: 20px; }
  .pg-moldura { inset: 12px; }
  .pg-moldura .m-t, .pg-moldura .m-b { left: 18px; right: 18px; height: 18px; background-size: auto 18px; }
  .pg-moldura .m-l, .pg-moldura .m-r { top: 18px; bottom: 18px; width: 18px; background-size: 18px auto; }
  .pg-moldura .c { width: 18px; height: 18px; background-size: 18px 18px; }
  .pg-voluta { width: 44px; height: 44px; opacity: .6; }
  .pg-voluta.v1 { left: 30px; top: 30px; } .pg-voluta.v2 { right: 30px; top: 30px; } .pg-voluta.v3 { left: 30px; bottom: 30px; } .pg-voluta.v4 { right: 30px; bottom: 30px; }
  .pg-login .pg-folha { padding: 46px 26px 40px; margin-inline: 8px; }
  .abas { gap: 16px; }
  .aba { letter-spacing: .07em; font-size: 10.5px; }
  .login-conteudo .subtitulo { letter-spacing: .12em; font-size: 10px; }
  .linha-3 { grid-template-columns: 1fr 1fr; }
  .linha-3 .campo:last-child { grid-column: 1 / -1; }
}

/* notebooks de tela baixa (ex.: 1280×720): o pergaminho do login cabe sem rolar */
@media (max-height: 800px) and (min-width: 761px) {
  .tela-entrar { padding-top: 108px; padding-bottom: 40px; }
  .pg-login .pg-folha { padding-top: 50px; padding-bottom: 42px; }
  .selo-marca { width: 52px; height: 52px; margin-bottom: 10px; }
  .selo-marca svg { width: 36px; height: 36px; }
  .titulo-pg { font-size: 36px; }
  .filete { margin: 10px auto; }
  .abas { margin: 4px 0 14px; }
  .form-login { gap: 12px; }
  .campo input, .campo select { min-height: 38px; font-size: 20px; }
  .acoes-form { gap: 10px; margin-top: 4px; }
}
