/* =========================================================
   Oficina de Benefícios · Área de aulas · conceito "o painel de chamada"
   A sala de espera do CRAS: parede de dois tons com faixa, painel de LED
   chamando as senhas, a senha impressa em papel térmico e o carimbo de atendida.
   ========================================================= */
:root {
  --painel: #121817;
  --painel-2: #1C2523;
  --led: #FFB31F;
  --led-verde: #39E07F;
  --parede: #E7EEEA;
  --parede-2: #D3E1D9;
  --faixa: #E4692A;
  --papel: #FBF9F3;
  --tinta: #1A2220;
  --suave: #55625D;
  --linha: rgba(26, 34, 32, .14);
  --zap: #1E9E55;
  --disp: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Space Mono', ui-monospace, Consolas, monospace;
  --ledf: 'DotGothic16', 'Space Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--parede); color: var(--tinta); font: 400 18px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--disp); font-weight: 700; line-height: 1.06; letter-spacing: -.03em; text-wrap: balance; }
h1 em, h2 em { font-style: normal; color: var(--faixa); }
.escuro h2 em { color: var(--led); }
p, ul, ol, figure { margin: 0; }
button { font: inherit; color: inherit; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--faixa); outline-offset: 3px; }
.escuro :focus-visible { outline-color: var(--led); }

.lg-escuro { --lg-top: #121817; --lg-base: #E4692A; --lg-nome: #121817; --lg-sob: #55625D; }
.lg-claro { --lg-top: #FFFFFF; --lg-base: #FFB31F; --lg-nome: #FFFFFF; --lg-sob: #FFFFFF; }

section { position: relative; padding: 104px 0; }
.escuro { background: var(--painel); color: #fff; }
.kick { font: 700 12.5px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faixa); margin-bottom: 14px; }
.escuro .kick { color: var(--led); }
.lead { font-size: 19px; color: var(--suave); margin-top: 18px; max-width: 56ch; }
.escuro .lead { color: rgba(255, 255, 255, .76); }

/* ---------- botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 24px; border-radius: 12px; border: 0; font: 700 17px/1.1 var(--disp); letter-spacing: -.01em; text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .2s ease, box-shadow .2s ease; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn-led { background: var(--led); color: var(--painel); box-shadow: 0 0 0 3px rgba(255, 179, 31, .22), 0 10px 24px -10px rgba(255, 179, 31, .7); }
.btn-led:hover { background: #FFC24A; }
.btn-zap { background: var(--zap); color: #fff; box-shadow: 0 10px 22px -10px rgba(30, 158, 85, .8); }
.btn-zap:hover { background: #22B062; }
.btn-linha { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.btn-linha:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.btn-p { padding: 10px 16px; font-size: 15px; border-radius: 10px; }

/* ---------- LED ---------- */
.led, .led-tx { font-family: var(--ledf); color: var(--led); text-shadow: 0 0 6px rgba(255, 179, 31, .75), 0 0 18px rgba(255, 179, 31, .35); letter-spacing: .06em; }
.bolinha { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--led-verde); box-shadow: 0 0 8px var(--led-verde); flex: none; }
@media (prefers-reduced-motion: no-preference) { .bolinha { animation: pulsa 1.8s ease-in-out infinite; } }
@keyframes pulsa { 50% { opacity: .45; } }

/* ---------- foto ---------- */
.foto { margin: 0; background: #fff; padding: 10px 10px 14px; border-radius: 6px; box-shadow: 0 30px 50px -30px rgba(18, 24, 23, .55); }
.foto img { width: 100%; height: auto; border-radius: 3px; }
.foto figcaption { padding: 10px 4px 0; font: 400 15px/1.45 var(--mono); color: var(--suave); }
.foto.inclinada { transform: rotate(2deg); }

/* =========================================================
   TOPO
   ========================================================= */
.topo { position: sticky; top: 0; z-index: 40; background: rgba(231, 238, 234, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--linha); }
.topo-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.topo-logo svg { width: 146px; height: auto; }
.topo-loc { display: flex; align-items: center; gap: 10px; font: 700 12.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--tinta); }
.topo-loc b { color: var(--suave); font-weight: 400; }
.topo-loc .ponto { width: 9px; height: 9px; border-radius: 50%; background: var(--led-verde); box-shadow: 0 0 8px var(--led-verde); }

/* =========================================================
   CAPA: a parede da sala de espera
   ========================================================= */
.capa { padding: 60px 0 0; background: linear-gradient(0deg, var(--parede-2) 0 236px, var(--faixa) 236px 242px, var(--parede) 242px); overflow: hidden; }
@supports (overflow: clip) { .capa { overflow-x: clip; overflow-y: visible; z-index: 3; } }
.capa-in { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: 40px; align-items: end; }
.capa-tx { padding-bottom: 72px; }
.selo { display: inline-block; font: 700 12.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--tinta); padding: 9px 12px; border-radius: 6px; }
.capa h1 { margin-top: 22px; font-size: clamp(40px, 4.9vw, 68px); }
.capa .sub { margin-top: 20px; font-size: 19.5px; color: var(--suave); max-width: 50ch; }
.capa .sub b { color: var(--tinta); }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--linha); font-size: 15px; font-weight: 700; }
.chips svg { width: 18px; height: 18px; color: var(--faixa); }

