:root{
  --blue:#0070B0;--blue-d:#005a8e;--blue-pale:#e8f5fc;
  --gold:#F0C000;--ink:#1E3A5F;--muted:#475569;--line:rgba(0,96,152,.12);
  --bg:#f4f8fb;--font:"Plus Jakarta Sans",system-ui,sans-serif;
}
*{box-sizing:border-box}
html,body{margin:0}
body.aula-demo{
  font-family:var(--font);
  color:var(--ink);
  background:var(--bg);
  min-height:100vh;
  padding-top:2.55rem;
}
.aula-demo-bar{
  position:fixed;top:0;left:0;right:0;z-index:40;
  display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:.45rem .9rem;
  min-height:2.55rem;padding:.4rem .9rem;
  font-size:.8rem;font-weight:800;color:var(--ink);
  background:linear-gradient(90deg,#fef3c7,#e0f2fe 55%,#dbeafe);
  border-bottom:1px solid rgba(0,112,176,.22);
}
.aula-demo-bar a{color:var(--blue);font-weight:800;text-decoration:none}
.aula-demo-bar a:hover{text-decoration:underline}
.aula-demo-top{
  display:flex;align-items:center;justify-content:space-between;gap:1rem;
  max-width:1100px;margin:0 auto;padding:1rem 1.25rem .4rem;
}
.aula-demo-brand img{height:40px;width:auto;display:block}
.aula-demo-top-actions{display:flex;gap:.5rem;flex-wrap:wrap}
.aula-demo-btn{
  display:inline-flex;align-items:center;justify-content:center;
  font:700 .85rem var(--font);text-decoration:none;border-radius:.65rem;
  padding:.5rem 1rem;transition:transform .15s ease,background .15s ease;
}
.aula-demo-btn:hover{transform:translateY(-1px)}
.aula-demo-btn:active{transform:scale(.97)}
.aula-demo-btn--primary{background:var(--blue);color:#fff}
.aula-demo-btn--ghost{background:#fff;color:var(--blue);border:2px solid var(--blue)}
.aula-demo-main{max-width:1100px;margin:0 auto;padding:.4rem 1.25rem 3rem}
.aula-demo-kicker{
  display:inline-block;font-size:.72rem;font-weight:800;letter-spacing:.1em;
  text-transform:uppercase;color:var(--blue);background:var(--blue-pale);
  border:1px solid rgba(0,112,176,.18);padding:.28rem .7rem;border-radius:999px;margin:0 0 .55rem;
}
.aula-demo-main h1{font-size:clamp(1.45rem,3vw,2rem);font-weight:800;letter-spacing:-.03em;margin:0 0 .45rem}
.aula-demo-lead{color:var(--muted);max-width:42rem;margin:0 0 1.15rem;line-height:1.55}
.aula-demo-hint{font-size:.82rem;color:var(--muted);margin:.85rem 0 0}
.aula-demo-toast{
  position:fixed;bottom:1.2rem;left:50%;transform:translateX(-50%);
  z-index:50;background:var(--ink);color:#fff;font-weight:700;font-size:.85rem;
  padding:.65rem 1rem;border-radius:.75rem;box-shadow:0 10px 28px rgba(15,23,42,.25);
  max-width:min(28rem,92vw);text-align:center;
}
.aula-demo-card{
  background:#fff;border:1px solid var(--line);border-radius:1rem;
  box-shadow:0 8px 28px rgba(30,58,95,.06);
}
.aula-demo-toolbar{
  display:flex;flex-wrap:wrap;gap:.65rem 1rem;align-items:flex-end;
  padding:1rem 1.1rem;border-bottom:1px solid var(--line);
}
.aula-demo-field{display:flex;flex-direction:column;gap:.25rem;font-size:.72rem;font-weight:800;color:var(--muted)}
.aula-demo-field select,.aula-demo-field input,.aula-demo-field textarea{
  font:650 .85rem var(--font);color:var(--ink);border:1.5px solid #e5e7eb;
  border-radius:.6rem;padding:.45rem .65rem;background:#fff;min-width:8rem;
}
.aula-demo-tabs{display:flex;flex-wrap:wrap;gap:.35rem;padding:.55rem .7rem;border-bottom:1px solid var(--line)}
.aula-demo-tab{
  appearance:none;border:0;background:#f1f5f9;color:#334155;font:700 .78rem var(--font);
  padding:.45rem .75rem;border-radius:.55rem;cursor:pointer;
}
.aula-demo-tab.is-on{background:var(--blue);color:#fff}
.aula-demo-panel{display:none;padding:0}
.aula-demo-panel.is-on{display:block}
.aula-demo-table-wrap{overflow-x:auto}
.aula-demo-table{width:100%;border-collapse:separate;border-spacing:0;font-size:.86rem}
.aula-demo-table th{
  text-align:left;font-size:.68rem;letter-spacing:.04em;text-transform:uppercase;
  color:var(--ink);padding:.7rem .65rem;border-bottom:2px solid var(--blue);background:#f8fbff;
}
.aula-demo-table td{padding:.45rem .55rem;border-bottom:1px solid #eef2f7}
.aula-demo-table tbody tr:nth-child(even) td{background:#f8fafc}
.aula-demo-nota{
  width:3.4rem;text-align:center;font-weight:800;border:1.5px solid #e2e8f0;
  border-radius:.5rem;padding:.4rem .2rem;font-family:inherit;
}
.aula-demo-media{
  display:inline-flex;min-width:2.2rem;justify-content:center;font-weight:800;color:#fff;
  background:#0070B0;border-radius:999px;padding:.15rem .45rem;font-size:.78rem;
}
.aula-demo-actions{display:flex;flex-wrap:wrap;gap:.45rem;padding:.75rem 1rem 1rem}
.aula-demo-ghost{
  appearance:none;border:0;background:#f1f5f9;color:#334155;font:700 .78rem var(--font);
  padding:.45rem .75rem;border-radius:.55rem;cursor:pointer;
}
.aula-demo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(14rem,1fr));gap:.75rem;padding:1rem}
.aula-demo-tile{
  border:1px solid var(--line);border-radius:.85rem;padding:.85rem .9rem;background:#f8fbff;
}
.aula-demo-tile h3{margin:0 0 .3rem;font-size:.92rem}
.aula-demo-tile p{margin:0;font-size:.78rem;color:var(--muted);line-height:1.45}
.aula-demo-paper{padding:1.25rem 1.35rem 1.5rem;max-width:40rem;margin:0 auto}
.aula-demo-paper h2{font-size:1.15rem;margin:0 0 .6rem}
.aula-demo-paper p{color:var(--muted);line-height:1.6;margin:0 0 .7rem}
.aula-demo-diploma{
  margin:1rem;padding:1.6rem 1.4rem;border:3px solid var(--gold);border-radius:1rem;
  text-align:center;background:linear-gradient(180deg,#fff,#fff8dc);
}
.aula-demo-diploma p{margin:.35rem 0;color:var(--muted)}
.aula-demo-diploma strong{display:block;font-size:1.35rem;color:var(--ink);margin:.4rem 0}
.aula-demo-map{
  position:relative;min-height:18rem;margin:1rem;background:#e8f5fc;border-radius:.9rem;overflow:hidden;
}
.aula-demo-node{
  position:absolute;background:#fff;border:2px solid var(--blue);border-radius:.75rem;
  padding:.45rem .7rem;font-weight:800;font-size:.82rem;box-shadow:0 6px 16px rgba(0,112,176,.12);
}
.aula-demo-form{display:grid;gap:.7rem;padding:1.1rem}
.aula-demo-form label{font-size:.75rem;font-weight:800;color:var(--muted);display:grid;gap:.3rem}
.aula-demo-asist td{text-align:center}
.aula-demo-asist .ok{color:#059669;font-weight:800}
.aula-demo-asist .no{color:#dc2626;font-weight:800}
.aula-demo-asist .re{color:#d97706;font-weight:800}
@media(max-width:700px){
  .aula-demo-top{flex-direction:column;align-items:flex-start}
}
@media(prefers-reduced-motion:reduce){
  .aula-demo-btn:hover,.aula-demo-btn:active{transform:none}
}