/* máquina de senha */
.dispensa { position: relative; display: flex; align-items: center; gap: 18px; margin-top: 30px; padding: 16px 18px; background: var(--painel); color: #fff; border-radius: 16px; max-width: 520px; box-shadow: 0 24px 40px -24px rgba(18, 24, 23, .7); }
.disp-maq { flex: none; width: 70px; height: 70px; border-radius: 12px; background: linear-gradient(160deg, #2A3532, #161D1C); display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.fenda { width: 44px; height: 6px; border-radius: 3px; background: #050807; box-shadow: 0 1px 0 rgba(255, 255, 255, .1); }
.disp-tx p { font-size: 15.5px; line-height: 1.45; color: rgba(255, 255, 255, .8); margin-bottom: 10px; }
.disp-tx b { color: #fff; }
.disp-tx .btn { padding: 12px 16px; font-size: 15.5px; }
.senha-papel { position: absolute; left: 22px; top: calc(100% - 8px); z-index: 5; width: 250px; padding: 18px 18px 22px; background: var(--papel); color: var(--tinta); font-family: var(--mono); text-align: center; box-shadow: 0 24px 40px -16px rgba(0, 0, 0, .5); transform-origin: top center;
  -webkit-mask: radial-gradient(circle 6px at 50% 100%, transparent 98%, #000) 0 0 / 16px 100% repeat-x; mask: radial-gradient(circle 6px at 50% 100%, transparent 98%, #000) 0 0 / 16px 100% repeat-x; }
.senha-papel[hidden] { display: none; }
.senha-papel.imprime { animation: imprime .7s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes imprime { from { clip-path: inset(0 0 100% 0); transform: translateY(-14px); } to { clip-path: inset(0 0 0 0); transform: none; } }
.sp-cab { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--suave); padding-bottom: 8px; border-bottom: 1.5px dashed rgba(26, 34, 32, .3); }
.sp-n { font: 700 54px/1 var(--mono); letter-spacing: -.02em; margin-top: 10px; }
.sp-t { font-size: 13px; line-height: 1.4; margin-top: 8px; }
.sp-ir { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 8px 12px; border-radius: 8px; background: var(--tinta); color: #fff; font: 700 13px/1 var(--mono); text-decoration: none; }
.sp-ir svg { width: 15px; height: 15px; }
.sp-pe { margin-top: 12px; font-size: 10.5px; color: var(--suave); }

/* cena: painel + Tamara */
.capa-cena { position: relative; align-self: stretch; min-height: 640px; }
.painel { position: absolute; left: 0; top: 10px; width: 64%; z-index: 1; padding: 18px 20px 16px; border-radius: 14px; background: #0A0E0D; border: 6px solid #2A3230; box-shadow: 0 30px 50px -24px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .04); }
.painel::before { content: ''; position: absolute; inset: 0; border-radius: 8px; background-image: radial-gradient(rgba(255, 255, 255, .055) 1px, transparent 1.4px); background-size: 6px 6px; pointer-events: none; }
.pn-cab { display: flex; justify-content: space-between; font: 700 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.pn-lin { display: flex; justify-content: space-between; align-items: baseline; margin-top: 6px; }
.pn-lin .led { font-size: clamp(64px, 7.4vw, 104px); line-height: 1; }
.pn-lin .ledp { font-size: clamp(40px, 4.4vw, 60px); color: var(--led-verde); text-shadow: 0 0 6px rgba(57, 224, 127, .7), 0 0 18px rgba(57, 224, 127, .3); }
.pn-tit { margin-top: 10px; padding: 8px 0; border-top: 1px solid rgba(255, 255, 255, .1); border-bottom: 1px solid rgba(255, 255, 255, .1); overflow: hidden; white-space: nowrap; }
.pn-tit .led-tx { display: inline-block; font-size: 17px; padding-left: 100%; }
@media (prefers-reduced-motion: no-preference) { .pn-tit .led-tx { animation: rola 14s linear infinite; } }
@keyframes rola { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .pn-tit .led-tx { padding-left: 0; white-space: normal; } .pn-tit { white-space: normal; } }
.pn-hist { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.pn-hist li { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 7px 8px; border-radius: 6px; background: rgba(255, 255, 255, .04); font: 400 11px/1 var(--mono); color: rgba(255, 255, 255, .55); text-transform: uppercase; letter-spacing: .06em; }
.pn-hist b { font: 400 15px/1 var(--ledf); color: var(--led); }
.pn-hist i { width: 7px; height: 7px; border-radius: 50%; background: var(--led-verde); box-shadow: 0 0 6px var(--led-verde); }
.painel.chama .pn-lin { animation: pisca .9s steps(2) 2; }
@keyframes pisca { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .painel.chama .pn-lin { animation: none; } }
.tamara { position: absolute; right: 0; bottom: 0; z-index: 2; width: min(400px, 66%); height: auto; filter: drop-shadow(0 26px 30px rgba(18, 24, 23, .35)); }
.tag-prof { position: absolute; right: 54%; bottom: 72px; z-index: 3; max-width: 230px; padding: 12px 14px; background: var(--papel); border-left: 4px solid var(--faixa); border-radius: 0 10px 10px 0; font-size: 14px; line-height: 1.4; color: var(--suave); box-shadow: 0 18px 30px -16px rgba(18, 24, 23, .5); }
.tag-prof b { display: block; font: 700 16px/1.2 var(--disp); color: var(--tinta); margin-bottom: 2px; }
.rodape-parede { height: 18px; background: #B9CBC1; border-top: 1px solid rgba(0, 0, 0, .06); }

/* =========================================================
   A SENHA
   ========================================================= */
.espera { background: var(--parede); }
.esp-in { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 72px; align-items: center; }
.espera .foto { transform: rotate(-2deg); max-width: 400px; }
.esp-tx h2 { font-size: clamp(32px, 3.6vw, 48px); }
.nums { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px; }
.nums li { padding: 18px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--linha); }
.nums b { display: block; font: 400 40px/1 var(--ledf); color: var(--faixa); }
.nums span { display: block; margin-top: 8px; font-size: 15px; line-height: 1.4; color: var(--suave); }

/* =========================================================
   PAINEL DE AULAS
   ========================================================= */
.aulas { background: radial-gradient(900px 500px at 80% 0%, rgba(255, 179, 31, .08), rgba(255, 179, 31, 0) 70%), var(--painel); }
.aulas-cab { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 48px; }
.aulas-cab h2 { font-size: clamp(36px, 4.4vw, 58px); }
.status { display: grid; gap: 10px; min-width: 320px; padding: 14px 16px; border-radius: 12px; background: #0A0E0D; border: 1px solid rgba(255, 255, 255, .08); }
.st-led { display: flex; align-items: center; gap: 10px; }
.st-led .led-tx { font-size: 15px; color: var(--led-verde); text-shadow: 0 0 6px rgba(57, 224, 127, .6); }
.st-prog { display: grid; gap: 6px; font: 400 13px/1 var(--mono); color: rgba(255, 255, 255, .65); }
.st-prog b { color: var(--led); }
.barra-prog { height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.barra-prog i { display: block; height: 100%; width: 0; background: var(--led); box-shadow: 0 0 8px var(--led); transition: width .5s ease; }

.aula { display: grid; grid-template-columns: 210px minmax(0, 1fr); margin-bottom: 26px; border-radius: 18px; background: var(--painel-2); border: 1px solid rgba(255, 255, 255, .07); overflow: hidden; }
.canhoto { position: relative; padding: 22px 20px; background: var(--papel); color: var(--tinta); font-family: var(--mono); display: flex; flex-direction: column; gap: 10px; border-right: 2px dashed rgba(26, 34, 32, .28); }
.canhoto::before, .canhoto::after { content: ''; position: absolute; right: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--painel); }
.canhoto::before { top: -10px; } .canhoto::after { bottom: -10px; }
.cn-cab { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--suave); }
.cn-n { font: 700 56px/.9 var(--mono); letter-spacing: -.03em; }
.cn-dia { font-size: 13px; line-height: 1.4; color: var(--suave); }
.cn-dia b { display: block; font-size: 15px; color: var(--tinta); }
.cn-st { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #12804A; }
.cn-foto { margin-top: auto; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; filter: grayscale(.15); }
.carimbo { position: absolute; left: 50%; top: 46%; width: 150px; padding: 12px 0 10px; text-align: center; transform: translate(-50%, -50%) rotate(-14deg) scale(1.6); opacity: 0; border: 3px double #12804A; border-radius: 10px; color: #12804A; background: rgba(251, 249, 243, .85); font: 700 21px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; transition: opacity .25s ease, transform .35s cubic-bezier(.3, 1.6, .5, 1); pointer-events: none; }
.carimbo small { display: block; font-size: 16px; margin-top: 4px; }
.aula.vista .carimbo { opacity: 1; transform: translate(-50%, -50%) rotate(-14deg) scale(1); }
.aula-corpo { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 28px; padding: 22px; align-items: start; }
.player { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: #000; cursor: pointer; }
.player img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, opacity .3s ease; }
.player:hover img { transform: scale(1.03); opacity: .85; }
.play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; display: grid; place-items: center; background: var(--led); color: var(--painel); box-shadow: 0 0 0 8px rgba(255, 179, 31, .25), 0 10px 30px rgba(0, 0, 0, .5); transition: transform .2s ease; }
.play svg { width: 32px; height: 32px; margin-left: 4px; }
.player:hover .play { transform: scale(1.08); }
/* o play fica do lado da Tamara, sem cobrir o título da capa */
.player.play-dir .play, .player.play-esq .play { top: auto; bottom: 10%; margin: 0; }
.player.play-dir .play { left: auto; right: 20%; }
.player.play-esq .play { left: 20%; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.aula-tx h3 { font-size: clamp(22px, 2.1vw, 27px); line-height: 1.15; }
.aula-d { margin-top: 10px; font-size: 16.5px; color: rgba(255, 255, 255, .75); }
.aula-it { list-style: none; padding: 0; margin-top: 14px; display: grid; gap: 8px; }
.aula-it li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; line-height: 1.4; color: rgba(255, 255, 255, .88); }
.aula-it svg { width: 19px; height: 19px; flex: none; margin-top: 1px; color: var(--led); stroke-width: 2.6; }
.aula-nota { margin-top: 10px; font: 400 13.5px/1.4 var(--mono); color: var(--led); }
.aula-acao { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.aula-acao .btn { padding: 12px 16px; font-size: 15px; }
.marcar[aria-pressed="true"] { background: #12804A; box-shadow: none; color: #fff; }

/* =========================================================
   MURAL: o aviso
   ========================================================= */
.mural { background: var(--parede); }
.mural-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.aviso { position: relative; padding: 46px 42px 38px; background: #FFFDF2; border-radius: 4px; box-shadow: 0 2px 0 rgba(0, 0, 0, .04), 0 40px 60px -36px rgba(18, 24, 23, .55); transform: rotate(-1deg); }
.fita { position: absolute; top: -14px; width: 110px; height: 30px; background: rgba(228, 105, 42, .55); }
.f1 { left: 30px; transform: rotate(-6deg); } .f2 { right: 30px; transform: rotate(5deg); }
.av-cab { display: inline-block; font: 700 13px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: #fff; background: var(--faixa); padding: 7px 10px; border-radius: 4px; }
.aviso h2 { margin-top: 16px; font-size: clamp(30px, 3.2vw, 42px); }
.aviso > p:not(.av-cab):not(.av-obs):not(.av-pe) { margin-top: 14px; font-size: 18px; color: var(--suave); }
.aviso b { color: var(--tinta); }
.av-obs { margin-top: 12px; padding: 10px 12px; border-left: 3px solid var(--faixa); background: rgba(228, 105, 42, .07); font-size: 15.5px; color: var(--tinta); }
.aviso .btn { margin-top: 22px; }
.av-pe { margin-top: 12px; font: 400 13.5px/1.4 var(--mono); color: var(--suave); }

/* =========================================================
   TAMARA: o crachá
   ========================================================= */
.prof { background: var(--parede-2); }
.prof-in { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 72px; align-items: center; }
.cracha { position: relative; display: grid; justify-items: center; padding-top: 90px; }
.cordao { position: absolute; top: -104px; width: 46px; height: 200px; border-left: 12px solid var(--faixa); border-right: 12px solid var(--faixa); border-radius: 0 0 4px 4px; }
.cr-card { position: relative; width: 300px; padding: 26px 24px 22px; border-radius: 18px; background: #fff; box-shadow: 0 40px 60px -30px rgba(18, 24, 23, .55); text-align: center; transform: rotate(3deg); }
.cr-card::before { content: ''; position: absolute; top: 12px; left: 50%; width: 60px; height: 10px; margin-left: -30px; border-radius: 6px; background: var(--parede-2); }
.cr-cab { display: flex; justify-content: center; padding: 10px 0 14px; margin: 0 -24px; background: var(--painel); }
.cr-cab svg { width: 140px; height: auto; }
.cr-card img { width: 160px; height: 190px; object-fit: cover; object-position: 50% 15%; margin: 18px auto 0; border-radius: 8px; }
.cr-nome { margin-top: 14px; font: 700 22px/1.1 var(--disp); }
.cr-cargo { margin-top: 4px; font-size: 15px; color: var(--suave); }
.cr-cod { margin-top: 12px; padding-top: 10px; border-top: 1.5px dashed var(--linha); font: 400 18px/1 var(--ledf); color: var(--faixa); }
.prof-tx h2 { font-size: clamp(34px, 3.8vw, 50px); margin-bottom: 18px; }
.prof-tx > p:not(.kick):not(.assina) { margin-top: 12px; font-size: 18px; color: var(--suave); }
.assina { margin-top: 22px; font: 700 20px/1.3 var(--disp); color: var(--faixa); }

/* =========================================================
   BALCÃO
   ========================================================= */
.balcao-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.bal-tx h2 { font-size: clamp(34px, 3.8vw, 50px); }
.bal-tx .btn { margin-top: 28px; }
.faq details { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.faq details:first-child { border-top: 1px solid rgba(255, 255, 255, .12); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 0; font: 700 18.5px/1.3 var(--disp); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; flex: none; color: var(--led); transition: transform .25s ease; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 36px 20px 0; font-size: 17px; color: rgba(255, 255, 255, .78); }
.faq details a { color: var(--led); }

/* =========================================================
   PRÓXIMA SENHA
   ========================================================= */
.proxima { background: var(--parede); }
.proxima .tit h2 { font-size: clamp(30px, 3.4vw, 44px); }
.prox-grade { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 36px; }
.prox { position: relative; display: grid; grid-template-columns: 200px 1fr; gap: 20px; align-items: center; padding: 14px; border-radius: 16px; background: #fff; border: 1px solid var(--linha); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.prox:hover { transform: translateY(-4px); box-shadow: 0 26px 40px -28px rgba(18, 24, 23, .55); }
.prox img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; }
.prox-n { position: absolute; left: 22px; top: 22px; z-index: 1; padding: 6px 9px; border-radius: 6px; background: var(--painel); font: 400 15px/1 var(--ledf); color: var(--led); }
.prox-tx { font-size: 15.5px; line-height: 1.45; color: var(--suave); }
.prox-tx b { display: block; font: 700 20px/1.2 var(--disp); color: var(--tinta); margin-bottom: 4px; }

/* =========================================================
   RODAPÉ
   ========================================================= */
.rodape { background: #0A0E0D; color: rgba(255, 255, 255, .7); padding: 54px 0 60px; font-size: 14.5px; }
.rodape-in { display: grid; gap: 16px; justify-items: start; }
.rodape .logo { width: 170px; height: auto; }
.rodape nav { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.rodape nav a { text-decoration: none; }
.rodape nav a:hover { color: var(--led); }
.creditos { font-size: 12.5px; line-height: 1.5; color: rgba(255, 255, 255, .5); max-width: 90ch; }
.creditos a { color: rgba(255, 255, 255, .7); }

/* ---------- entrada suave ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
  .js .rv.in { opacity: 1; transform: none; }
  .js .aviso.rv.in { transform: rotate(-1deg); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1080px) {
  .aula-corpo { grid-template-columns: 1fr; }
  .tag-prof { right: auto; left: 0; bottom: 40px; }
}
@media (max-width: 900px) {
  section { padding: 80px 0; }
  .topo-loc { display: none; }
  .capa { padding-top: 34px; background: linear-gradient(180deg, var(--parede) 0 78%, var(--faixa) 78% calc(78% + 6px), var(--parede-2) calc(78% + 6px)); }
  .capa-in, .esp-in, .mural-in, .prof-in, .balcao-in { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .capa-tx { padding-bottom: 0; }
  .capa-cena { min-height: 560px; }
  .painel { width: 74%; }
  .tamara { width: min(330px, 58%); }
  .tag-prof { display: none; }
  .espera .foto { max-width: 340px; }
  .prox-grade { grid-template-columns: 1fr; }
  .cracha { padding-top: 70px; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .wrap { width: calc(100% - 32px); }
  .topo-in { height: 60px; }
  .topo-logo svg { width: 120px; }
  .topo .btn-p { font-size: 14px; padding: 9px 12px; }
  .topo .btn-p svg { width: 17px; height: 17px; }
  .capa h1 { font-size: clamp(34px, 9.6vw, 42px); }
  .capa .sub { font-size: 17.5px; }
  .chips li { font-size: 14px; }
  .dispensa { align-items: flex-start; padding: 14px; gap: 14px; }
  .disp-maq { width: 52px; height: 52px; }
  .fenda { width: 32px; }
  .disp-tx .btn { width: 100%; }
  .senha-papel { left: 50%; margin-left: -125px; }
  .capa-cena { min-height: 0; margin-top: 36px; display: grid; grid-template-columns: minmax(0, 1fr); }
  .painel { position: relative; width: 100%; top: 0; padding: 14px 14px 12px; border-width: 5px; }
  .pn-lin .led { font-size: 64px; }
  .pn-lin .ledp { font-size: 40px; }
  .pn-tit .led-tx { font-size: 15px; }
  .pn-hist li { font-size: 9.5px; padding: 6px; gap: 5px; }
  .pn-hist b { font-size: 13px; }
  .tamara { position: relative; width: 74%; margin: -14px auto 0; }
  .nums { grid-template-columns: 1fr; gap: 10px; }
  .nums li { display: flex; align-items: center; gap: 14px; padding: 14px; }
  .nums span { margin-top: 0; }
  .status { min-width: 0; width: 100%; }
  .aula { grid-template-columns: 1fr; }
  .canhoto { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "cab cab" "n dia" "n st"; column-gap: 16px; row-gap: 4px; align-items: center; border-right: 0; border-bottom: 2px dashed rgba(26, 34, 32, .28); padding: 16px 18px; }
  .canhoto::before, .canhoto::after { display: none; }
  .cn-cab { grid-area: cab; } .cn-n { grid-area: n; font-size: 46px; } .cn-dia { grid-area: dia; } .cn-st { grid-area: st; }
  .cn-foto { display: none; }
  .carimbo { left: auto; right: 6px; top: 50%; width: 120px; font-size: 16px; transform: translateY(-50%) rotate(-12deg) scale(1.5); }
  .aula.vista .carimbo { transform: translateY(-50%) rotate(-12deg) scale(1); }
  .aula-corpo { padding: 16px; gap: 18px; }
  .aula-acao .btn { flex: 1 1 100%; }
  .aviso { padding: 38px 22px 28px; }
  .aviso .btn { width: 100%; }
  .bal-tx .btn { width: 100%; }
  .faq details p { padding-right: 0; }
  .prox { grid-template-columns: 1fr; }
  .cr-card { width: 270px; }
}
