/* Fontes hospedadas no próprio site (sem Google Fonts): mais rápido e sem enviar o IP do visitante a terceiros.
   Inter, Sora e JetBrains Mono — licença SIL Open Font License 1.1. Subconjunto "latin" (inclui acentos do português). */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/inter-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/sora-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/sora-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/sora-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/jetbrains-mono-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/jetbrains-mono-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: italic; font-weight: 500; font-display: swap; src: url('../fonts/jetbrains-mono-latin-500-italic.woff2') format('woff2'); }

/* =========================================================
   CLUSTER TI EaD UniCesumar — estilos do site público
   ========================================================= */
:root {
  --navy-950: #0c1526;
  --navy-900: #16233a;
  --navy-800: #1d2f4d;
  --navy-700: #27406a;
  --azul-700: #0a4f8f;
  --azul-600: #0b5fa5;
  --azul-500: #1677d2;
  --ciano: #1e9bf0;
  --ciano-200: #b9defb;
  --ciano-50: #eaf5fe;
  --bg: #ffffff;
  --bg-alt: #f3f6fb;
  --borda: #e1e7f0;
  --borda-forte: #c8d3e2;
  --texto: #16233a;
  --texto-2: #3b4a62;
  --muted: #5b6b82;
  --verde: #0e7a43;
  --verde-bg: #e3f6eb;
  --vermelho: #b42318;
  --vermelho-bg: #fdecea;
  --ambar: #8a5a00;
  --ambar-bg: #fff3d1;
  --radius: 12px;
  --radius-lg: 18px;
  --sombra-sm: 0 1px 2px rgba(12, 21, 38, .06);
  --sombra: 0 1px 2px rgba(12, 21, 38, .05), 0 8px 24px rgba(12, 21, 38, .07);
  --sombra-lg: 0 18px 48px rgba(12, 21, 38, .14);
  --fonte: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --fonte-titulo: "Sora", "Inter", "Segoe UI", system-ui, sans-serif;
  --fonte-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--fonte); font-size: 16px; line-height: 1.6; color: var(--texto); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--azul-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--azul-500); }
h1, h2, h3, h4 { font-family: var(--fonte-titulo); color: var(--navy-900); line-height: 1.2; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(30, 155, 240, .55); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--azul-600); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; color: #fff; }
.ico { width: 20px; height: 20px; flex-shrink: 0; }
.ico-sm { width: 16px; height: 16px; }
.ico-xs { width: 13px; height: 13px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 10px; border: 1.5px solid transparent;
  font-weight: 600; font-size: .95rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--azul-600); color: #fff; box-shadow: 0 6px 18px rgba(11, 95, 165, .28); }
.btn-primary:hover { background: var(--azul-500); color: #fff; }
.btn-ghost { background: #fff; border-color: var(--borda-forte); color: var(--navy-900); }
.btn-ghost:hover { border-color: var(--azul-600); color: var(--azul-600); }
.btn-ghost-light { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .32); color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-outline { background: transparent; border-color: var(--azul-600); color: var(--azul-600); }
.btn-outline:hover, .btn-outline.is-active { background: var(--azul-600); color: #fff; }
.btn-text { background: transparent; color: var(--azul-600); padding-left: 10px; padding-right: 10px; }
.btn-text:hover { background: var(--ciano-50); }
.btn-sm { padding: 8px 14px; font-size: .86rem; border-radius: 8px; }
.btn-lg { padding: 14px 26px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn.is-disabled { opacity: .6; cursor: default; transform: none; }

/* ---------- Rótulos ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--fonte-mono); font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--azul-600); margin-bottom: 10px;
}
.eyebrow .ico { margin-left: -2px; }
.eyebrow-light { color: var(--ciano-200); }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
  background: var(--ciano-50); color: var(--azul-700); font-size: .76rem; font-weight: 600; text-decoration: none; line-height: 1.4;
}
a.chip:hover { background: var(--ciano-200); color: var(--azul-700); }
.chip-solid { background: var(--azul-600); color: #fff; }
.chip-soon { background: var(--ambar-bg); color: var(--ambar); }
.chip-muted { background: #eef1f5; color: var(--muted); }
.chip-muted-dark { background: rgba(255, 255, 255, .14); color: #dbe6f5; }
.chip-dark { background: rgba(30, 155, 240, .18); color: var(--ciano-200); }
.chip-live { background: var(--verde-bg); color: var(--verde); }
.chip-count { opacity: .65; font-weight: 500; }
.pulse, .live-dot { width: 8px; height: 8px; border-radius: 50%; background: #18b26b; display: inline-block; animation: pulse 1.6s infinite; }
.live-dot { background: var(--ciano); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(24, 178, 107, .5); } 70% { box-shadow: 0 0 0 9px rgba(24, 178, 107, 0); } 100% { box-shadow: 0 0 0 0 rgba(24, 178, 107, 0); } }

/* ---------- Cabeçalho ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-bottom-color: var(--borda); box-shadow: 0 6px 20px rgba(12, 21, 38, .06); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { height: 40px; width: auto; }
.main-nav ul { list-style: none; display: flex; gap: 2px; }
.main-nav a { display: block; padding: 8px 11px; border-radius: 8px; color: var(--texto-2); font-size: .9rem; font-weight: 500; text-decoration: none; position: relative; white-space: nowrap; }
.main-nav a:hover { color: var(--azul-600); background: var(--ciano-50); }
.main-nav a.is-active { color: var(--azul-600); font-weight: 600; }
.main-nav a.is-active::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--ciano); }
.header-docente .ico { width: 15px; height: 15px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--borda-forte); background: #fff; align-items: center; justify-content: center; cursor: pointer; color: var(--navy-900); }
.nav-toggle .nav-toggle-open { display: inline-flex; }
.nav-toggle .nav-toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: inline-flex; }
.mobile-nav { border-top: 1px solid var(--borda); background: #fff; padding: 8px 0 16px; }
.mobile-nav ul { list-style: none; padding: 0 24px; }
.mobile-nav a { display: flex; align-items: center; gap: 10px; padding: 13px 4px; border-bottom: 1px solid var(--borda); color: var(--navy-900); font-weight: 500; text-decoration: none; }
.mobile-nav a.is-active { color: var(--azul-600); font-weight: 650; }
.mobile-nav .mobile-docente { color: var(--azul-600); border-bottom: 0; }
.preview-bar { background: var(--ambar-bg); color: var(--ambar); padding: 10px 24px; text-align: center; font-size: .9rem; }
.preview-bar a { margin-left: 10px; font-weight: 600; color: var(--ambar); }

@media (max-width: 1120px) {
  .main-nav, .header-docente { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 480px) { .brand img { height: 34px; } }

/* ---------- Fundo de rede (identidade do logo) ---------- */
.hero-net { position: absolute; inset: 0; background: url("../img/net.svg") center / cover no-repeat; opacity: .16; pointer-events: none; -webkit-mask-image: linear-gradient(100deg, transparent 0%, #000 45%, #000 100%); mask-image: linear-gradient(100deg, transparent 0%, #000 45%, #000 100%); }

/* ---------- Hero da página inicial ---------- */
.home-hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1000px 520px at 85% 10%, rgba(30, 155, 240, .28), transparent 60%), linear-gradient(160deg, var(--navy-900) 0%, var(--navy-950) 100%); padding: 72px 0 40px; }
.home-hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px; align-items: center; }
.home-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.08; }
.home-hero h1 .hl { background: linear-gradient(90deg, #5fbcff, var(--ciano)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.home-hero-lead { color: #c9d6ea; font-size: 1.15rem; margin-top: 18px; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.home-hero-art { position: relative; padding-top: 92px; }
.hero-fox { position: absolute; top: -6px; right: 64px; width: 56%; max-width: 360px; z-index: 2; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .4)); animation: float 7s ease-in-out infinite; }

/* Janela de código digitando */
.code-window { position: relative; z-index: 1; border-radius: 16px; overflow: hidden; background: rgba(9, 16, 30, .82); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 30px 60px rgba(0, 0, 0, .45), 0 0 0 1px rgba(30, 155, 240, .08), 0 0 80px rgba(30, 155, 240, .12); backdrop-filter: blur(8px); }
.code-bar { display: flex; align-items: center; gap: 14px; padding: 11px 16px; background: rgba(255, 255, 255, .04); border-bottom: 1px solid rgba(255, 255, 255, .08); font-family: var(--fonte-mono); font-size: .76rem; color: #9fb3cf; }
.code-dots { display: inline-flex; gap: 6px; }
.code-dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.code-dots i:nth-child(2) { background: #febc2e; }
.code-dots i:nth-child(3) { background: #28c840; }
.code-file { flex: 1; }
.code-live { display: inline-flex; align-items: center; gap: 7px; color: #7cd9a6; text-transform: uppercase; letter-spacing: .08em; font-size: .68rem; }
.code-body { margin: 0; padding: 18px 20px 22px; min-height: 252px; font-family: var(--fonte-mono); font-size: .86rem; line-height: 1.75; color: #dbe6f5; white-space: pre-wrap; word-break: break-word; overflow: hidden; }
.code-body .ln { display: inline-block; width: 1.8em; margin-right: 14px; text-align: right; color: #3f5476; user-select: none; }
.t-k { color: #c792ea; } .t-v { color: #dbe6f5; } .t-f { color: #5fbcff; } .t-s { color: #a6e3a1; } .t-p { color: #8aa0bf; } .t-c { color: #5f7596; font-style: italic; }
.caret { display: inline-block; width: 8px; height: 1.15em; margin-left: 1px; vertical-align: -3px; background: var(--ciano); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* Vídeo de fundo opcional (assets/video/hero-digitando.mp4) */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-video-shade { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(12, 21, 38, .94) 0%, rgba(12, 21, 38, .82) 45%, rgba(12, 21, 38, .62) 100%); }
.home-hero.has-video { background: var(--navy-950); }
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero-stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin: 48px 0 0; border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .04); backdrop-filter: blur(6px); }
.hero-stats > div { padding: 18px 22px; display: flex; flex-direction: column-reverse; gap: 2px; }
.hero-stats > div + div { border-left: 1px solid rgba(255, 255, 255, .12); }
.hero-stats dd { margin: 0; font-family: var(--fonte-titulo); font-weight: 700; font-size: 2rem; color: #fff; line-height: 1.1; }
.hero-stats dt { color: #9fb3cf; font-size: .86rem; }
@media (max-width: 900px) {
  .home-hero { padding-top: 48px; }
  .home-hero-inner { grid-template-columns: 1fr; }
  .home-hero-art { padding-top: 70px; }
  .hero-fox { width: 58%; right: 0; }
  .code-body { font-size: .78rem; min-height: 230px; padding: 14px 14px 18px; }
  .code-body .ln { margin-right: 8px; width: 1.4em; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats > div:nth-child(3) { border-left: 0; }
  .hero-stats > div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
}

/* ---------- Hero das páginas internas ---------- */
.page-hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(800px 420px at 90% 0%, rgba(30, 155, 240, .25), transparent 60%), linear-gradient(160deg, var(--navy-900), var(--navy-950)); padding: 48px 0 52px; }
.page-hero-inner { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.02em; }
.page-hero-lead { color: #c9d6ea; font-size: 1.1rem; max-width: 46em; margin-top: 14px; }
.page-hero-split { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; margin-bottom: 18px; }
.breadcrumb li { color: #9fb3cf; display: flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: "/"; color: #5f7596; }
.breadcrumb a { color: #c9d6ea; text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.hero-counters { display: flex; gap: 10px; margin: 0; }
.hero-counters > div { min-width: 120px; padding: 14px 18px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05); display: flex; flex-direction: column; }
.hero-counters dd { margin: 0; font-family: var(--fonte-titulo); font-size: 1.9rem; font-weight: 700; line-height: 1.1; }
.hero-counters dt { color: #9fb3cf; font-size: .82rem; }
@media (max-width: 600px) { .hero-counters { width: 100%; } .hero-counters > div { flex: 1; min-width: 0; padding: 12px; } .hero-counters dd { font-size: 1.5rem; } }

/* ---------- Seções ---------- */
.section { padding: 72px 0; position: relative; }
.section-tight { padding: 48px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: linear-gradient(160deg, var(--navy-900), var(--navy-950)); color: #dbe6f5; overflow: hidden; }
.section-dark .section-title { color: #fff; }
.section-dark .container { position: relative; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; margin-bottom: 32px; }
.section-head--spaced { margin-top: 64px; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; }
.section-lead { color: var(--muted); margin-top: 8px; max-width: 44em; }
@media (max-width: 600px) { .section { padding: 52px 0; } .container { padding: 0 16px; } }

/* ---------- Página inicial: introdução ---------- */
.intro-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px 64px; align-items: start; }
.intro-text p { color: var(--texto-2); font-size: 1.08rem; }
.intro-text p + p { margin-top: 14px; }
.course-pills { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.course-pills a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--borda); background: #fff; color: var(--texto-2); font-size: .9rem; font-weight: 500; text-decoration: none; transition: all .18s; }
.course-pills a .ico { color: var(--azul-600); }
.course-pills a:hover { border-color: var(--ciano); color: var(--azul-700); background: var(--ciano-50); transform: translateY(-2px); }
@media (max-width: 800px) { .intro-grid { grid-template-columns: 1fr; } }

.initiative-mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.initiative-mini { display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: var(--radius-lg); border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04); color: #fff; text-decoration: none; transition: all .2s; }
.initiative-mini:hover { background: rgba(30, 155, 240, .12); border-color: rgba(30, 155, 240, .5); transform: translateY(-3px); color: #fff; }
.initiative-mini-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(30, 155, 240, .18); color: #7cc8ff; margin-bottom: 10px; }
.initiative-mini-label { font-family: var(--fonte-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: #9fb3cf; }
.initiative-mini strong { font-family: var(--fonte-titulo); font-size: 1.08rem; line-height: 1.3; }
@media (max-width: 900px) { .initiative-mini-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .initiative-mini-grid { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 980px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .card-grid { grid-template-columns: 1fr; } }
.post-card, .event-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--borda); border-radius: var(--radius-lg); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.post-card:hover, .event-card:hover { transform: translateY(-4px); box-shadow: var(--sombra-lg); border-color: transparent; }
.card-media { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--navy-900); overflow: hidden; }
.card-media > img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .card-media > img, .event-card:hover .card-media > img { transform: scale(1.04); }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-title { font-size: 1.12rem; font-weight: 700; line-height: 1.3; }
.card-title a { color: var(--navy-900); text-decoration: none; }
.card-title a:hover { color: var(--azul-600); }
.card-text { color: var(--muted); font-size: .94rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { color: var(--muted); font-size: .84rem; margin-top: auto; display: flex; gap: 6px; flex-wrap: wrap; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--azul-600); text-decoration: none; margin-top: auto; }
.card-link:hover { gap: 9px; }
.event-card--past .card-media { filter: saturate(.75); }

.placeholder-cover { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: radial-gradient(400px 200px at 80% 0%, rgba(30, 155, 240, .35), transparent 70%), linear-gradient(150deg, var(--navy-800), var(--navy-950)); }
.placeholder-cover::before { content: ""; position: absolute; inset: 0; background: url("../img/net.svg") center / cover; opacity: .14; }
.placeholder-cover img { position: relative; width: 62%; opacity: .92; }
.placeholder-label { position: absolute; left: 14px; bottom: 12px; font-family: var(--fonte-mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ciano-200); }

/* ---------- Bloco de data ---------- */
.date-block { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: 64px; padding: 8px 10px; border-radius: 12px; background: #fff; border: 1px solid var(--borda); line-height: 1; text-align: center; box-shadow: var(--sombra-sm); }
.date-day { font-family: var(--fonte-titulo); font-size: 1.6rem; font-weight: 800; color: var(--navy-900); }
.date-month { font-family: var(--fonte-mono); font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--azul-600); margin-top: 4px; }
.date-year { font-size: .68rem; color: var(--muted); margin-top: 3px; }
.date-block--float { position: absolute; top: 14px; left: 14px; border: 0; box-shadow: var(--sombra); }
.date-block--xl { min-width: 120px; padding: 18px; border-radius: 18px; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18); box-shadow: none; }
.date-block--xl .date-day { font-size: 3rem; color: #fff; }
.date-block--xl .date-month { color: var(--ciano-200); font-size: .9rem; }
.date-block--xl .date-year { color: #9fb3cf; font-size: .85rem; }
.event-facts { list-style: none; display: flex; flex-direction: column; gap: 5px; font-size: .88rem; color: var(--texto-2); }
.event-facts li { display: flex; gap: 8px; align-items: flex-start; }
.event-facts .ico { color: var(--azul-600); margin-top: 3px; }
.event-facts--lg { font-size: .98rem; gap: 8px; }

/* ---------- Filtros ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 28px; }
.filter-label { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; font-weight: 600; color: var(--muted); margin-right: 4px; }
.filter-chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 15px; border-radius: 999px; border: 1px solid var(--borda-forte); background: #fff; color: var(--texto-2); font-size: .88rem; font-weight: 500; text-decoration: none; cursor: pointer; transition: all .15s; white-space: nowrap; }
.filter-chip:hover { border-color: var(--azul-600); color: var(--azul-600); }
.filter-chip.is-active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.events-filterbar { position: sticky; top: var(--header-h); z-index: 20; background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--borda); }
.events-filterbar .filter-bar { margin: 0; padding: 12px 0; }
@media (max-width: 760px) {
  .filter-bar--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -16px; padding-right: 16px; }
  .filter-bar--scroll::-webkit-scrollbar { display: none; }
}
.search-box { display: flex; gap: 8px; }
.search-box input, .year-filter select { padding: 9px 14px; border: 1px solid var(--borda-forte); border-radius: 10px; background: #fff; min-width: 240px; }
.search-box input:focus, .year-filter select:focus { outline: none; border-color: var(--ciano); box-shadow: 0 0 0 3px rgba(30, 155, 240, .2); }
.year-filter { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .9rem; color: var(--muted); }
.year-filter select { min-width: 130px; }
@media (max-width: 520px) { .search-box { width: 100%; } .search-box input { min-width: 0; flex: 1; } }

/* ---------- Estado vazio ---------- */
.empty-state { text-align: center; padding: 48px 24px; border: 1.5px dashed var(--borda-forte); border-radius: var(--radius-lg); color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 14px; background: #fff; }
.empty-state > .ico { width: 40px; height: 40px; color: var(--ciano); }
.section-dark .empty-state { background: transparent; border-color: rgba(255, 255, 255, .2); color: #9fb3cf; }

/* ---------- Paginação ---------- */
.pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 40px; flex-wrap: wrap; }
.pager-pages { list-style: none; display: flex; gap: 6px; }
.pager-pages a, .pager-pages span { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 8px; border-radius: 10px; text-decoration: none; font-weight: 600; color: var(--texto-2); border: 1px solid var(--borda); background: #fff; }
.pager-pages a:hover { border-color: var(--azul-600); color: var(--azul-600); }
.pager-pages [aria-current] { background: var(--azul-600); border-color: var(--azul-600); color: #fff; }
.pager-gap { display: grid; place-items: center; color: var(--muted); }

/* ---------- Faixa de chamada ---------- */
.cta-band { display: flex; align-items: center; gap: 28px; padding: 36px 40px; border-radius: 22px; color: #fff; position: relative; overflow: hidden; background: radial-gradient(600px 300px at 100% 0%, rgba(30, 155, 240, .45), transparent 70%), linear-gradient(135deg, var(--azul-700), var(--navy-900)); flex-wrap: wrap; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: url("../img/net.svg") right center / 60% auto no-repeat; opacity: .15; pointer-events: none; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: 1.6rem; }
.cta-band p { color: #d4e2f4; }
.cta-band .eyebrow { color: var(--ciano-200); margin-bottom: 6px; }
.cta-band-text { flex: 1; min-width: 260px; display: flex; flex-direction: column; gap: 6px; }
.cta-band-icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: rgba(255, 255, 255, .12); }
.cta-band-icon .ico { width: 32px; height: 32px; }
.cta-band .btn-primary { background: #fff; color: var(--azul-700); box-shadow: none; }
.cta-band .btn-primary:hover { background: var(--ciano-50); color: var(--azul-700); }
.cta-band--soft { background: linear-gradient(135deg, var(--ciano-50), #fff); color: var(--texto); border: 1px solid var(--ciano-200); }
.cta-band--soft h2 { color: var(--navy-900); }
.cta-band--soft p { color: var(--muted); }
.cta-band--soft .eyebrow { color: var(--azul-600); }
.cta-band--soft .cta-band-icon { background: var(--azul-600); color: #fff; }
.cta-band--soft .btn-primary { background: var(--azul-600); color: #fff; }
.cta-band--soft::after { opacity: .08; }
@media (max-width: 600px) { .cta-band { padding: 28px 22px; } .cta-band .btn { width: 100%; } }

/* ---------- Cursos ---------- */
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.course-card { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: var(--radius-lg); border: 1px solid var(--borda); background: #fff; transition: all .2s; position: relative; }
.course-card:hover { border-color: var(--ciano-200); box-shadow: var(--sombra); transform: translateY(-3px); }
.course-card:target { border-color: var(--ciano); box-shadow: 0 0 0 4px rgba(30, 155, 240, .18); }
.course-card[hidden] { display: none; }
.course-card-top { display: flex; justify-content: space-between; align-items: center; }
.course-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(140deg, var(--azul-600), var(--ciano)); color: #fff; box-shadow: 0 8px 18px rgba(11, 95, 165, .25); }
.course-icon .ico { width: 26px; height: 26px; }
.course-area { font-family: var(--fonte-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.course-name { font-size: 1.15rem; }
.course-text { color: var(--muted); font-size: .94rem; flex: 1; }
.course-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid var(--borda); }
.course-actions .card-link { margin-top: 0; }
.course-ig { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--muted); text-decoration: none; }
.course-ig:hover { color: #c13584; }
@media (max-width: 980px) { .course-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .course-grid { grid-template-columns: 1fr; } }
.book-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; align-items: center; }
.book-text { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.book-text p { color: var(--texto-2); }
.book-embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--sombra-lg); background: var(--navy-900); }
.book-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 900px) { .book-grid { grid-template-columns: 1fr; } }

/* ---------- Redes sociais ---------- */
.linkedin-card { display: flex; align-items: center; gap: 24px; padding: 28px 32px; border-radius: 20px; border: 1px solid var(--borda); background: linear-gradient(120deg, #fff 60%, var(--ciano-50)); box-shadow: var(--sombra); flex-wrap: wrap; }
.linkedin-card > div { flex: 1; min-width: 240px; }
.linkedin-card h2 { font-size: 1.5rem; margin-bottom: 6px; }
.linkedin-card p { color: var(--muted); }
.linkedin-icon { width: 64px; height: 64px; border-radius: 16px; background: #0a66c2; color: #fff; display: grid; place-items: center; }
.linkedin-icon .ico { width: 30px; height: 30px; }
.social-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.social-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--borda); background: #fff; text-decoration: none; color: var(--texto); transition: all .18s; }
.social-card:hover { border-color: #e1306c; box-shadow: var(--sombra); transform: translateY(-2px); color: var(--texto); }
.social-avatar { width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; color: #fff; background: linear-gradient(45deg, #f9a03f, #e1306c 50%, #833ab4); padding: 2px; }
.social-info { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.social-info strong { font-size: .95rem; line-height: 1.3; }
.social-handle { color: var(--muted); font-size: .84rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.social-go { color: var(--borda-forte); transition: color .18s; }
.social-card:hover .social-go { color: #e1306c; }
@media (max-width: 980px) { .social-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .social-grid { grid-template-columns: 1fr; } }

/* ---------- Pesquisa & Extensão ---------- */
.initiative-index { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 56px; }
.initiative-index a { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--borda); text-decoration: none; color: var(--navy-900); font-weight: 600; font-size: .95rem; background: #fff; transition: all .18s; }
.initiative-index a:hover { border-color: var(--ciano); background: var(--ciano-50); }
.initiative-num { font-family: var(--fonte-mono); color: var(--ciano); font-size: .85rem; }
.initiative-list { display: flex; flex-direction: column; gap: 24px; }
.initiative { display: grid; grid-template-columns: 140px 1fr; gap: 32px; padding: 36px; border-radius: 22px; border: 1px solid var(--borda); background: #fff; }
.initiative:nth-child(even) { background: var(--bg-alt); border-color: transparent; }
.initiative-side { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.initiative-icon { width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; background: linear-gradient(140deg, var(--azul-600), var(--ciano)); color: #fff; box-shadow: 0 10px 24px rgba(11, 95, 165, .25); }
.initiative-icon .ico { width: 34px; height: 34px; }
.initiative-num-lg { font-family: var(--fonte-titulo); font-size: 3rem; font-weight: 800; color: var(--borda); line-height: 1; }
.initiative h2 { font-size: 1.7rem; margin-bottom: 12px; }
.initiative-body > p:not(.eyebrow) { color: var(--texto-2); font-size: 1.05rem; max-width: 48em; }
.initiative-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.join-band { display: flex; gap: 32px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.join-band > div:first-child { max-width: 40em; }
.join-band p { color: #c9d6ea; margin-top: 10px; }
.join-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) { .initiative-index { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .initiative { grid-template-columns: 1fr; padding: 26px 22px; gap: 18px; } .initiative-side { flex-direction: row; align-items: center; } .initiative-index { grid-template-columns: 1fr; } }

/* ---------- Notícias ---------- */
.magazine-row { display: grid; grid-auto-flow: column; grid-auto-columns: 220px; gap: 20px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.magazine-card { scroll-snap-align: start; display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: var(--texto); }
.magazine-cover { display: block; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; background: var(--navy-900); box-shadow: var(--sombra); transition: transform .25s, box-shadow .25s; }
.magazine-cover img { width: 100%; height: 100%; object-fit: cover; }
a.magazine-card:hover .magazine-cover { transform: translateY(-4px) rotate(-1deg); box-shadow: var(--sombra-lg); }
.magazine-cover-fallback { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; color: var(--ciano-200); font-family: var(--fonte-mono); font-size: .85rem; background: url("../img/net.svg") center / cover, linear-gradient(160deg, var(--azul-700), var(--navy-950)); }
.magazine-cover-fallback span { font-family: var(--fonte-titulo); font-weight: 800; font-size: 1.7rem; color: #fff; line-height: 1.1; }
.magazine-info { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.magazine-info strong { font-family: var(--fonte-titulo); font-size: 1rem; line-height: 1.3; }
.magazine-date { color: var(--muted); font-size: .85rem; }
.post-featured { display: grid; grid-template-columns: 1.2fr 1fr; border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--borda); box-shadow: var(--sombra); margin-bottom: 28px; }
.post-featured-media { position: relative; display: block; min-height: 300px; background: var(--navy-900); }
.post-featured-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-featured-body { padding: 36px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; justify-content: center; }
.post-featured-body > .chip + .chip { margin-left: 4px; }
.post-featured-title { font-size: 1.6rem; line-height: 1.25; }
.post-featured-title a { color: var(--navy-900); text-decoration: none; }
.post-featured-title a:hover { color: var(--azul-600); }
.post-featured-body > p:not(.card-meta) { color: var(--texto-2); }
@media (max-width: 860px) { .post-featured { grid-template-columns: 1fr; } .post-featured-media { min-height: 0; aspect-ratio: 16 / 9; } .post-featured-body { padding: 24px; } }

/* ---------- Artigo / evento ---------- */
.article-header { position: relative; overflow: hidden; color: #fff; background: radial-gradient(800px 420px at 90% 0%, rgba(30, 155, 240, .25), transparent 60%), linear-gradient(160deg, var(--navy-900), var(--navy-950)); padding: 48px 0 56px; }
.article-container { position: relative; max-width: 820px; }
.article-title { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -.02em; margin-top: 6px; }
.article-lead { color: #c9d6ea; font-size: 1.15rem; margin-top: 16px; }
.article-meta { color: #9fb3cf; font-size: .9rem; margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.article-meta strong { color: #fff; }
.article-cover { margin: -28px auto 0; max-width: 1000px; position: relative; z-index: 2; }
.article-cover img { width: 100%; border-radius: 18px; box-shadow: var(--sombra-lg); }
.article .article-container:last-child { padding-top: 40px; padding-bottom: 72px; }
.prose { font-size: 1.08rem; line-height: 1.75; color: var(--texto-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.6rem; margin-top: 1.8em; color: var(--navy-900); }
.prose h3 { font-size: 1.3rem; margin-top: 1.5em; }
.prose h4 { font-size: 1.1rem; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--ciano); }
.prose blockquote { margin: 1.5em 0; padding: 16px 22px; border-left: 4px solid var(--ciano); background: var(--ciano-50); border-radius: 0 12px 12px 0; color: var(--navy-800); font-style: italic; }
.prose img { border-radius: 12px; margin: 1.5em 0; }
.prose a { color: var(--azul-600); font-weight: 500; }
.prose pre { background: var(--navy-950); color: #dbe6f5; padding: 18px; border-radius: 12px; overflow-x: auto; font-size: .9rem; }
.prose code { font-family: var(--fonte-mono); font-size: .9em; }
.prose :not(pre) > code { background: var(--bg-alt); padding: 2px 6px; border-radius: 6px; }
.prose hr { border: 0; border-top: 1px solid var(--borda); margin: 2em 0; }
.share { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--borda); }
.share-label { font-weight: 600; color: var(--muted); margin-right: 6px; font-size: .92rem; }
.share-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--borda-forte); background: #fff; color: var(--navy-900); cursor: pointer; transition: all .18s; }
.share-btn:hover { background: var(--azul-600); border-color: var(--azul-600); color: #fff; }
.share-feedback { font-size: .88rem; color: var(--verde); font-weight: 600; }

.event-header-grid { position: relative; display: flex; justify-content: space-between; gap: 32px; align-items: center; }
.event-header-grid > div { max-width: 780px; }
.article-header--event .card-tags { margin-bottom: 4px; }
.event-body-grid { display: grid; grid-template-columns: 1fr 360px; gap: 48px; padding-top: 48px; padding-bottom: 72px; align-items: start; }
.event-cover { margin: 0 0 32px; }
.event-cover img { width: 100%; border-radius: 18px; box-shadow: var(--sombra); }
.event-section-title { font-size: 1.4rem; margin-bottom: 14px; }
.event-aside { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: 16px; }
.info-card { border: 1px solid var(--borda); border-radius: 20px; padding: 24px; background: #fff; box-shadow: var(--sombra); }
.info-card-title { font-size: 1.1rem; margin-bottom: 16px; }
.info-list { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.info-list > div { display: grid; gap: 2px; }
.info-list dt { display: flex; align-items: center; gap: 8px; font-family: var(--fonte-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.info-list dt .ico { color: var(--azul-600); }
.info-list dd { margin: 0 0 0 24px; font-weight: 600; color: var(--navy-900); }
.info-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }
.info-actions .btn-text { justify-content: flex-start; }
.info-note { color: var(--muted); font-size: .92rem; }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; font-size: .92rem; }
@media (max-width: 960px) {
  .event-body-grid { grid-template-columns: 1fr; gap: 28px; }
  .event-aside { position: static; order: -1; }
  .date-block--xl { display: none; }
}

/* ---------- Página de eventos ---------- */
.spotlight { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; border-radius: 24px; overflow: hidden; border: 1px solid var(--borda); background: #fff; box-shadow: var(--sombra-lg); }
.spotlight-media { position: relative; display: block; min-height: 380px; background: var(--navy-900); }
.spotlight-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.spotlight-body { padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.spotlight-title { font-size: 1.8rem; line-height: 1.2; }
.spotlight-title a { color: var(--navy-900); text-decoration: none; }
.spotlight-title a:hover { color: var(--azul-600); }
.spotlight-text { color: var(--texto-2); }
.spotlight-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 6px; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-width: 360px; }
.countdown > div { background: var(--navy-900); color: #fff; border-radius: 12px; padding: 10px 6px; text-align: center; display: flex; flex-direction: column; }
.countdown span { font-family: var(--fonte-mono); font-size: 1.5rem; font-weight: 600; line-height: 1.1; }
.countdown small { font-size: .7rem; color: #9fb3cf; text-transform: uppercase; letter-spacing: .06em; }
.countdown--sm { margin-top: 20px; }
.countdown--sm span { font-size: 1.2rem; }
@media (max-width: 900px) { .spotlight { grid-template-columns: 1fr; } .spotlight-media { min-height: 0; aspect-ratio: 16 / 9; } .spotlight-body { padding: 24px; } .spotlight-title { font-size: 1.45rem; } }

.agenda { margin-top: 48px; display: flex; flex-direction: column; gap: 36px; }
.agenda-month-title { font-family: var(--fonte-mono); font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.agenda-month-title::after { content: ""; flex: 1; height: 1px; background: var(--borda); }
.agenda-list { list-style: none; display: flex; flex-direction: column; gap: 12px; position: relative; }
.agenda-item { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; padding: 18px 22px; border-radius: 16px; border: 1px solid var(--borda); background: #fff; transition: all .18s; }
.agenda-item:hover { border-color: var(--ciano-200); box-shadow: var(--sombra); }
.agenda-info { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.agenda-title { font-size: 1.12rem; }
.agenda-title a { color: var(--navy-900); text-decoration: none; }
.agenda-title a:hover { color: var(--azul-600); }
.agenda-info .event-facts { flex-direction: row; flex-wrap: wrap; gap: 4px 18px; }
.agenda-actions { display: flex; gap: 8px; }
@media (max-width: 720px) {
  .agenda-item { grid-template-columns: auto 1fr; padding: 16px; gap: 14px; }
  .agenda-actions { grid-column: 1 / -1; }
  .agenda-actions .btn { flex: 1; }
}

/* ---------- Área docente ---------- */
.docente-gate { position: relative; overflow: hidden; background: radial-gradient(900px 500px at 85% 20%, rgba(30, 155, 240, .25), transparent 60%), linear-gradient(160deg, var(--navy-900), var(--navy-950)); padding: 80px 0; min-height: calc(100vh - var(--header-h) - 200px); }
.docente-gate-inner { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.docente-gate-text { color: #c9d6ea; }
.docente-gate-text h1 { color: #fff; font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 14px; }
.docente-gate-text > p:not(.eyebrow) { font-size: 1.1rem; max-width: 30em; }
.docente-perks { list-style: none; margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.docente-perks li { display: flex; gap: 10px; align-items: center; }
.docente-perks .ico { color: var(--ciano); }
.docente-card { background: #fff; border-radius: 22px; padding: 36px; box-shadow: var(--sombra-lg); display: flex; flex-direction: column; gap: 16px; }
.docente-card h2 { font-size: 1.4rem; }
.docente-lock { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--ciano-50); color: var(--azul-600); }
.docente-form { display: flex; flex-direction: column; gap: 10px; }
.docente-form label { font-weight: 600; font-size: .92rem; }
.password-wrap { position: relative; }
.password-wrap input { width: 100%; padding: 13px 90px 13px 14px; border: 1.5px solid var(--borda-forte); border-radius: 12px; font-size: 1rem; }
.password-wrap input:focus { outline: none; border-color: var(--ciano); box-shadow: 0 0 0 4px rgba(30, 155, 240, .18); }
.password-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: transparent; border: 0; color: var(--azul-600); font-weight: 600; font-size: .85rem; padding: 8px 10px; cursor: pointer; border-radius: 8px; }
.password-toggle:hover { background: var(--ciano-50); }
.docente-form .btn { margin-top: 6px; }
.alert { padding: 12px 14px; border-radius: 10px; font-size: .92rem; }
.alert-error { background: var(--vermelho-bg); color: var(--vermelho); }
.alert-info { background: var(--ciano-50); color: var(--azul-700); }
.docente-group-title { font-size: 1.2rem; margin: 8px 0 16px; }
.docente-group-title:not(:first-child) { margin-top: 36px; }
.quicklinks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.quicklink { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--borda); background: #fff; text-decoration: none; color: var(--texto); transition: all .18s; }
.quicklink:hover { border-color: var(--ciano); box-shadow: var(--sombra); color: var(--texto); }
.quicklink > span:nth-child(2) { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.quicklink small { color: var(--muted); font-size: .84rem; }
.quicklink-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--ciano-50); color: var(--azul-600); flex-shrink: 0; }
.quicklink-go { color: var(--borda-forte); }
@media (max-width: 900px) { .docente-gate-inner { grid-template-columns: 1fr; gap: 32px; } .quicklinks { grid-template-columns: repeat(2, 1fr); } .docente-gate { padding: 48px 0; } }
@media (max-width: 600px) { .quicklinks { grid-template-columns: 1fr; } .docente-card { padding: 26px 22px; } }

/* ---------- Rodapé ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--navy-950); color: #9fb3cf; padding: 64px 0 0; font-size: .94rem; }
.footer-net { position: absolute; inset: 0; background: url("../img/net.svg") right top / 900px auto no-repeat; opacity: .07; pointer-events: none; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img:first-child { height: 44px; width: auto; }
.footer-brand p { margin: 18px 0 22px; max-width: 26em; }
.footer-unicesumar { height: 36px; width: auto; opacity: .9; }
.footer-title { font-family: var(--fonte-mono); color: #fff; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: #c9d6ea; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { position: relative; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 24px; margin-top: 48px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .86rem; }
.to-top { color: #c9d6ea; text-decoration: none; }
.to-top:hover { color: #fff; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }


/* ---------- Estados de carregamento (páginas que buscam dados na API) ---------- */
[hidden] { display: none !important; }
.skeleton-card { border: 1px solid var(--borda); border-radius: var(--radius-lg); background: #fff; overflow: hidden; display: flex; flex-direction: column; gap: 12px; padding-bottom: 22px; }
.skeleton-card .sk-line { margin: 0 22px; }
.skeleton-spotlight { border-radius: 24px; overflow: hidden; border: 1px solid var(--borda); }
.skeleton-spotlight .sk-media { height: 380px; }
.sk { display: block; border-radius: 8px; background: linear-gradient(90deg, #e9eef5 25%, #f4f7fb 50%, #e9eef5 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite linear; }
.sk-media { aspect-ratio: 16 / 9; border-radius: 0; }
.sk-line { height: 14px; width: auto; }
.sk-short { width: 55%; }
.sk-title-light { display: inline-block; width: min(560px, 80%); height: 1em; border-radius: 10px; background: linear-gradient(90deg, rgba(255,255,255,.08) 25%, rgba(255,255,255,.16) 50%, rgba(255,255,255,.08) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite linear; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.noscript-note { margin-top: 16px; color: var(--muted); }
.empty-state--error > .ico { color: var(--vermelho); }
.hero-actions--center { margin-top: 0; justify-content: center; }
.card-body > .chip { align-self: flex-start; }


/* =========================================================
   Página inicial interativa
   ========================================================= */
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.home-hero { padding: 80px 0 88px; }
.home-hero-inner { align-items: center; }
.hero-fox { transition: transform .25s ease-out; animation: none; }

/* Terminal */
.terminal { position: relative; z-index: 1; border-radius: 16px; overflow: hidden; background: rgba(9, 16, 30, .86); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 30px 60px rgba(0, 0, 0, .45), 0 0 80px rgba(30, 155, 240, .14); backdrop-filter: blur(8px); }
.terminal-body { height: 280px; overflow-y: auto; padding: 16px 18px 6px; font-family: var(--fonte-mono); font-size: .84rem; line-height: 1.7; color: #dbe6f5; cursor: text; scrollbar-width: thin; scrollbar-color: #2b3f60 transparent; }
.terminal-log .t-out { white-space: pre-wrap; word-break: break-word; }
.terminal-log .t-echo { margin-top: 8px; }
.terminal-log a { color: #7cc8ff; text-decoration: none; border-bottom: 1px dashed rgba(124, 200, 255, .4); }
.terminal-log a:hover { color: #fff; border-bottom-color: #fff; }
.t-prompt, .terminal-prompt { color: #7cd9a6; }
.t-head { color: #fff; font-weight: 600; }
.t-muted { color: #6f86a8; }
.t-err { color: #ff8a80; }
.t-date { color: #febc2e; }
.t-tag { color: #0c1526; background: #febc2e; border-radius: 4px; padding: 0 5px; font-size: .74rem; }
.t-cmd { color: #c792ea; cursor: pointer; border-bottom: 1px dashed rgba(199, 146, 234, .5); }
.t-cmd:hover { color: #fff; }
.terminal-line { display: flex; align-items: center; gap: 8px; margin: 8px 0 10px; }
.terminal-prompt { flex-shrink: 0; font-size: .84rem; }
.terminal-input { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; font-family: var(--fonte-mono); font-size: .84rem; caret-color: var(--ciano); padding: 2px 0; }
.terminal-input:focus { outline: none; }
.terminal-input::placeholder { color: #4d6385; }
.terminal:focus-within { border-color: rgba(30, 155, 240, .5); }
.terminal-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 14px 12px; border-top: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .02); }
.terminal-chips button { font-family: var(--fonte-mono); font-size: .76rem; color: #b9d4f1; background: rgba(30, 155, 240, .1); border: 1px solid rgba(30, 155, 240, .28); border-radius: 999px; padding: 5px 11px; cursor: pointer; transition: all .15s; }
.terminal-chips button:hover { background: rgba(30, 155, 240, .25); color: #fff; }
@media (max-width: 900px) { .terminal-body { height: 240px; font-size: .78rem; } .terminal-prompt { display: none; } .terminal-line::before { content: "$"; color: #7cd9a6; font-family: var(--fonte-mono); } }

/* Quiz */
.quiz-section { background: radial-gradient(700px 360px at 0% 0%, var(--ciano-50), transparent 70%), #fff; }
.quiz-grid { display: grid; grid-template-columns: .9fr 1.3fr; gap: 48px; align-items: center; }
.quiz-progress { list-style: none; display: flex; gap: 8px; margin-top: 28px; }
.quiz-progress li { width: 44px; height: 6px; border-radius: 6px; background: var(--borda); transition: background .3s; }
.quiz-progress li.is-current { background: var(--ciano-200); }
.quiz-progress li.is-done { background: var(--azul-600); }
.quiz-card { min-height: 360px; padding: 32px; border-radius: 22px; background: #fff; border: 1px solid var(--borda); box-shadow: var(--sombra-lg); }
.quiz-card.is-entering { animation: quizIn .35s ease; }
@keyframes quizIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.quiz-step { font-family: var(--fonte-mono); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--azul-600); }
.quiz-q { font-size: 1.45rem; margin: 6px 0 20px; }
.quiz-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quiz-option { display: flex; align-items: center; gap: 12px; text-align: left; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--borda); background: #fff; font-weight: 500; color: var(--navy-900); cursor: pointer; transition: all .15s; line-height: 1.35; }
.quiz-option:hover { border-color: var(--ciano); background: var(--ciano-50); transform: translateY(-2px); }
.quiz-option.is-picked { border-color: var(--azul-600); background: var(--azul-600); color: #fff; }
.quiz-emoji { font-size: 1.4rem; flex-shrink: 0; }
.quiz-back { margin-top: 14px; padding-left: 0; }
.quiz-results { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.quiz-result a { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--borda); text-decoration: none; color: var(--navy-900); transition: all .15s; }
.quiz-result a:hover { border-color: var(--ciano); background: var(--ciano-50); }
.quiz-result:first-child a { border-color: var(--azul-600); box-shadow: 0 0 0 3px rgba(11, 95, 165, .12); }
.quiz-rank { font-family: var(--fonte-titulo); font-weight: 800; font-size: 1.3rem; color: var(--azul-600); width: 2em; }
.quiz-result-name { font-weight: 600; display: flex; flex-direction: column; gap: 8px; }
.quiz-bar { display: block; height: 6px; border-radius: 6px; background: var(--borda); overflow: hidden; }
.quiz-bar span { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--azul-600), var(--ciano)); animation: grow .8s ease; }
@keyframes grow { from { width: 0; } }
.quiz-pct { font-family: var(--fonte-mono); font-weight: 600; color: var(--azul-700); }
.quiz-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.quiz-note { margin-top: 14px; font-size: .84rem; color: var(--muted); }
@media (max-width: 900px) { .quiz-grid { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 560px) { .quiz-options { grid-template-columns: 1fr; } .quiz-card { padding: 22px 18px; } .quiz-q { font-size: 1.2rem; } }

/* Faixa do próximo evento */
.next-banner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 16px 20px; margin-bottom: 24px; border-radius: 16px; background: var(--navy-900); color: #fff; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.next-banner:hover { color: #fff; transform: translateY(-2px); box-shadow: var(--sombra-lg); }
.next-banner-label { display: inline-flex; align-items: center; gap: 6px; font-family: var(--fonte-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ciano-200); }
.next-banner-title { flex: 1; min-width: 200px; font-family: var(--fonte-titulo); font-size: 1.1rem; }
.next-banner .countdown { margin: 0; max-width: 300px; }
.next-banner .countdown > div { background: rgba(255, 255, 255, .08); }
.next-banner-go { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--azul-600); }

/* Abas de iniciativas */
.ini-tabs { display: grid; grid-template-columns: 340px 1fr; gap: 24px; align-items: stretch; }
.ini-tablist { display: flex; flex-direction: column; gap: 8px; }
.ini-tablist [role="tab"] { display: flex; align-items: center; gap: 14px; text-align: left; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03); color: #c9d6ea; cursor: pointer; font-weight: 600; transition: all .15s; }
.ini-tablist [role="tab"] small { display: block; font-family: var(--fonte-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: #7f95b5; font-weight: 500; }
.ini-tablist [role="tab"]:hover { background: rgba(30, 155, 240, .1); color: #fff; }
.ini-tablist [role="tab"][aria-selected="true"] { background: rgba(30, 155, 240, .18); border-color: rgba(30, 155, 240, .55); color: #fff; }
.ini-tab-icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(30, 155, 240, .18); color: #7cc8ff; flex-shrink: 0; }
.ini-panel { position: relative; overflow: hidden; padding: 36px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, .12); background: linear-gradient(140deg, rgba(30, 155, 240, .16), rgba(255, 255, 255, .02)); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; animation: quizIn .35s ease; }
.ini-panel h3 { color: #fff; font-size: 1.7rem; }
.ini-panel p { color: #c9d6ea; font-size: 1.05rem; max-width: 40em; }
.ini-panel-num { position: absolute; right: 24px; top: 6px; font-family: var(--fonte-titulo); font-size: 7rem; font-weight: 800; color: rgba(255, 255, 255, .05); line-height: 1; }
@media (max-width: 900px) {
  .ini-tabs { grid-template-columns: 1fr; }
  .ini-tablist { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .ini-tablist [role="tab"] { flex: 0 0 auto; }
  .ini-panel { padding: 26px 22px; }
  .ini-panel-num { font-size: 4.5rem; }
}
.code-file { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
@media (max-width: 420px) { .code-live { display: none; } }

/* Topo centralizado: o título vira código dentro do terminal */
.home-hero-inner--center { display: flex; flex-direction: column; align-items: center; max-width: 980px; }
.home-hero-inner--center .home-hero-art { width: 100%; padding-top: 96px; }
.home-hero-inner--center .hero-fox { right: 40px; width: 42%; max-width: 380px; }
.terminal--hero .terminal-body { height: 360px; padding: 22px 26px 8px; font-size: .9rem; }
.terminal--hero .code-bar { padding: 13px 18px; }
.t-code { white-space: pre-wrap; }
.t-title-line { margin: 10px 0 12px; line-height: 1.25; }
.t-hero { font-family: var(--fonte-titulo); font-weight: 800; font-size: clamp(1.7rem, 3.6vw, 2.9rem); letter-spacing: -.02em; font-style: normal; background: linear-gradient(90deg, #ffffff 0%, #ffffff 45%, #5fbcff 75%, var(--ciano) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.t-title-line .caret { height: 1.6em; vertical-align: -6px; }
.t-spaced { margin-top: 10px; }
.hero-actions--center { justify-content: center; margin-top: 32px; }
@media (max-width: 900px) {
  .home-hero-inner--center .home-hero-art { padding-top: 64px; }
  .home-hero-inner--center .hero-fox { right: 0; width: 56%; }
  .terminal--hero .terminal-body { height: 340px; padding: 16px 16px 6px; font-size: .8rem; }
}
@media (max-width: 560px) { .hero-actions--center .btn { width: 100%; } }
@media (max-width: 900px) { .terminal--hero .terminal-body { height: auto; min-height: 300px; max-height: 70vh; } .t-hero { font-size: 1.55rem; } }
/* Raposa menor, quadro interativo mais alto na página */
.home-hero { padding-top: 48px; }
.home-hero-inner--center .home-hero-art { padding-top: 64px; }
.home-hero-inner--center .hero-fox { width: 30%; max-width: 270px; right: 48px; top: -4px; }
@media (max-width: 900px) {
  .home-hero { padding-top: 32px; }
  .home-hero-inner--center .home-hero-art { padding-top: 50px; }
  .home-hero-inner--center .hero-fox { width: 44%; right: 8px; }
}

/* Topo das páginas internas: mais limpo e centralizado */
.page-hero { padding: 64px 0 60px; background: radial-gradient(700px 260px at 50% 0%, rgba(30, 155, 240, .16), transparent 70%), var(--navy-900); text-align: center; }
.page-hero .hero-net { display: none; }
.page-hero-inner { display: flex; flex-direction: column; align-items: center; }
.page-hero .breadcrumb ol { justify-content: center; margin-bottom: 14px; }
.page-hero .eyebrow { margin-bottom: 8px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.page-hero-lead { margin-left: auto; margin-right: auto; max-width: 40em; color: #b9c8de; font-size: 1.05rem; }
.page-hero-split { flex-direction: column; align-items: center; justify-content: center; gap: 20px; }
.page-hero-split > div { display: flex; flex-direction: column; align-items: center; }
@media (max-width: 600px) { .page-hero { padding: 44px 0 40px; } }
/* Topo das páginas internas: fundo de rede de volta, num azul mais claro */
.page-hero { background: radial-gradient(800px 380px at 85% 0%, rgba(95, 188, 255, .28), transparent 65%), linear-gradient(160deg, #1d5a9e 0%, #154477 55%, #10355f 100%); }
.page-hero .hero-net { display: block; opacity: .22; }
.page-hero-lead { color: #d6e4f5; }
.page-hero .eyebrow-light { color: #cfe8ff; }
.page-hero .breadcrumb li { color: #b7cde6; }
.page-hero .breadcrumb a { color: #e3eefb; }
/* Mesmo tom de azul no topo da página inicial e no rodapé */
.home-hero, .home-hero.has-video { background: radial-gradient(900px 420px at 85% 0%, rgba(95, 188, 255, .28), transparent 65%), linear-gradient(160deg, #1d5a9e 0%, #154477 55%, #10355f 100%); }
.site-footer { background: radial-gradient(900px 380px at 85% 0%, rgba(95, 188, 255, .22), transparent 65%), linear-gradient(160deg, #1d5a9e 0%, #154477 55%, #10355f 100%); color: #c4d6ec; }
.site-footer .footer-net { opacity: .14; }
.footer-col a, .to-top { color: #e3eefb; }
.footer-bottom { border-top-color: rgba(255, 255, 255, .16); }
/* Área Docente: fundo branco e só o quadro de acesso, centralizado */
.docente-gate { background: #fff; min-height: calc(100vh - var(--header-h) - 360px); padding: 72px 0; display: flex; align-items: center; }
.docente-gate .hero-net { display: none; }
.docente-gate-inner { display: flex; justify-content: center; }
.docente-card { width: 100%; max-width: 440px; border: 1px solid var(--borda); box-shadow: 0 1px 2px rgba(12, 21, 38, .05), 0 18px 48px rgba(12, 21, 38, .10); align-items: center; text-align: center; }
.docente-card .docente-form, .docente-card [data-gate-message] { width: 100%; text-align: left; }
@media (max-width: 600px) { .docente-gate { padding: 40px 0; } }
/* Itens de grade podem encolher (evita rolagem lateral com textos longos, como @handles) */
.social-grid > li, .card-grid > *, .course-grid > *, .quicklinks > *, .footer-grid > * { min-width: 0; }
.social-card { min-width: 0; }

/* Ajustes da auditoria (contraste e área mínima de toque de 24 px) */
.initiative-num { color: var(--azul-600); }
.card-link, .course-ig, .back-link, .to-top { min-height: 24px; padding-top: 2px; padding-bottom: 2px; }
.to-top { display: inline-flex; align-items: center; }
.initiative-num-lg::before { content: attr(data-num); } /* número decorativo (não é lido como texto) */
.card-title, .agenda-title, .post-featured-title, .spotlight-title { line-height: 1.4; }
.admin-row-title { line-height: 1.5; }
/* Enquanto a notícia/evento carrega: reserva a altura e esconde o miolo (evita "pulos" de layout — CLS) */
[data-article][aria-busy="true"], [data-event][aria-busy="true"] { min-height: 100vh; }
[data-article][aria-busy="true"] > :not(.article-header), [data-event][aria-busy="true"] > :not(.article-header) { visibility: hidden; }
.page-loading { min-height: 100vh; }
.card-title a, .agenda-title a { display: block; padding: 2px 0; }
/* Topo das páginas de notícia e de evento no mesmo azul das demais páginas internas */
.article-header { background: radial-gradient(800px 380px at 85% 0%, rgba(95, 188, 255, .28), transparent 65%), linear-gradient(160deg, #1d5a9e 0%, #154477 55%, #10355f 100%); }
.article-header .hero-net { opacity: .22; }
.article-lead { color: #d6e4f5; }
.article-meta { color: #c4d6ec; }
.article-header .breadcrumb li { color: #b7cde6; }
.article-header .breadcrumb a { color: #e3eefb; }
.date-block--xl { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .25); }
.date-block--xl .date-year { color: #c4d6ec; }

/* ---------- Inscrição no evento ---------- */
.register { margin-top: 40px; padding: 28px; border: 1px solid var(--borda); border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--ciano-50), #fff 120px); box-shadow: var(--sombra-sm); }
.register-head { margin-bottom: 20px; }
.register-title { display: flex; align-items: center; gap: 10px; font-size: 1.4rem; margin: 0 0 6px; }
.register-title .ico { width: 26px; height: 26px; color: var(--azul-600); }
.register-meta { margin: 0; color: var(--texto-2); font-size: .95rem; }
.rf-grid { display: grid; gap: 16px; grid-template-columns: 1fr; margin-bottom: 16px; }
@media (min-width: 640px) { .rf-grid { grid-template-columns: 1fr 1fr; } .rf-grid > .rf:first-child:nth-last-child(odd) { grid-column: 1 / -1; } }
.rf { min-width: 0; }
.rf label, .rf legend { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--navy-900); }
.rf-opt { font-weight: 400; color: var(--muted); }
.rf input[type=text], .rf input[type=email], .rf input[type=tel], .rf select {
  width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--borda-forte); border-radius: 10px; background: #fff;
  font: inherit; color: var(--texto); transition: border-color .15s, box-shadow .15s; }
.rf input:focus, .rf select:focus { outline: none; border-color: var(--azul-500); box-shadow: 0 0 0 3px rgba(22, 119, 210, .2); }
.rf.has-error input, .rf.has-error select { border-color: var(--vermelho); }
.rf-error { margin: 6px 0 0; color: var(--vermelho); font-size: .86rem; font-weight: 500; }
.rf-help { margin: 6px 0 0; color: var(--muted); font-size: .86rem; }
.rf-pills { border: 0; padding: 0; margin: 0 0 16px; }
.pill-group { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-option { position: relative; margin: 0 !important; font-weight: 500 !important; }
.pill-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill-option span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--borda-forte); border-radius: 999px; background: #fff; cursor: pointer; transition: all .15s; }
.pill-option:hover span { border-color: var(--azul-500); }
.pill-option input:checked + span { background: var(--azul-600); border-color: var(--azul-600); color: #fff; }
.pill-option input:focus-visible + span { outline: 3px solid var(--azul-500); outline-offset: 2px; }
.rf-pills.has-error .pill-option span { border-color: var(--vermelho); }
.rf-consent { margin: 4px 0 18px; }
.rf-check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; color: var(--texto-2) !important; font-size: .9rem !important; line-height: 1.5; cursor: pointer; }
.rf-check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--azul-600); }
.rf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.register-status { margin-bottom: 14px; padding: 12px 14px; border-radius: 10px; background: var(--vermelho-bg); color: var(--vermelho); font-weight: 500; font-size: .92rem; }
.register-form [data-register-submit] { width: 100%; }
@media (min-width: 640px) { .register-form [data-register-submit] { width: auto; } }
.register-done, .register-closed { text-align: center; padding: 8px 4px; }
.register-done:focus { outline: none; }
.register-done .register-title, .register-closed .register-title { justify-content: center; }
.register-done-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--verde-bg); color: var(--verde); margin-bottom: 12px; }
.register-done-icon .ico { width: 28px; height: 28px; }
.register-done p { margin: 4px 0; color: var(--texto-2); }
.register-code { font-family: var(--fonte-mono); font-size: 1.7rem; font-weight: 600; letter-spacing: .14em; color: var(--navy-900) !important; margin: 4px 0 12px !important; }
.register-small { font-size: .9rem; max-width: 46ch; margin: 0 auto 18px !important; }
.register-done-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.register-closed p { color: var(--muted); margin: 0; }
@media (max-width: 480px) { .register { padding: 20px 16px; margin-left: -4px; margin-right: -4px; } }

/* ---------- Notícias: feed + revista na lateral ---------- */
.news-layout { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "feat" "mag" "posts" "pager"; column-gap: 32px; }
.news-featured { grid-area: feat; min-width: 0; }
.mag { grid-area: mag; }
.news-posts { grid-area: posts; }
.news-pager { grid-area: pager; }
.news-layout .post-featured { margin-bottom: 28px; }
@media (min-width: 1080px) {
  .news-layout { grid-template-columns: minmax(0, 1fr) 312px; grid-template-rows: auto auto 1fr; grid-template-areas: "feat mag" "posts mag" "pager mag"; }
  .mag { align-self: start; position: sticky; top: calc(var(--header-h) + 20px); }
  .news-layout .card-grid { grid-template-columns: repeat(2, 1fr); }
  .news-layout .post-featured { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1080px) and (max-height: 760px) { .mag { position: static; } }

/* Quadro da revista: escuro, com identidade própria para se diferenciar das notícias */
.mag { position: relative; overflow: hidden; border-radius: 22px; padding: 26px 24px 24px; margin-bottom: 32px; color: #dbe7f6;
  background: radial-gradient(420px 260px at 100% 0%, rgba(30, 155, 240, .28), transparent 70%), linear-gradient(165deg, #12284a 0%, #0c1a33 70%);
  box-shadow: 0 18px 44px rgba(12, 21, 38, .22); isolation: isolate; }
.mag::before { content: ""; position: absolute; inset: 0; background: url("../img/net.svg") center / 560px auto; opacity: .1; z-index: -1; }
.mag-brand { margin-bottom: 20px; }
.mag-kicker { display: block; font-family: var(--fonte-titulo); font-weight: 800; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: #ff5c8a; }
.mag-logo { margin: 2px 0 6px; font-family: var(--fonte-mono); font-weight: 600; font-size: 1.85rem; line-height: 1; letter-spacing: .02em; color: #fff; text-shadow: 0 0 18px rgba(30, 155, 240, .45); }
.mag-logo span { color: var(--ciano); animation: mag-blink 1.1s steps(1) 4; }
@keyframes mag-blink { 50% { opacity: 0; } }
.mag-tagline { margin: 0; font-size: .82rem; color: #9fb6d3; line-height: 1.45; }
.mag-current { display: grid; gap: 18px; }
.mag-cover { position: relative; display: block; width: 74%; margin: 0 auto; perspective: 900px; }
.mag-cover-img { display: block; width: 100%; aspect-ratio: 640 / 906; object-fit: cover; border-radius: 6px 12px 12px 6px; box-shadow: -10px 14px 30px rgba(0, 0, 0, .45), inset 6px 0 10px rgba(0, 0, 0, .25);
  transform: rotateY(-12deg) rotateZ(-1.5deg); transform-origin: left center; transition: transform .35s ease, box-shadow .35s ease; }
a.mag-cover:hover .mag-cover-img { transform: rotateY(0) rotateZ(0) translateY(-4px); box-shadow: 0 22px 40px rgba(0, 0, 0, .5); }
.mag-badge { position: absolute; left: -8px; top: 14px; padding: 4px 10px; border-radius: 6px; background: #ff5c8a; color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 6px 14px rgba(0, 0, 0, .3); }
.mag-cover-fallback { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 16px; color: var(--ciano-200); font-family: var(--fonte-mono); font-size: .8rem; background: linear-gradient(160deg, var(--azul-700), var(--navy-950)); }
.mag-cover-fallback b { font-size: 1.1rem; color: #fff; }
.mag-label { margin: 0 0 4px; font-family: var(--fonte-mono); font-size: .76rem; color: var(--ciano); letter-spacing: .04em; text-transform: uppercase; }
.mag-title { margin: 0 0 8px; font-size: 1.12rem; line-height: 1.3; color: #fff; }
.mag-desc { margin: 0 0 16px; font-size: .88rem; line-height: 1.55; color: #c3d3e8; }
.mag-actions { display: grid; gap: 8px; }
.mag-actions .btn { width: 100%; justify-content: center; }
.mag-btn-primary { background: var(--ciano); color: #06213f; border-color: var(--ciano); font-weight: 700; }
.mag-btn-primary:hover { background: #fff; border-color: #fff; color: #06213f; }
.mag-btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .3); }
.mag-btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .6); color: #fff; }
.mag-btn-ghost small { color: #9fb6d3; font-weight: 500; margin-left: 2px; }
.mag-btn-primary:focus-visible, .mag-btn-ghost:focus-visible, .mag-item:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.mag-older { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14); }
.mag-older-title { margin: 0 0 10px; font-size: .78rem; font-family: var(--fonte); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #9fb6d3; }
.mag-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mag-item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; color: #fff; text-decoration: none; transition: background .2s; }
a.mag-item:hover { background: rgba(255, 255, 255, .08); }
.mag-thumb { width: 46px; aspect-ratio: 640 / 906; height: auto; object-fit: cover; border-radius: 3px 6px 6px 3px; box-shadow: 0 4px 10px rgba(0, 0, 0, .35); flex: none; }
span.mag-thumb.mag-cover-fallback { height: 65px; padding: 4px; font-size: .5rem; }
span.mag-thumb.mag-cover-fallback b { font-size: .55rem; }
.mag-item-text { display: flex; flex-direction: column; min-width: 0; font-size: .85rem; line-height: 1.35; }
.mag-item-text span { color: #9fb6d3; font-size: .78rem; }
.mag-item-arrow { margin-left: auto; color: var(--ciano); flex: none; }
/* Celular e tablet: quadro horizontal entre o destaque e a lista */
@media (min-width: 600px) and (max-width: 1079px) {
  .mag-current { grid-template-columns: 200px minmax(0, 1fr); align-items: center; gap: 28px; }
  .mag-cover { width: 100%; }
  .mag-actions { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
}
@media (max-width: 599px) {
  .mag { padding: 22px 18px; border-radius: 18px; }
  .mag-current { grid-template-columns: 112px minmax(0, 1fr); align-items: start; gap: 16px; }
  .mag-cover { width: 100%; }
  .mag-cover-img { transform: none; }
  .mag-badge { left: -4px; top: 8px; font-size: .6rem; padding: 3px 6px; }
  .mag-desc { display: none; }
  .mag-actions { grid-column: 1 / -1; }
  .mag-logo { font-size: 1.55rem; }
}
@media (prefers-reduced-motion: reduce) { .mag-logo span { animation: none; } .mag-cover-img { transition: none; } }
/* "clip" corta o que vaza na horizontal sem criar uma área de rolagem (necessário para o quadro fixo da revista) */
body { overflow-x: clip; }
.mag-badge { top: auto; bottom: 16px; }
@media (max-width: 599px) { .mag-badge { display: none; } .mag-label { font-size: .7rem; } }
/* Fixo ao rolar só quando cabe inteiro na tela; senão, rola junto com a página. */
@media (min-width: 1080px) { .news-layout > .mag { position: relative; top: 0; } }
@media (min-width: 1080px) and (min-height: 1040px) { .news-layout > .mag { position: sticky; top: calc(var(--header-h) + 16px); } }
@media (min-width: 1080px) { .mag-cover { width: 64%; } }
@media (max-width: 1079px) { .news-layout > .mag { top: 0; } }

/* =================== Guia Docente (Área Docente após a senha) =================== */
.gd { background: var(--bg-alt); padding-bottom: 72px; }
.gd-top { position: relative; overflow: visible; color: #fff; background: linear-gradient(160deg, #1d5a9e 0%, #154477 55%, #10355f 100%); }
.gd-top .hero-net { opacity: .2; overflow: hidden; }
.gd-top-inner { position: relative; display: flex; align-items: center; gap: 20px; padding-top: 22px; padding-bottom: 22px; }
.gd-brand { display: flex; align-items: center; gap: 12px; flex: none; }
.gd-mark { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-family: var(--fonte-mono); font-weight: 600; font-size: 1.05rem; color: #06213f; background: linear-gradient(140deg, #fff, var(--ciano-200)); box-shadow: 0 6px 18px rgba(0, 0, 0, .2); }
.gd-kicker { margin: 0; display: flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ciano-200); }
.gd-name { margin: 0; font-family: var(--fonte-titulo); font-weight: 800; font-size: 1.3rem; line-height: 1.2; }
.gd-search { position: relative; flex: 1; max-width: 460px; margin-left: auto; }
.gd-search input { width: 100%; min-height: 44px; padding: 10px 16px 10px 42px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d6e4f5' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") 15px center / 18px no-repeat; color: #fff; font: inherit; }
.gd-search input::placeholder { color: #c4d6ec; }
.gd-search input:focus { outline: none; background-color: #fff; color: var(--texto); border-color: #fff; box-shadow: 0 0 0 3px rgba(185, 222, 251, .6); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6b82' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E"); }
.gd-search input:focus::placeholder { color: var(--muted); }
.gd-results { position: absolute; z-index: 40; top: calc(100% + 8px); left: 0; right: 0; max-height: 70vh; overflow: auto; background: #fff; border-radius: 16px; box-shadow: var(--sombra-lg); border: 1px solid var(--borda); padding: 6px; }
.gd-result { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--texto); }
.gd-result strong { display: block; font-size: .92rem; color: var(--navy-900); }
.gd-result span { display: block; font-size: .82rem; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.gd-result:hover, .gd-result.is-active, .gd-result:focus { background: var(--ciano-50); outline: none; }
.gd-noresult { margin: 0; padding: 12px; color: var(--muted); font-size: .9rem; }
.gd-logout { flex: none; }

.gd-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 36px; align-items: start; padding-top: 32px; }
.gd-menu-btn { display: none; }
.gd-nav { position: sticky; top: calc(var(--header-h) + 16px); max-height: calc(100vh - var(--header-h) - 32px); overflow: auto; background: #fff; border: 1px solid var(--borda); border-radius: 18px; padding: 10px; box-shadow: var(--sombra-sm); }
.gd-nav-list, .gd-nav-sub { list-style: none; margin: 0; padding: 0; }
.gd-nav-list > li + li { margin-top: 2px; }
.gd-nav a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: var(--texto-2); text-decoration: none; font-size: .92rem; font-weight: 600; line-height: 1.3; }
.gd-nav a:hover { background: var(--bg-alt); color: var(--navy-900); }
.gd-nav-ico { width: 18px; height: 18px; color: var(--azul-600); flex: none; }
.gd-nav-sub { margin: 2px 0 6px 19px; padding-left: 10px; border-left: 2px solid var(--borda); }
.gd-nav-sub a { font-weight: 500; font-size: .86rem; padding: 6px 10px; color: var(--muted); }
.gd-nav a.is-active { background: var(--azul-600); color: #fff; }
.gd-nav a.is-active .gd-nav-ico { color: #fff; }
.gd-nav a.is-parent { color: var(--navy-900); }
.gd-nav-sub a.is-active { background: var(--ciano-50); color: var(--azul-700); font-weight: 700; }

.gd-page { min-width: 0; background: #fff; border: 1px solid var(--borda); border-radius: 22px; padding: 34px 40px 28px; box-shadow: var(--sombra-sm); }
.gd-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .84rem; color: var(--muted); margin-bottom: 18px; }
.gd-crumbs a { color: var(--azul-600); text-decoration: none; }
.gd-crumbs a:hover { text-decoration: underline; }
.gd-head { display: flex; gap: 16px; align-items: flex-start; padding-bottom: 22px; margin-bottom: 26px; border-bottom: 1px solid var(--borda); }
.gd-head h1 { font-size: clamp(1.6rem, 3vw, 2.15rem); line-height: 1.15; margin: 2px 0 8px; }
.gd-head h1:focus { outline: none; }
.gd-head-ico { flex: none; width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, var(--azul-500), var(--azul-700)); box-shadow: 0 8px 18px rgba(11, 95, 165, .25); }
.gd-head-ico .ico { width: 26px; height: 26px; }
.gd-lede { margin: 0; font-size: 1.08rem; color: var(--texto-2); line-height: 1.6; max-width: 46em; }
.gd-head--home { display: block; position: relative; overflow: hidden; margin: -34px -40px 26px; padding: 34px 40px 30px; border-radius: 22px 22px 0 0; border-bottom: 0;
  background: radial-gradient(500px 220px at 100% 0%, rgba(30, 155, 240, .18), transparent 70%), linear-gradient(180deg, var(--ciano-50), #fff); }
.gd-hello { margin: 0 0 4px; font-family: var(--fonte-mono); font-size: .84rem; color: var(--azul-600); }
.gd-head--home h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
.gd-page:has(.gd-head--home) .gd-crumbs { display: none; }

/* Conteúdo */
.gd-body { color: var(--texto-2); font-size: 1rem; line-height: 1.7; }
.gd-body > * + * { margin-top: 1em; }
.gd-body h2 { font-size: 1.32rem; color: var(--navy-900); margin-top: 1.9em; scroll-margin-top: calc(var(--header-h) + 20px); }
.gd-body h3 { font-size: 1.08rem; color: var(--navy-900); margin-top: 1.5em; scroll-margin-top: calc(var(--header-h) + 20px); }
.gd-body > h2:first-child, .gd-body > div:first-child + h2 { margin-top: .4em; }
.gd-body ul:not([class]), .gd-body ol:not([class]), .g-formats ul, .g-flow ul, .g-compare ul, .g-example ul { padding-left: 1.25em; }
.gd-body li + li { margin-top: .35em; }
.gd-body a { color: var(--azul-600); }
.gd-body strong { color: var(--navy-900); }

.g-callout { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: var(--ciano-50); border: 1px solid #cfe5fa; color: var(--texto); font-size: .96rem; }
.g-callout > div { min-width: 0; }
.g-callout-ico { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #fff; color: var(--azul-600); }
.g-callout[data-kind="tip"] { background: #fff8e6; border-color: #f6e0a6; }
.g-callout[data-kind="tip"] .g-callout-ico { color: #b07800; }
.g-callout[data-kind="warn"] { background: var(--ambar-bg); border-color: #f2d48a; }
.g-callout[data-kind="warn"] .g-callout-ico { color: var(--ambar); }
.g-callout[data-kind="next"] { background: #f1f4fb; border-color: var(--borda); border-left: 4px solid var(--azul-500); }
.g-cal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 28px; }
.g-cal-grid .g-callout { margin: 0; }
.g-signoff { margin-top: 32px; padding: 24px; border-radius: 16px; text-align: center; background: linear-gradient(160deg, #1d5a9e, #10355f); color: #d6e4f5; }
.g-signoff h2 { color: #fff; margin: 0 0 6px !important; font-size: 1.3rem; }
.g-signoff p { margin: 0; }
.g-signoff strong { color: #fff; }

/* Materiais */
.g-res { list-style: none; padding: 0; display: grid; gap: 10px; }
.g-res--grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.g-res li { margin: 0 !important; }
.g-res-link { display: flex; align-items: center; gap: 12px; height: 100%; padding: 12px 14px; border: 1px solid var(--borda); border-radius: 14px; background: #fff; text-decoration: none; color: var(--texto); transition: border-color .15s, box-shadow .15s, transform .15s; }
.g-res-link:hover { border-color: var(--azul-500); box-shadow: var(--sombra); transform: translateY(-1px); }
.g-res-ico { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--ciano-50); color: var(--azul-600); }
.g-res-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.g-res-text strong { font-size: .93rem; color: var(--navy-900); overflow-wrap: anywhere; }
.g-res-text small { font-size: .82rem; color: var(--muted); margin-top: 2px; }
.g-res-text em { font-style: normal; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--azul-600); margin-top: 3px; }
.g-res-go { margin-left: auto; flex: none; color: var(--muted); }

/* Playlist (Vimeo) */
.g-playlist { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; counter-reset: none; }
.g-playlist li { margin: 0 !important; }
.g-play { display: flex; align-items: center; gap: 12px; height: 100%; padding: 12px; border-radius: 14px; text-decoration: none; color: #fff; background: linear-gradient(150deg, #173a66, #0f2547); transition: transform .15s, box-shadow .15s; }
.g-play:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(12, 21, 38, .25); }
.g-play-btn { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--ciano); color: #06213f; }
.g-play-btn .ico { width: 16px; height: 16px; fill: currentColor; }
.g-play-text { display: flex; flex-direction: column; font-size: .9rem; font-weight: 600; line-height: 1.3; }
.g-play-text small { font-family: var(--fonte-mono); font-size: .72rem; color: var(--ciano-200); font-weight: 500; }

/* Vídeo / painel incorporado (carrega ao clicar) */
.g-video, .g-embed { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: linear-gradient(150deg, #173a66, #0b1a33); }
.g-embed { aspect-ratio: 16 / 10; }
.g-video iframe, .g-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.g-media-btn { position: absolute; inset: 0; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 20px; border: 0; cursor: pointer; color: #fff; background: url("../img/net.svg") center / cover no-repeat; text-align: center; font: inherit; }
.g-media-btn strong { display: block; font-size: 1rem; }
.g-media-btn small { color: var(--ciano-200); font-size: .82rem; }
.g-media-play { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--ciano); color: #06213f; box-shadow: 0 0 0 10px rgba(30, 155, 240, .2); transition: transform .2s; }
.g-media-play .ico { width: 26px; height: 26px; }
.g-video .g-media-play .ico { fill: currentColor; }
.g-media-btn:hover .g-media-play { transform: scale(1.08); }
.g-media-btn:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
.g-video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.g-video-grid h2 { font-size: 1.05rem; margin: 0 0 10px !important; }

/* Abas, tabelas, números */
.g-tablist { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--borda); margin-bottom: 14px; flex-wrap: wrap; }
.g-tablist button { border: 0; background: transparent; padding: 8px 16px; border-radius: 999px; font: inherit; font-size: .9rem; font-weight: 600; color: var(--texto-2); cursor: pointer; min-height: 36px; }
.g-tablist button[aria-selected="true"] { background: var(--azul-600); color: #fff; box-shadow: var(--sombra-sm); }
.g-tablist button:focus-visible { outline: 3px solid var(--azul-500); outline-offset: 2px; }
.g-tab > * + * { margin-top: .8em; }
.g-table { overflow-x: auto; border: 1px solid var(--borda); border-radius: 14px; }
.g-table table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.g-table th { text-align: left; background: var(--bg-alt); color: var(--navy-900); font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; }
.g-table th, .g-table td { padding: 11px 14px; border-bottom: 1px solid var(--borda); }
.g-table tr:last-child td { border-bottom: 0; }
.g-table td:last-child { font-family: var(--fonte-mono); font-weight: 600; color: var(--azul-700); white-space: nowrap; }
.g-table td:only-child { font-family: inherit; font-weight: 400; color: inherit; white-space: normal; }
.g-score { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.g-score > div { padding: 16px; border-radius: 14px; border: 1px solid var(--borda); background: linear-gradient(180deg, #fff, var(--bg-alt)); font-size: .9rem; font-weight: 600; color: var(--texto-2); }
.g-score span { display: block; font-family: var(--fonte-titulo); font-size: 1.9rem; font-weight: 800; color: var(--azul-600); line-height: 1.1; }
.g-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.g-split > div { padding: 18px; border-radius: 16px; background: linear-gradient(150deg, #173a66, #0f2547); color: #d6e4f5; font-size: .95rem; }
.g-split b { font-family: var(--fonte-titulo); font-size: 2.2rem; color: #fff; margin-right: 6px; }
.g-split small { display: block; margin-top: 4px; color: var(--ciano-200); font-size: .84rem; }
.g-split-title { display: block; font-family: var(--fonte-mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ciano); margin-bottom: 4px; }
.g-split--one { grid-template-columns: minmax(0, 420px); }

/* Passos e listas */
.g-steps { list-style: none; padding: 0; counter-reset: gstep; display: grid; gap: 10px; }
.g-steps li { counter-increment: gstep; position: relative; margin: 0 !important; padding: 14px 16px 14px 60px; border-radius: 14px; border: 1px solid var(--borda); background: #fff; font-size: .95rem; }
.g-steps li::before { content: counter(gstep); position: absolute; left: 14px; top: 13px; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-family: var(--fonte-mono); font-weight: 600; color: #fff; background: var(--azul-600); }
.g-steps li strong { display: block; margin-bottom: 2px; }
.g-steps--grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.g-checks, .g-rules { list-style: none; padding: 0; display: grid; gap: 8px; }
.g-checks li, .g-rules li { position: relative; margin: 0 !important; padding: 10px 14px 10px 44px; border-radius: 12px; background: var(--bg-alt); font-size: .95rem; }
.g-checks li::before, .g-rules li::before { content: ""; position: absolute; left: 14px; top: 13px; width: 18px; height: 18px; border-radius: 50%; background: var(--verde) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.g-rules li.g-rule-no { background: var(--vermelho-bg); color: var(--vermelho); font-weight: 600; }
.g-rules li.g-rule-no::before { background: var(--vermelho) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center / 10px no-repeat; }
.g-trio { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.g-trio > div { padding: 16px; border-radius: 14px; border-top: 4px solid var(--azul-500); background: var(--bg-alt); font-size: .93rem; }
.g-trio strong { display: block; margin-bottom: 4px; }
.g-kit { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.g-kit > div { padding: 16px; border-radius: 14px; border: 1px solid var(--borda); font-size: .92rem; background: #fff; }
.g-kit b { display: block; font-family: var(--fonte-titulo); font-size: 2rem; color: var(--azul-600); line-height: 1; margin-bottom: 6px; }

/* Exemplos recolhíveis, citações */
.g-example { border: 1px solid var(--borda); border-radius: 14px; background: #fff; overflow: hidden; }
.g-example + .g-example { margin-top: 10px; }
.g-example > summary { cursor: pointer; list-style: none; padding: 14px 48px 14px 16px; position: relative; font-weight: 700; color: var(--navy-900); }
.g-example > summary::-webkit-details-marker { display: none; }
.g-example > summary::after { content: ""; position: absolute; right: 16px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--azul-600); border-bottom: 2px solid var(--azul-600); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.g-example[open] > summary::after { transform: translateY(-30%) rotate(-135deg); }
.g-example > summary:hover { background: var(--bg-alt); }
.g-example > summary:focus-visible { outline: 3px solid var(--azul-500); outline-offset: -3px; }
.g-example > *:not(summary) { margin: 0 16px 14px; }
.g-example[open] > summary { border-bottom: 1px solid var(--borda); margin-bottom: 14px; }
.g-quote { margin: 0; padding: 16px 18px; border-left: 4px solid var(--azul-500); border-radius: 0 12px 12px 0; background: var(--bg-alt); font-size: .95rem; }
.g-quote cite { display: block; margin-top: 10px; font-size: .8rem; font-style: normal; color: var(--muted); }
.g-answer { padding: 12px 14px; border-radius: 12px; background: var(--verde-bg); color: #0b5a32; font-size: .93rem; }
.g-answer strong { color: inherit; }
.g-ref { font-size: .84rem; color: var(--muted); }

/* Aulas: formatos, fluxo de envio, comparação */
.g-formats, .g-compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.g-formats > section, .g-compare > section { padding: 18px; border-radius: 16px; border: 1px solid var(--borda); background: #fff; }
.g-formats h3, .g-compare h2 { margin: 0 0 8px !important; font-size: 1.05rem; }
.g-formats p, .g-compare li, .g-formats li { font-size: .93rem; }
.g-flow { display: grid; gap: 14px; position: relative; }
.g-flow > section { position: relative; padding: 18px 18px 18px 22px; border-radius: 16px; border: 1px solid var(--borda); background: #fff; border-left: 5px solid var(--azul-500); }
.g-flow h2, .g-flow h3 { margin: 4px 0 6px !important; font-size: 1.08rem; }
.g-flow-tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--ciano-50); color: var(--azul-700); font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.g-bigcta { display: flex; align-items: center; gap: 16px; padding: 22px; border-radius: 18px; text-decoration: none; color: #fff; background: linear-gradient(150deg, var(--azul-500), var(--azul-700)); box-shadow: 0 12px 28px rgba(11, 95, 165, .28); transition: transform .2s; }
.g-bigcta:hover { transform: translateY(-2px); }
.g-bigcta strong { display: block; font-size: 1.15rem; color: #fff; }
.g-bigcta small { color: #d6e4f5; }
.g-bigcta-icon { width: 54px; height: 54px; flex: none; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .16); }
.g-bigcta-go { margin-left: auto; flex: none; }

/* Ciclo de aprendizagem */
.g-cycle { display: grid; grid-template-columns: 2fr 3fr 2fr; gap: 10px; margin-top: 22px !important; }
.g-cycle-moment { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 34px 12px 12px; border-radius: 16px; background: var(--bg-alt); border: 1px solid var(--borda); }
.g-cycle-moment:nth-child(1) { background: #eef6ff; }
.g-cycle-moment:nth-child(2) { background: #eafaf2; }
.g-cycle-moment:nth-child(3) { background: #fff4e8; }
.g-cycle-label { position: absolute; top: 10px; left: 12px; font-family: var(--fonte-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.g-cycle a { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; background: #fff; text-decoration: none; color: var(--navy-900); font-weight: 600; font-size: .92rem; box-shadow: var(--sombra-sm); transition: transform .15s; }
.g-cycle a:hover { transform: translateX(3px); }
.g-cycle b, .g-stage b { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-family: var(--fonte-mono); font-size: .85rem; color: #fff; background: var(--azul-600); }
.g-cycle-moment:nth-child(2) b { background: var(--verde); }
.g-cycle-moment:nth-child(3) b { background: #c46a00; }
.g-cycle-note { font-size: .9rem; color: var(--muted); }
.g-stage { display: flex; align-items: center; gap: 10px; }

/* Operacional */
.g-modules { display: flex; flex-wrap: wrap; gap: 10px; }
.g-modules a { display: inline-flex; align-items: baseline; gap: 6px; padding: 10px 16px; border-radius: 12px; border: 1px solid var(--borda); background: #fff; font-family: var(--fonte-mono); font-weight: 600; color: var(--azul-700); text-decoration: none; }
.g-modules a:hover { border-color: var(--azul-500); background: var(--ciano-50); }
.g-modules small { font-family: var(--fonte); font-weight: 500; color: var(--muted); }
.g-checklist { padding: 18px; border-radius: 16px; border: 1px solid var(--borda); background: #fff; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px 16px; }
.g-checklist h3 { grid-column: 1 / -1; margin: 6px 0 0 !important; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.g-checklist label { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; cursor: pointer; padding: 6px 0; }
.g-checklist input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--verde); flex: none; }
.g-checklist-note { grid-column: 1 / -1; margin: 6px 0 0; font-size: .8rem; color: var(--muted); }

/* Cartões de seções (início e subpáginas) */
.g-cards { display: grid; gap: 14px; }
.g-cards--home { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 26px !important; }
.g-cards--sub { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.g-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px 20px 18px; border-radius: 18px; border: 1px solid var(--borda); background: #fff; text-decoration: none; color: var(--texto-2); font-size: .88rem; line-height: 1.5; transition: transform .2s, box-shadow .2s, border-color .2s; }
.g-card:hover { transform: translateY(-3px); box-shadow: var(--sombra-lg); border-color: transparent; }
.g-card strong { font-family: var(--fonte-titulo); font-size: 1.08rem; color: var(--navy-900); }
.g-card em { font-style: normal; font-size: .76rem; font-weight: 700; color: var(--azul-600); }
.g-card-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, var(--azul-500), var(--azul-700)); margin-bottom: 6px; }
.g-card-go { position: absolute; right: 18px; top: 22px; color: var(--muted); transition: transform .2s; }
.g-card:hover .g-card-go { transform: translateX(3px); color: var(--azul-600); }
.g-board { margin-top: 28px !important; padding: 22px; border-radius: 18px; background: #fffbea; border: 1px solid #f3e3a5; }
.g-board h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px !important; font-size: 1.15rem; }
.g-board h2 .ico { color: #b07800; }
.g-board-text { font-size: 1rem; }
.g-board-links { margin-top: 14px; }

/* Anterior / próxima */
.gd-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--borda); }
.gd-pager a { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--borda); text-decoration: none; color: var(--navy-900); font-weight: 700; font-size: .95rem; }
.gd-pager a:hover { border-color: var(--azul-500); background: var(--ciano-50); }
.gd-pager small { display: inline-flex; align-items: center; gap: 4px; font-size: .76rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.gd-pager-next { text-align: right; align-items: flex-end; }

/* Celular e tablet */
@media (max-width: 960px) {
  .gd-top-inner { flex-wrap: wrap; }
  .gd-search { order: 3; flex-basis: 100%; max-width: none; }
  .gd-logout { margin-left: auto; }
  .gd-layout { grid-template-columns: minmax(0, 1fr); gap: 14px; padding-top: 18px; }
  .gd-menu-btn { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 48px; padding: 10px 16px; border-radius: 14px; border: 1px solid var(--borda); background: #fff; font: inherit; font-weight: 700; color: var(--navy-900); cursor: pointer; box-shadow: var(--sombra-sm); }
  .gd-menu-btn .ico { transition: transform .2s; }
  .gd-menu-btn[aria-expanded="true"] .ico { transform: rotate(180deg); }
  .gd-nav { display: none; position: static; max-height: none; }
  .gd-nav.is-open { display: block; }
  .gd-page { padding: 24px 20px 20px; border-radius: 18px; }
  .gd-head--home { margin: -24px -20px 22px; padding: 24px 20px; border-radius: 18px 18px 0 0; }
  .g-cycle { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .gd-head { flex-direction: column; gap: 12px; }
  .gd-head-ico { width: 44px; height: 44px; }
  .gd-pager { grid-template-columns: 1fr; }
  .gd-pager-next { text-align: left; align-items: flex-start; }
  .g-steps li { padding-left: 54px; }
  .gd-name { font-size: 1.1rem; }
}
.gd-body a.g-card, .gd-body a.g-res-link, .gd-body a.g-play, .gd-body a.g-bigcta, .gd-body .g-cycle a, .gd-body .gd-pager a { color: inherit; }
.gd-body a.g-card { color: var(--texto-2); }
.gd-body a.g-play, .gd-body a.g-bigcta { color: #fff; }
.gd-body .g-cycle a { color: var(--navy-900); }
.g-cards--home { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.gd-body .g-media-btn strong, .gd-body .g-split b, .gd-body .g-bigcta strong { color: #fff; }
/* Ajustes da auditoria */
.initiative-body { min-width: 0; }
.initiative-actions .btn { white-space: normal; text-align: center; max-width: 100%; }
.gd-body { overflow-wrap: anywhere; }
.gd-body .g-table, .gd-body table { overflow-wrap: normal; }
.placeholder-cover img { height: auto; }

/* =================== Pesquisa & Extensão: caminhos =================== */
.paths-intro { padding-top: 56px; }
.path--extensao { --acc: #0e7a43; --acc-2: #0a4a2c; --acc-soft: #e3f6eb; --acc-ink: #0b5a32; }
.path--monitoria, .quero-chip--monitoria { --acc: #b45309; --acc-2: #6b2a07; --acc-soft: #fff1dc; --acc-ink: #8a3d00; }
.path--pesquisa, .quero-chip--pesquisa { --acc: #6d28d9; --acc-2: #2e1065; --acc-soft: #f1eafe; --acc-ink: #5b21b6; }
.path--mentoria, .quero-chip--mentoria { --acc: #0b5fa5; --acc-2: #0a2f5c; --acc-soft: #e6f2fd; --acc-ink: #0a4f8f; }
.quero-chip--extensao { --acc: #0e7a43; --acc-soft: #e3f6eb; --acc-ink: #0b5a32; }

.quero { text-align: center; margin: 0 auto 48px; max-width: 980px; }
.quero-title { font-family: var(--fonte-mono); font-weight: 600; font-size: clamp(1.4rem, 3vw, 1.9rem); color: var(--navy-900); margin-bottom: 18px; }
.quero-prompt { color: var(--ciano); margin-right: 4px; }
.quero-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.quero-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 18px; border-radius: 999px; border: 2px solid var(--acc); color: var(--acc-ink); background: #fff; font-weight: 600; text-decoration: none; transition: background .2s, color .2s, transform .2s; }
.quero-chip .ico { color: var(--acc); }
.quero-chip:hover { background: var(--acc); color: #fff; transform: translateY(-2px); }
.quero-chip:hover .ico { color: #fff; }
.quero-chip:focus-visible { outline: 3px solid var(--acc); outline-offset: 3px; }
.quero-hint { margin: 16px 0 0; color: var(--muted); font-size: .92rem; }

.paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.path { display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid var(--borda); box-shadow: var(--sombra-sm); scroll-margin-top: calc(var(--header-h) + 20px); transition: box-shadow .3s, transform .3s; }
.path:hover { box-shadow: var(--sombra-lg); transform: translateY(-3px); }
.path-top { position: relative; overflow: hidden; isolation: isolate; padding: 26px 28px 28px; color: #fff; background: radial-gradient(420px 220px at 100% 0%, rgba(255, 255, 255, .18), transparent 70%), linear-gradient(150deg, var(--acc) 0%, var(--acc-2) 100%); }
.path-top::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/net.svg") center / 520px auto; opacity: .16; mix-blend-mode: screen; }
.path-bigicon { position: absolute; right: -22px; bottom: -34px; z-index: -1; color: #fff; opacity: .12; transform: rotate(-12deg); transition: transform .5s; }
.path-bigicon .ico { width: 190px; height: 190px; stroke-width: 1.2; }
.path:hover .path-bigicon { transform: rotate(-4deg) scale(1.06); }
.path-top-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.path-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(4px); }
.path-icon .ico { width: 28px; height: 28px; }
.path-num { font-family: var(--fonte-mono); font-size: 2.6rem; font-weight: 600; line-height: 1; color: rgba(255, 255, 255, .35); }
.path-label { margin: 0 0 4px; font-family: var(--fonte-mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.path-title { margin: 0; font-size: clamp(1.35rem, 2.4vw, 1.7rem); line-height: 1.2; color: #fff; max-width: 15em; }
.path-body { display: flex; flex-direction: column; flex: 1; padding: 24px 28px 26px; }
.path-body > p { margin: 0 0 20px; color: var(--texto-2); font-size: 1.02rem; line-height: 1.7; }
.path-gains-title { margin: 0 0 10px; font-family: var(--fonte); font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.path-gains { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.path-gains li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--acc-soft); color: var(--acc-ink); font-size: .86rem; font-weight: 600; }
.path-gains li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); }
.path-actions { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.path-btn { background: var(--acc); border-color: var(--acc); color: #fff; white-space: normal; text-align: left; }
.path-btn:hover { background: var(--acc-2); border-color: var(--acc-2); color: #fff; }
.path-btn:focus-visible, .path-link:focus-visible { outline: 3px solid var(--acc); outline-offset: 3px; }
.path-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--acc-ink); font-weight: 600; text-decoration: none; }
.path-link:hover { text-decoration: underline; text-underline-offset: 4px; }
/* Destaque ao escolher um caminho em "Eu quero…" */
.path.is-spotlight { box-shadow: 0 0 0 4px var(--acc), var(--sombra-lg); animation: path-pop .7s ease; }
@keyframes path-pop { 0% { transform: scale(.98); } 60% { transform: scale(1.015); } 100% { transform: scale(1); } }
@media (max-width: 900px) { .paths { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .paths-intro { padding-top: 40px; }
  .quero-chip { width: 100%; justify-content: center; }
  .quero-list li { width: 100%; }
  .path-top { padding: 22px 20px 24px; }
  .path-body { padding: 20px; }
  .path-bigicon .ico { width: 150px; height: 150px; }
}
@media (prefers-reduced-motion: reduce) { .path, .path-bigicon, .quero-chip { transition: none; } .path.is-spotlight { animation: none; } }

/* =================== Cores por área (Cursos e Redes Sociais) =================== */
.area--dev     { --area: #0b5fa5; --area-2: #1e9bf0; --area-soft: #e6f2fd; --area-ink: #0a4f8f; }
.area--dados   { --area: #6d28d9; --area-2: #a855f7; --area-soft: #f1eafe; --area-ink: #5b21b6; }
.area--info    { --area: #0f766e; --area-2: #14b8a6; --area-soft: #e0f5f2; --area-ink: #0b5e58; }
.area--gestao  { --area: #b45309; --area-2: #f59e0b; --area-soft: #fff1dc; --area-ink: #8a3d00; }
.area--criacao { --area: #be185d; --area-2: #ec4899; --area-soft: #fde7f1; --area-ink: #9d174d; }
.area--infra   { --area: #0e7a43; --area-2: #22c55e; --area-soft: #e3f6eb; --area-ink: #0b5a32; }

.area-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.area-bar--center { justify-content: center; }
.area-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--borda-forte); background: #fff; color: var(--texto-2); font: inherit; font-size: .92rem; font-weight: 600; cursor: pointer; transition: background .18s, border-color .18s, color .18s; }
.area-chip:hover { border-color: var(--area, var(--navy-900)); color: var(--area-ink, var(--navy-900)); }
.area-chip.is-active { background: var(--area, var(--navy-900)); border-color: var(--area, var(--navy-900)); color: #fff; }
.area-chip:focus-visible { outline: 3px solid var(--area, var(--azul-500)); outline-offset: 2px; }
.area-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--area); flex: none; }
.area-chip.is-active .area-dot { background: #fff; }
.area-count { font-family: var(--fonte-mono); font-size: .76rem; opacity: .7; }

/* Cartões de curso coloridos */
.course-card { overflow: hidden; isolation: isolate; }
.course-card:hover { border-color: var(--borda); box-shadow: 0 14px 34px rgba(12, 21, 38, .1); }
.course-glow { position: absolute; right: -26px; top: -26px; z-index: -1; color: var(--area); opacity: .07; transform: rotate(-12deg); transition: transform .4s, opacity .4s; }
.course-glow .ico { width: 140px; height: 140px; stroke-width: 1.3; }
.course-card:hover .course-glow { opacity: .13; transform: rotate(-2deg) scale(1.05); }
.course-icon { background: linear-gradient(140deg, var(--area), var(--area-2)); box-shadow: 0 8px 18px rgba(12, 21, 38, .15); }
.course-area { padding: 3px 9px; border-radius: 999px; background: var(--area-soft); color: var(--area-ink); font-weight: 600; }
.course-link { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; color: var(--area-ink); font-weight: 700; font-size: .9rem; text-decoration: none; }
.course-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.course-link .ico { transition: transform .2s; }
.course-link:hover .ico { transform: translateX(3px); }
.course-card.is-spotlight, .course-card:target { box-shadow: 0 0 0 4px var(--area), 0 18px 40px rgba(12, 21, 38, .15); animation: path-pop .7s ease; }

/* Teste de vocação na página Cursos */
.finder-section { padding: 40px 0 0; }
.finder { position: relative; overflow: hidden; display: flex; align-items: center; gap: 22px; padding: 26px 30px; border-radius: 22px; color: #dbe7f6;
  background: radial-gradient(420px 220px at 100% 0%, rgba(30, 155, 240, .35), transparent 70%), linear-gradient(150deg, #173a66, #0c1a33); box-shadow: var(--sombra); }
.finder::before { content: ""; position: absolute; inset: 0; background: url("../img/net.svg") center / 640px auto; opacity: .1; pointer-events: none; }
.finder > * { position: relative; }
.finder-icon { flex: none; width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: rgba(30, 155, 240, .2); color: var(--ciano-200); }
.finder-icon .ico { width: 28px; height: 28px; }
.finder-text { flex: 1; min-width: 0; }
.finder-text .eyebrow { color: var(--ciano-200); margin-bottom: 4px; }
.finder-text h2 { color: #fff; font-size: clamp(1.2rem, 2.4vw, 1.5rem); margin: 0 0 4px; }
.finder-text p:last-child { margin: 0; font-size: .95rem; color: #b9cbe3; }
.finder-btn { flex: none; background: var(--ciano); border-color: var(--ciano); color: #06213f; }
.finder-btn:hover { background: #fff; border-color: #fff; color: #06213f; }
.finder-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.finder-panel { margin-top: 18px; padding: 32px; border-radius: 22px; border: 1px solid var(--borda); background: radial-gradient(700px 360px at 0% 0%, var(--ciano-50), transparent 70%), #fff; box-shadow: var(--sombra-sm); }
@media (max-width: 760px) { .finder { flex-direction: column; align-items: flex-start; padding: 22px; } .finder-btn { width: 100%; justify-content: center; } .finder-panel { padding: 20px; } }

/* Book em cartão compacto */
.book-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 22px; padding: 24px 28px; border-radius: 20px; border: 1px solid var(--borda); background: linear-gradient(120deg, #fff 55%, var(--ciano-50)); box-shadow: var(--sombra-sm); }
.book-card-icon { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, var(--azul-600), var(--ciano)); box-shadow: 0 8px 18px rgba(11, 95, 165, .25); }
.book-card-icon .ico { width: 28px; height: 28px; }
.book-card-text h2 { font-size: 1.3rem; margin: 0 0 4px; }
.book-card-text p:last-child { margin: 0; color: var(--muted); font-size: .95rem; }
.book-card-text .eyebrow { margin-bottom: 4px; }
.book-card-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.book-card-embed { grid-column: 1 / -1; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--navy-900); }
.book-card-embed[hidden] { display: none; }
.book-card-embed iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 760px) { .book-card { grid-template-columns: 1fr; padding: 22px; } .book-card-actions .btn { flex: 1; justify-content: center; } }

/* =================== Redes Sociais: perfis em "stories" =================== */
.stories-section { padding-top: 56px; }
.stories-head { display: flex; align-items: center; justify-content: center; gap: 18px; text-align: left; margin: 0 auto 26px; max-width: 760px; }
.stories-ig { flex: none; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; color: #fff; background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); box-shadow: 0 10px 24px rgba(214, 36, 159, .25); }
.stories-ig .ico { width: 32px; height: 32px; }
.stories-head .section-title { margin-bottom: 4px; }
.story-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.story-group { position: relative; overflow: hidden; isolation: isolate; padding: 20px 20px 22px; border-radius: 22px; background: #fff; border: 1px solid var(--borda); }
.story-group[hidden] { display: none; }
.story-group-title { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; font-size: .82rem; font-family: var(--fonte); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--area-ink); }
.story-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 14px 10px; }
.story { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 6px 4px; border-radius: 16px; text-align: center; text-decoration: none; color: var(--navy-900); }
.story:focus-visible { outline: 3px solid var(--area); outline-offset: 2px; }
.story-ring { position: relative; width: 84px; height: 84px; border-radius: 50%; padding: 3px; background: conic-gradient(from 210deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75); transition: transform .25s; }
.story-avatar { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 3px solid #fff; background: linear-gradient(140deg, var(--area), var(--area-2)); }
.story-avatar .ico { width: 30px; height: 30px; }
.story:hover .story-ring { transform: scale(1.07) rotate(-6deg); }
.story-name { font-weight: 700; font-size: .86rem; line-height: 1.3; }
.story-handle { font-size: .74rem; color: var(--muted); overflow-wrap: break-word; }
a.linkedin-card { text-decoration: none; color: inherit; margin-bottom: 40px; }
.linkedin-text { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 2px; }
.linkedin-text strong { font-family: var(--fonte-titulo); font-size: 1.4rem; color: var(--navy-900); }
.linkedin-text > span:last-child { color: var(--muted); }
@media (max-width: 560px) { .stories-head { flex-direction: column; text-align: center; } .story-list { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); } .story-ring { width: 74px; height: 74px; } }
@media (prefers-reduced-motion: reduce) { .story-ring, .course-glow { transition: none; } .course-card.is-spotlight { animation: none; } }

/* =================== Eventos: inscrições, capas por tipo e linha do tempo =================== */
.chip-reg { display: inline-flex; align-items: center; gap: 4px; background: var(--verde-bg); color: var(--verde); }
.chip-reg .ico { width: 12px; height: 12px; }
.placeholder-cover--hackathon  { background: radial-gradient(400px 200px at 80% 0%, rgba(168, 85, 247, .45), transparent 70%), linear-gradient(150deg, #3b1a78, #160b33); }
.placeholder-cover--palestra   { background: radial-gradient(400px 200px at 80% 0%, rgba(30, 155, 240, .45), transparent 70%), linear-gradient(150deg, #134a86, #0b1d3a); }
.placeholder-cover--live       { background: radial-gradient(400px 200px at 80% 0%, rgba(236, 72, 153, .45), transparent 70%), linear-gradient(150deg, #7a1747, #2a0a1c); }
.placeholder-cover--workshop, .placeholder-cover--curso { background: radial-gradient(400px 200px at 80% 0%, rgba(245, 158, 11, .45), transparent 70%), linear-gradient(150deg, #7a3a06, #2b1403); }
.placeholder-cover--mentoria   { background: radial-gradient(400px 200px at 80% 0%, rgba(20, 184, 166, .45), transparent 70%), linear-gradient(150deg, #0d5c56, #04221f); }
.placeholder-cover--mostra     { background: radial-gradient(400px 200px at 80% 0%, rgba(34, 197, 94, .45), transparent 70%), linear-gradient(150deg, #0e5a33, #052014); }
.placeholder-cover--semana-ti, .placeholder-cover--competicao { background: radial-gradient(400px 200px at 80% 0%, rgba(30, 155, 240, .5), transparent 70%), linear-gradient(150deg, #0b5fa5, #0a2240); }

.timeline { position: relative; }
.tl-year + .tl-year { margin-top: 34px; }
.tl-year-title { margin: 0 0 16px; }
.tl-year-title span { display: inline-block; padding: 6px 16px; border-radius: 999px; background: var(--navy-900); color: #fff; font-family: var(--fonte-mono); font-size: 1rem; }
.tl-list { list-style: none; margin: 0; padding: 0 0 0 28px; position: relative; display: grid; gap: 16px; }
.tl-list::before { content: ""; position: absolute; left: 9px; top: 4px; bottom: 4px; width: 2px; background: linear-gradient(var(--azul-500), var(--borda)); }
.tl-item { position: relative; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 0; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--borda); transition: box-shadow .2s, transform .2s; }
.tl-item:hover { box-shadow: var(--sombra); transform: translateX(3px); }
.tl-dot { position: absolute; left: -25px; top: 24px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--azul-600); }
.tl-media { position: relative; display: block; min-height: 150px; background: var(--navy-900); overflow: hidden; }
.tl-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tl-body { padding: 18px 22px; min-width: 0; }
.tl-date { margin: 0 0 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--fonte-mono); font-weight: 600; font-size: .86rem; color: var(--azul-700); text-transform: uppercase; }
.tl-date .chip { font-family: var(--fonte); text-transform: none; }
.tl-title { margin: 0 0 6px; font-size: 1.12rem; line-height: 1.3; }
.tl-title a { color: var(--navy-900); text-decoration: none; }
.tl-title a:hover { color: var(--azul-600); text-decoration: underline; }
.tl-text { margin: 0 0 8px; color: var(--muted); font-size: .92rem; }
.tl-meta { margin: 0 0 10px; display: flex; align-items: center; gap: 6px; color: var(--texto-2); font-size: .86rem; }
.tl-action { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; font-weight: 700; font-size: .9rem; color: var(--azul-600); text-decoration: none; }
.tl-action:hover { text-decoration: underline; }
@media (max-width: 640px) { .tl-item { grid-template-columns: 1fr; } .tl-media { min-height: 0; aspect-ratio: 16 / 7; } .tl-list { padding-left: 22px; } .tl-dot { left: -20px; } }
.linkedin-card--soon { margin-bottom: 40px; }
.linkedin-card--soon h2 { font-size: 1.4rem; margin: 2px 0 4px; }
.linkedin-card--soon p:not(.eyebrow) { margin: 0; }
.linkedin-card--soon .eyebrow { margin: 0; }

/* =========================================================
   Guia Docente — blocos editáveis pelo painel
   ========================================================= */
.gd-updated { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: .84rem; color: var(--muted); }
.gd-draft { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; margin: -8px 0 20px; border-radius: 12px; background: var(--ambar-bg); border: 1px solid #f2d48a; color: #5c3d00; font-size: .92rem; }
.gd-draft .ico { margin-top: 3px; color: var(--ambar); }
.gd-edit-link { margin: -6px 0 20px; font-size: .88rem; }
.gd-edit-link a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.gd-list-title { font-size: 1.15rem !important; }
.gd-empty { color: var(--muted); }
.gd-list { list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.gd-list li + li { margin-top: 0 !important; }
.gd-list-item { position: relative; display: grid; gap: 3px; padding: 16px 48px 16px 18px; border: 1px solid var(--borda); border-radius: 14px; background: #fff; text-decoration: none; color: var(--texto-2); transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.gd-list-item:hover { border-color: var(--azul-500); box-shadow: var(--sombra); transform: translateY(-1px); }
.gd-list-item strong { color: var(--navy-900); font-size: 1.02rem; }
.gd-list-item span { font-size: .93rem; }
.gd-list-item small { font-size: .8rem; color: var(--muted); }
.gd-list-go { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--azul-600); }
.gd-recent { margin-top: 2.2em !important; }
.gd-recent h2 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; margin-top: 0 !important; }
.gd-recent h2 .ico { color: var(--azul-600); }
.gd-recent ul { list-style: none; padding: 0 !important; margin-top: 12px; border: 1px solid var(--borda); border-radius: 14px; background: #fff; }
.gd-recent li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 16px; margin: 0 !important; }
.gd-recent li + li { border-top: 1px solid var(--borda); }
.gd-recent a { display: grid; gap: 2px; text-decoration: none; min-width: 0; }
.gd-recent a strong { color: var(--navy-900); }
.gd-recent a:hover strong { color: var(--azul-600); text-decoration: underline; }
.gd-recent a span { font-size: .82rem; color: var(--muted); }
.gd-recent time { flex: none; font-size: .82rem; color: var(--muted); white-space: nowrap; }
@media (max-width: 520px) { .gd-recent li { flex-direction: column; align-items: flex-start; gap: 2px; } }

/* Texto e caixa de destaque */
.g-text > * + * { margin-top: 1em; }
.g-text img { border-radius: 12px; }
.g-text blockquote { margin: 0; padding: 12px 18px; border-left: 4px solid var(--azul-500); background: var(--bg-alt); border-radius: 0 12px 12px 0; }
.g-callout--bloco > div > * + * { margin-top: .6em; }
.g-callout-title { margin-bottom: .2em; }
.g-callout[data-kind="imp"] { background: var(--vermelho-bg); border-color: #f5c2bd; }
.g-callout[data-kind="imp"] .g-callout-ico { color: var(--vermelho); }

/* Passo a passo */
.g-passos { list-style: none; padding: 0 !important; counter-reset: passo; display: grid; gap: 14px; }
.g-passos > li + li { margin-top: 0 !important; }
.g-passo { counter-increment: passo; position: relative; padding: 16px 18px 16px 64px; border: 1px solid var(--borda); border-radius: 14px; background: #fff; }
.g-passo::before { content: counter(passo); position: absolute; left: 16px; top: 14px; width: 32px; height: 32px; border-radius: 999px; display: grid; place-items: center; background: linear-gradient(140deg, var(--azul-500), var(--azul-700)); color: #fff; font-weight: 800; font-size: .92rem; font-family: var(--fonte-titulo); }
.g-passo-titulo { font-family: var(--fonte-titulo); font-weight: 700; color: var(--navy-900); font-size: 1.04rem; margin: 4px 0 6px; }
.g-passo-corpo > * + * { margin-top: .7em; }
.g-passo-corpo img { border-radius: 10px; border: 1px solid var(--borda); }
.g-passo.is-collapsed > .g-passo-corpo { overflow: hidden; position: relative; }
.g-passo.is-collapsed > .g-passo-corpo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 56px; background: linear-gradient(rgba(255,255,255,0), #fff); pointer-events: none; }
.g-passo-toggle { margin-top: 10px; padding: 6px 12px; border: 1px solid var(--borda-forte); border-radius: 999px; background: #fff; color: var(--azul-600); font-weight: 650; font-size: .85rem; cursor: pointer; }
.g-passo-toggle:hover { border-color: var(--azul-500); background: var(--ciano-50); }
@media (max-width: 520px) { .g-passo { padding: 56px 14px 14px; } .g-passo::before { top: 14px; left: 14px; } }

/* Lista de materiais */
.g-mats { list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.g-mats > li + li { margin-top: 0 !important; }
.g-mat-link { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border: 1px solid var(--borda); border-radius: 14px; background: #fff; text-decoration: none; color: var(--texto-2); transition: border-color .15s ease, box-shadow .15s ease; }
.g-mat-link:hover { border-color: var(--azul-500); box-shadow: var(--sombra-sm); }
.g-mat-tag { flex: none; min-width: 48px; padding: 8px 6px; border-radius: 10px; text-align: center; font-size: .72rem; font-weight: 800; letter-spacing: .05em; color: #fff; background: #5b6b82; font-family: var(--fonte-mono); }
.g-mat-tag--pdf { background: #b42318; } .g-mat-tag--doc { background: #1d4ed8; } .g-mat-tag--xls { background: #0e7a43; }
.g-mat-tag--ppt { background: #c2410c; } .g-mat-tag--img { background: #6d28d9; } .g-mat-tag--zip { background: #475569; }
.g-mat-tag--link { background: var(--azul-600); }
.g-mat-text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.g-mat-title { color: var(--navy-900); font-weight: 650; overflow-wrap: anywhere; }
.g-mat-link:hover .g-mat-title { color: var(--azul-600); text-decoration: underline; }
.g-mat-desc { font-size: .88rem; }
.g-mat-meta { flex: none; font-size: .8rem; color: var(--muted); white-space: nowrap; }
@media (max-width: 560px) { .g-mat-link { flex-wrap: wrap; } .g-mat-meta { width: 100%; padding-left: 62px; white-space: normal; } }

/* Cronograma */
.g-cron { border: 1px solid var(--borda); border-radius: 16px; background: #fff; }
.g-cron-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 12px 12px 18px; background: linear-gradient(120deg, var(--azul-600), var(--azul-700)); border-radius: 15px 15px 0 0; }
.gd-body .g-cron-title { color: #fff; margin: 0 !important; font-size: 1.08rem; }
.g-cron-head .g-menu > summary { color: #fff; }
.g-cron-head .g-menu > summary:hover { background: rgba(255,255,255,.16); }
.g-prazos { list-style: none; padding: 0 !important; }
.g-prazo { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto auto; gap: 6px 14px; align-items: center; padding: 12px 12px 12px 18px; margin: 0 !important; }
.g-prazo + .g-prazo { border-top: 1px solid var(--borda); }
.g-prazo-data { font-weight: 700; color: var(--azul-700); font-size: .92rem; font-variant-numeric: tabular-nums; }
.g-prazo-texto { display: grid; gap: 2px; }
.g-prazo-titulo { color: var(--navy-900); font-weight: 650; }
.g-prazo-desc { font-size: .88rem; }
.g-prazo-status { font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--bg-alt); color: var(--texto-2); white-space: nowrap; }
.g-prazo--andamento { background: var(--ciano-50); }
.g-prazo--andamento .g-prazo-status { background: var(--azul-600); color: #fff; }
.g-prazo--encerrado { background: #f6f8fb; }
.g-prazo--encerrado .g-prazo-data, .g-prazo--encerrado .g-prazo-titulo { color: #5f6b7c; }
.g-prazo--encerrado .g-prazo-titulo { text-decoration: line-through; text-decoration-color: rgba(95,107,124,.5); }
.g-prazo--encerrado .g-prazo-status { background: #e7ebf1; color: #4b5565; }
.g-prazo:last-child { border-radius: 0 0 15px 15px; }
.g-cron-vazio { padding: 16px 18px; color: var(--muted); margin: 0 !important; }
@media (max-width: 640px) {
  .g-prazo { grid-template-columns: minmax(0, 1fr) auto; }
  .g-prazo-data { grid-column: 1; grid-row: 1; }
  .g-prazo > .g-menu { grid-column: 2; grid-row: 1; }
  .g-prazo-texto { grid-column: 1 / -1; }
  .g-prazo-status { grid-column: 1 / -1; justify-self: start; }
}

/* Menus ⋮ (agenda) */
.g-menu { position: relative; }
.g-menu > summary { list-style: none; cursor: pointer; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 999px; font-size: 1.3rem; line-height: 1; color: var(--navy-900); }
.g-menu > summary::-webkit-details-marker { display: none; }
.g-menu > summary:hover { background: var(--bg-alt); }
.g-menu-list { position: absolute; right: 0; top: calc(100% + 4px); z-index: 20; min-width: 220px; list-style: none; padding: 6px !important; margin: 0 !important; background: #fff; border: 1px solid var(--borda); border-radius: 12px; box-shadow: var(--sombra-lg); }
.g-menu-list li { margin: 0 !important; }
.g-menu-list a { display: block; padding: 9px 12px; border-radius: 8px; text-decoration: none; color: var(--navy-900); font-size: .9rem; font-weight: 550; }
.g-menu-list a:hover, .g-menu-list a:focus-visible { background: var(--ciano-50); color: var(--azul-600); }

/* Tabela do bloco */
.g-table--bloco caption { caption-side: top; text-align: left; padding: 12px 14px; font-family: var(--fonte-titulo); font-weight: 700; color: var(--navy-900); background: var(--bg-alt); border-bottom: 1px solid var(--borda); }
.g-table--bloco table[style*="table-layout"] { max-width: none; }
.g-table--bloco td { vertical-align: top; overflow-wrap: anywhere; }

/* Imagem interativa */
.g-ii { margin: 0; }
.g-ii-palco { position: relative; display: inline-block; max-width: 100%; }
.g-ii-img { display: block; border-radius: 12px; border: 1px solid var(--borda); }
.g-ii-item { position: static; }
.g-ii-ponto { position: absolute; transform: translate(-50%, -50%); list-style: none; cursor: pointer; width: 32px; height: 32px; border-radius: 999px; display: grid; place-items: center; background: var(--azul-600); color: #fff; font-weight: 800; font-size: .85rem; border: 2px solid #fff; box-shadow: 0 0 0 4px rgba(22,119,210,.28), 0 4px 12px rgba(0,0,0,.3); z-index: 2; }
.g-ii-ponto::-webkit-details-marker { display: none; }
.g-ii-ponto:hover, .g-ii-item[open] > .g-ii-ponto { background: var(--navy-900); }
@media (prefers-reduced-motion: no-preference) { .g-ii-item:not([open]) > .g-ii-ponto { animation: ii-pulse 2.4s ease-in-out infinite; } }
@keyframes ii-pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(22,119,210,.28), 0 4px 12px rgba(0,0,0,.3); } 50% { box-shadow: 0 0 0 9px rgba(22,119,210,.12), 0 4px 12px rgba(0,0,0,.3); } }
.g-ii-balao { position: absolute; z-index: 3; width: min(320px, 80%); padding: 14px 16px; background: #fff; border-radius: 12px; border: 1px solid var(--borda); box-shadow: var(--sombra-lg); font-size: .92rem; color: var(--texto-2); }
.g-ii-titulo { display: block; color: var(--navy-900); margin-bottom: 4px; }
.g-ii-texto { margin: 0; }
.g-ii-fechar { margin-top: 10px; padding: 5px 12px; border: 1px solid var(--borda-forte); border-radius: 999px; background: #fff; color: var(--azul-600); font-weight: 600; font-size: .82rem; cursor: pointer; }
.g-ii-lista { display: none; }
@media (max-width: 560px) { .g-ii-balao { width: 88%; } }
@media print { .g-ii-item { display: none; } .g-ii-lista { display: block; padding-left: 1.3em; } .g-passo.is-collapsed > .g-passo-corpo { max-height: none !important; } .g-passo-toggle, .g-menu { display: none; } }

/* =========================================================
   Cartões por área (Cursos e Redes Sociais): faixa na cor da área, com corte
   diagonal e textura de pontos (placa de circuito) no lugar da borda superior.
   O lado escuro da faixa fica onde há texto, para manter o contraste.
   ========================================================= */
.course-card::before, .story-group::before {
  content: ""; position: absolute; z-index: -2; inset: 0 0 auto 0; height: 104px;
  background: linear-gradient(110deg, var(--area-2) -10%, var(--area) 62%);
  clip-path: polygon(0 0, 100% 0, 100% 58%, 0 84%);
}
.course-card::after, .story-group::after {
  content: ""; position: absolute; z-index: -1; inset: 0 0 auto 0; height: 104px;
  background-image: radial-gradient(rgba(255, 255, 255, .9) 1.1px, transparent 1.7px);
  background-size: 14px 14px; opacity: .35;
  clip-path: polygon(0 0, 100% 0, 100% 58%, 0 84%);
  -webkit-mask-image: linear-gradient(100deg, transparent 22%, #000 80%);
          mask-image: linear-gradient(100deg, transparent 22%, #000 80%);
  transition: opacity .35s, background-position .8s;
}
.course-card:hover::after, .story-group:hover::after { opacity: .6; background-position: 7px 7px; }

/* Cursos: ícone em placa branca "apoiada" no corte; etiqueta clara sobre a cor */
.course-card { padding-top: 26px; }
.course-card .course-card-top { position: relative; align-items: flex-start; }
.course-card .course-icon { width: 60px; height: 60px; border-radius: 18px; background: #fff; color: var(--area); box-shadow: 0 12px 24px rgba(12, 21, 38, .18); }
.course-card .course-icon .ico { width: 28px; height: 28px; }
.course-card .course-area { margin-top: 2px; background: rgba(0, 0, 0, .2); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.course-glow { right: -14px; top: -24px; color: #fff; opacity: .16; }
.course-card:hover .course-glow { opacity: .26; }
.course-card .course-name { margin-top: 14px; }

/* Redes Sociais: título branco sobre a faixa (lado escuro à esquerda) */
.story-group::before, .story-group::after { height: 74px; background-position: 0 0; }
.story-group::before { background: linear-gradient(110deg, var(--area) 38%, var(--area-2) 120%); clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%); }
.story-group::after { clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%); -webkit-mask-image: linear-gradient(100deg, transparent 40%, #000 95%); mask-image: linear-gradient(100deg, transparent 40%, #000 95%); }
.story-group-title { position: relative; color: #fff; margin-bottom: 36px; }
.story-group-title .area-dot { background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .25); }

@media (prefers-reduced-motion: reduce) { .course-card::after, .story-group::after { transition: none; } }
@media print { .course-card::before, .course-card::after, .story-group::before, .story-group::after { display: none; } .story-group-title, .course-card .course-area { color: inherit; } }

/* =========================================================
   Guia Docente — visual 2 (cor por seção, menu em sanfona,
   cabeçalho em faixa, índice "Nesta página" e progresso de leitura)
   ========================================================= */
.tone-home { --tone: #0b4f8f; --tone-2: #1e9bf0; --tone-soft: #e6f2fd; --tone-ink: #0a4f8f; }
.tone-0 { --tone: #0b5fa5; --tone-2: #1e9bf0; --tone-soft: #e6f2fd; --tone-ink: #0a4f8f; }
.tone-1 { --tone: #6d28d9; --tone-2: #a855f7; --tone-soft: #f1eafe; --tone-ink: #5b21b6; }
.tone-2 { --tone: #0f766e; --tone-2: #14b8a6; --tone-soft: #e0f5f2; --tone-ink: #0b5e58; }
.tone-3 { --tone: #b45309; --tone-2: #f59e0b; --tone-soft: #fff1dc; --tone-ink: #8a3d00; }
.tone-4 { --tone: #be185d; --tone-2: #ec4899; --tone-soft: #fde7f1; --tone-ink: #9d174d; }
.tone-5 { --tone: #0e7a43; --tone-2: #22c55e; --tone-soft: #e3f6eb; --tone-ink: #0b5a32; }

.gd { background: radial-gradient(1200px 500px at 50% -200px, #e3eefb, transparent 70%), #f3f6fb; }
.gd .container { max-width: 1360px; }

/* Progresso de leitura */
.gd-progress { position: fixed; z-index: 99; left: 0; right: 0; top: var(--header-h); height: 3px; pointer-events: none; }
.gd-progress span { display: block; height: 100%; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, var(--ciano), #7c3aed, #ec4899); transition: transform .1s linear; }

/* Barra do guia */
.gd-search { position: relative; }
.gd-kbd { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); min-width: 24px; padding: 2px 7px; border-radius: 6px; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.1); color: #dbe7f6; font-family: var(--fonte-mono); font-size: .78rem; text-align: center; pointer-events: none; }
.gd-search input:focus ~ .gd-kbd, .gd-search input:not(:placeholder-shown) ~ .gd-kbd { display: none; }

/* Grade: menu | página | índice */
.gd-layout { grid-template-columns: 268px minmax(0, 1fr); gap: 28px; padding-top: 28px; }
@media (min-width: 1280px) { .gd-layout.has-toc { grid-template-columns: 268px minmax(0, 1fr) 210px; } }

/* Menu escuro em sanfona */
.gd-nav { background: linear-gradient(180deg, #14264a 0%, #0e1a33 100%); border: 0; border-radius: 22px; padding: 16px 10px 12px; box-shadow: 0 18px 40px rgba(12, 21, 38, .18); scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.2) transparent; }
.gd-nav-head { margin: 0 10px 10px; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8ea6c8; }
.gd-nav-item + .gd-nav-item { margin-top: 2px; }
.gd-nav-row { display: flex; align-items: center; gap: 2px; }
.gd-nav-row > a { flex: 1; min-width: 0; }
.gd-nav a { color: #cfdbec; padding: 8px 10px; border-radius: 12px; font-weight: 600; }
.gd-nav a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.gd-nav-chip { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, var(--tone), var(--tone-2)); box-shadow: 0 4px 10px rgba(0, 0, 0, .25); }
.gd-nav-chip .ico { width: 16px; height: 16px; }
.gd-nav-label { flex: 1; min-width: 0; }
.gd-nav-count { flex: none; min-width: 22px; padding: 1px 7px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #b8c8de; font-size: .72rem; font-weight: 700; text-align: center; }
.gd-nav a.is-active, .gd-nav a.is-parent { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 3px 0 0 var(--tone-2); }
.gd-nav a.is-active .gd-nav-ico { color: #fff; }
.gd-nav-toggle { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 10px; background: transparent; color: #8ea6c8; cursor: pointer; }
.gd-nav-toggle:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.gd-nav-toggle:focus-visible, .gd-nav a:focus-visible { outline: 2px solid #8fd0ff; outline-offset: 1px; }
.gd-nav-toggle .ico { transition: transform .2s; }
.gd-nav-item.is-open .gd-nav-toggle .ico { transform: rotate(180deg); }
.gd-nav-item:not(.is-open) > .gd-nav-sub { display: none; }
.gd-nav-sub { margin: 4px 0 8px 24px; padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .14); }
.gd-nav-sub a { position: relative; color: #a9bcd6; font-weight: 500; font-size: .86rem; padding: 6px 10px; border-radius: 10px; }
.gd-nav-sub a::before { content: ""; position: absolute; left: -18px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: #0e1a33; border: 1px solid rgba(255, 255, 255, .25); }
.gd-nav-sub a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.gd-nav-sub a.is-active { color: #fff; background: rgba(255, 255, 255, .1); font-weight: 650; }
.gd-nav-sub a.is-active::before { background: var(--tone-2); border-color: var(--tone-2); box-shadow: 0 0 0 3px rgba(255, 255, 255, .12); }

/* Página: cabeçalho em faixa + folha */
.gd-page { padding: 0; overflow: hidden; border: 0; border-radius: 24px; box-shadow: 0 1px 2px rgba(12, 21, 38, .05), 0 14px 40px rgba(12, 21, 38, .08); }
.gd-sheet { padding: 30px 40px 28px; }
.gd-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; padding: 22px 40px 26px;
  background: var(--tone); background: linear-gradient(115deg, color-mix(in srgb, var(--tone) 78%, #0c1526) 0%, var(--tone) 70%); }
.gd-hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .85) 1.1px, transparent 1.7px); background-size: 16px 16px; opacity: .16;
  -webkit-mask-image: linear-gradient(100deg, transparent 35%, #000 95%); mask-image: linear-gradient(100deg, transparent 35%, #000 95%); }
.gd-hero-ghost { position: absolute; z-index: -1; right: -24px; bottom: -40px; color: #fff; opacity: .05; transform: rotate(-12deg); }
.gd-hero-ghost .ico { width: 190px; height: 190px; stroke-width: 1.2; }
.gd-hero .gd-crumbs { margin-bottom: 14px; color: rgba(255, 255, 255, .8); }
.gd-hero .gd-crumbs a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); text-underline-offset: 3px; }
.gd-hero .gd-crumbs span:last-child { color: #fff; }
.gd-hero-main { display: flex; gap: 18px; align-items: flex-start; }
.gd-hero-ico { flex: none; width: 58px; height: 58px; border-radius: 17px; display: grid; place-items: center; background: #fff; color: var(--tone); box-shadow: 0 12px 26px rgba(0, 0, 0, .2); }
.gd-hero-ico .ico { width: 28px; height: 28px; }
.gd-hero-kicker { margin: 0 0 2px; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.gd-hero h1 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.12; margin: 0 0 8px; }
.gd-hero h1:focus { outline: none; }
.gd-hero .gd-lede { color: #fff; font-size: 1.04rem; max-width: 44em; }
.gd-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; }
.gd-meta li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: rgba(0, 0, 0, .22); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); font-size: .8rem; font-weight: 600; color: #fff; }
.gd-meta kbd { font-family: var(--fonte-mono); padding: 0 5px; border-radius: 4px; background: rgba(255, 255, 255, .2); }
.gd-hero-main + .gd-meta { margin-left: 76px; }

/* Início do guia */
.gd-hero--home { padding: 34px 40px 32px; background: var(--tone); background: radial-gradient(520px 260px at 90% 0%, rgba(30, 155, 240, .55), transparent 70%), linear-gradient(130deg, #0f2f5c 0%, #0b4f8f 70%, #1667b0 100%); }
.gd-hero--home .gd-hello { margin: 0 0 4px; font-family: var(--fonte-mono); font-size: .86rem; color: #b9defb; }
.gd-hero--home h1 { font-size: clamp(2.1rem, 4.4vw, 2.9rem); }
.gd-hero--home .gd-hero-ghost .ico { width: 230px; height: 230px; }
@media (max-width: 960px) { .gd-meta-tip { display: none !important; } }

/* Cartões das seções com a cor de cada uma */
.g-card { border-radius: 20px; overflow: hidden; isolation: isolate; }
.g-card::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--tone, var(--azul-600)), var(--tone-2, var(--ciano))); transform: scaleX(.18); transform-origin: 0 50%; transition: transform .35s; }
.g-card:hover::before { transform: scaleX(1); }
.g-card:hover { border-color: var(--tone-soft, var(--borda)); }
.g-card-ico { background: linear-gradient(140deg, var(--tone, var(--azul-500)), var(--tone-2, var(--azul-700))); box-shadow: 0 8px 18px rgba(12, 21, 38, .14); }
.g-card em { color: var(--tone-ink, var(--azul-600)); }
.g-card:hover .g-card-go { color: var(--tone, var(--azul-600)); }
.g-card-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.g-card-chips i { font-style: normal; font-size: .72rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--tone-soft, var(--ciano-50)); color: var(--tone-ink, var(--azul-700)); }
.gd-page .gd-list-item:hover { border-color: var(--tone); }
.gd-page .gd-list-go { color: var(--tone); }
.gd-body h2 { position: relative; padding-left: 16px; }
.gd-body h2::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 4px; border-radius: 4px; background: linear-gradient(180deg, var(--tone, var(--azul-600)), var(--tone-2, var(--ciano))); }
.gd-body .g-board h2, .gd-body .gd-recent h2, .gd-body h2.sr-only, .gd-body .g-cron h2 { padding-left: 0; }
.gd-body .g-board h2::before, .gd-body .gd-recent h2::before, .gd-body h2.sr-only::before, .gd-body .g-cron h2::before { display: none; }

/* Atualizações recentes em linha do tempo */
.gd-recent ul { border: 0; background: transparent; position: relative; padding-left: 20px !important; }
.gd-recent ul::before { content: ""; position: absolute; left: 6px; top: 14px; bottom: 14px; width: 2px; background: linear-gradient(180deg, var(--ciano-200), var(--borda)); }
.gd-recent li { position: relative; margin: 0 0 8px !important; padding: 12px 16px; border: 1px solid var(--borda); border-radius: 14px; background: #fff; }
.gd-recent li + li { border-top: 1px solid var(--borda); }
.gd-recent li::before { content: ""; position: absolute; left: -19px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: #fff; border: 2px solid var(--azul-500); }
.gd-recent li:first-child::before { background: var(--azul-500); box-shadow: 0 0 0 4px var(--ciano-50); }

/* Mural mais leve */
.g-board { background: linear-gradient(135deg, #fffaf0, #fff6dc); border-color: #f1dfa6; border-radius: 20px; }

/* Paginação anterior/próxima */
.gd-pager a { border-radius: 16px; padding: 16px 18px; transition: border-color .2s, background .2s, transform .2s; }
.gd-pager a:hover { border-color: var(--tone, var(--azul-500)); background: var(--tone-soft, var(--ciano-50)); transform: translateY(-2px); }

/* Índice "Nesta página" */
.gd-toc { position: sticky; top: calc(var(--header-h) + 22px); max-height: calc(100vh - var(--header-h) - 44px); overflow: auto; padding: 4px 0; }
.gd-toc-title { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.gd-toc-list { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--borda); }
.gd-toc-list a { display: block; margin-left: -2px; padding: 6px 0 6px 14px; border-left: 2px solid transparent; color: var(--texto-2); font-size: .85rem; line-height: 1.4; text-decoration: none; }
.gd-toc-list a:hover { color: var(--navy-900); }
.gd-toc-list a.is-active { border-left-color: var(--tone); color: var(--tone-ink); font-weight: 650; }
.gd-toc-inline { display: none; margin: 0 0 22px !important; border: 1px solid var(--borda); border-radius: 14px; background: var(--bg-alt); }
.gd-toc-inline summary { display: flex; align-items: center; gap: 8px; padding: 12px 16px; cursor: pointer; font-weight: 650; color: var(--navy-900); list-style: none; }
.gd-toc-inline summary::-webkit-details-marker { display: none; }
.gd-toc-inline summary span { color: var(--muted); font-weight: 500; font-size: .86rem; }
.gd-toc-inline .gd-toc-list { margin: 0 16px 14px; }
@media (max-width: 1279px) { .gd-toc { display: none !important; } .gd-toc-inline { display: block; } }

@media (max-width: 960px) {
  .gd-layout, .gd-layout.has-toc { grid-template-columns: minmax(0, 1fr); gap: 14px; padding-top: 18px; }
  .gd-nav { border-radius: 18px; }
  .gd-menu-btn { background: linear-gradient(180deg, #14264a, #0e1a33); color: #fff; border: 0; }
  .gd-page { border-radius: 20px; }
  .gd-hero { padding: 20px 20px 22px; }
  .gd-hero--home { padding: 26px 20px; }
  .gd-sheet { padding: 22px 20px 20px; }
  .gd-hero-main + .gd-meta { margin-left: 0; }
  .gd-kbd { display: none; }
}
@media (max-width: 560px) {
  .gd-hero-main { flex-direction: column; gap: 12px; }
  .gd-hero-ico { width: 48px; height: 48px; border-radius: 14px; }
  .gd-hero-ghost .ico { width: 140px; height: 140px; }
}
@media (prefers-reduced-motion: reduce) { .gd-progress span, .g-card::before, .gd-nav-toggle .ico { transition: none; } }
@media print { .gd-progress, .gd-toc, .gd-toc-inline, .gd-nav, .gd-menu-btn { display: none !important; } .gd-hero { background: none !important; color: var(--texto); } .gd-hero h1, .gd-hero .gd-lede { color: var(--texto); } }

/* Blocos do guia acompanham a cor da seção */
.gd-page .g-passo::before { background: linear-gradient(140deg, var(--tone-2), var(--tone)); }
.gd-page .g-passo-toggle { color: var(--tone-ink); }
.gd-page .g-passo-toggle:hover { border-color: var(--tone); background: var(--tone-soft); }
.gd-page .g-cron-head { background: linear-gradient(120deg, color-mix(in srgb, var(--tone) 80%, #0c1526), var(--tone)); }
.gd-page .g-prazo-data { color: var(--tone-ink); }
.gd-page .g-prazo--andamento { background: var(--tone-soft); }
.gd-page .g-prazo--andamento .g-prazo-status { background: var(--tone); }
.gd-page .g-prazo--encerrado .g-prazo-data { color: #5f6b7c; }
.gd-page .g-mat-tag--link { background: var(--tone); }
.gd-page .g-mat-link:hover { border-color: var(--tone); }
.gd-page .g-mat-link:hover .g-mat-title { color: var(--tone-ink); }
.gd-page .g-ii-ponto { background: var(--tone); box-shadow: 0 0 0 4px color-mix(in srgb, var(--tone-2) 35%, transparent), 0 4px 12px rgba(0, 0, 0, .3); }
.gd-page .g-text blockquote { border-left-color: var(--tone); }

/* =========================================================
   Acessibilidade: botão flutuante, painel e modos (assets/js/acessibilidade.js)
   ========================================================= */
#a11y-root { font-family: var(--fonte); }
.a11y-fab { position: fixed; z-index: 2147483000; right: 10px; top: calc(50vh + 30px); height: 40px; width: 40px; padding: 0 9px; overflow: hidden;
  display: flex; align-items: center; gap: 10px; border: 0; border-radius: 8px; background: #0b5fa5; color: #fff; cursor: pointer;
  box-shadow: 0 6px 18px rgba(12, 21, 38, .25); transition: width .35s ease, background .2s; white-space: nowrap; font: 700 .9rem var(--fonte); }
.a11y-fab svg { flex: none; }
.a11y-fab:hover, .a11y-fab:focus-visible, .a11y-fab[aria-expanded="true"] { width: 168px; background: #0a4f8f; }
.a11y-fab:focus-visible { outline: 3px solid #fff; box-shadow: 0 0 0 6px #0b5fa5; }
.a11y-panel { position: fixed; z-index: 2147483001; right: 62px; top: max(12px, calc(50vh - 260px)); width: min(380px, calc(100vw - 80px)); max-height: calc(100vh - 24px); overflow: auto;
  background: #fff; color: var(--texto); border-radius: 18px; box-shadow: 0 24px 60px rgba(12, 21, 38, .3); border: 1px solid var(--borda); }
.a11y-panel[hidden] { display: none; }
.a11y-head { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 14px 14px 18px; background: linear-gradient(120deg, #0f2f5c, #0b5fa5); color: #fff; border-radius: 18px 18px 0 0; }
.a11y-head h2 { display: flex; align-items: center; gap: 8px; margin: 0; color: #fff; font-size: 1.05rem; font-family: var(--fonte-titulo); }
.a11y-x { width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; }
.a11y-x:hover { background: rgba(255, 255, 255, .25); }
.a11y-body { padding: 16px; display: grid; gap: 14px; }
.a11y-libras { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: 14px; border: 0; cursor: pointer; text-align: left;
  background: linear-gradient(120deg, #1351b4, #0c326f); color: #fff; box-shadow: 0 8px 18px rgba(19, 81, 180, .3); }
.a11y-libras span { display: grid; gap: 1px; }
.a11y-libras strong { font-size: 1rem; }
.a11y-libras small { font-size: .78rem; color: #dbe7f6; }
.a11y-libras:hover { filter: brightness(1.08); }
.a11y-status { margin: -6px 0 0; min-height: 0; font-size: .82rem; color: var(--azul-700); font-weight: 600; }
.a11y-status:empty { display: none; }
.a11y-group-title { margin: 0 0 8px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.a11y-group-title span { text-transform: none; letter-spacing: 0; font-weight: 600; }
.a11y-size { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.a11y-size button { min-height: 44px; border-radius: 12px; border: 1px solid var(--borda-forte); background: #fff; color: var(--navy-900); font: 800 1rem var(--fonte-titulo); cursor: pointer; }
.a11y-size button:first-child { font-size: .85rem; }
.a11y-size button:last-child { font-size: 1.2rem; }
.a11y-size button:hover:not(:disabled) { border-color: var(--azul-500); background: var(--ciano-50); }
.a11y-size button:disabled { opacity: .45; cursor: not-allowed; }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y-opt { display: grid; justify-items: start; gap: 6px; padding: 12px; min-height: 96px; border-radius: 14px; border: 1px solid var(--borda); background: var(--bg-alt); color: var(--navy-900); cursor: pointer; text-align: left; }
.a11y-opt span { display: grid; gap: 2px; }
.a11y-opt strong { font-size: .88rem; line-height: 1.25; }
.a11y-opt small { font-size: .74rem; color: var(--muted); line-height: 1.3; }
.a11y-opt svg { color: var(--azul-600); }
.a11y-opt:hover { border-color: var(--azul-500); }
.a11y-opt[aria-pressed="true"] { background: #0b5fa5; border-color: #0b5fa5; color: #fff; }
.a11y-opt[aria-pressed="true"] small, .a11y-opt[aria-pressed="true"] svg { color: #dbe7f6; }
.a11y-reset { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border-radius: 12px; border: 1px dashed var(--borda-forte); background: #fff; color: var(--texto-2); font-weight: 650; cursor: pointer; }
.a11y-reset:hover { border-color: var(--vermelho); color: var(--vermelho); }
.a11y-note { margin: 0; font-size: .76rem; color: var(--muted); }
.a11y-panel button:focus-visible { outline: 3px solid var(--azul-500); outline-offset: 2px; }
@media (max-width: 560px) {
  .a11y-fab { top: auto; bottom: 14px; }
  .a11y-panel { left: 8px; right: 8px; top: auto; bottom: 64px; width: auto; max-height: calc(100vh - 90px); }
}
@media (prefers-reduced-motion: reduce) { .a11y-fab { transition: none; } }
@media print { #a11y-root { display: none; } }

/* Tamanho do texto: o painel escala com rem; o corpo acompanha. */
html.a11y-text body { font-size: 1rem; }

/* Destacar links */
html.a11y-links a:not(.btn):not(.a11y-fab) { text-decoration: underline !important; text-decoration-thickness: 2px !important; text-underline-offset: 3px !important; }
html.a11y-links a:hover, html.a11y-links a:focus { background: #fff3a8 !important; color: #0c1526 !important; outline: 2px solid #0c1526; }

/* Texto mais legível (espaçamento recomendado pela WCAG 1.4.12) */
html.a11y-readable body :not(svg):not(svg *):not(code):not(kbd) { letter-spacing: .06em !important; word-spacing: .16em !important; line-height: 1.75 !important; }
html.a11y-readable p, html.a11y-readable li { margin-bottom: .9em; }

/* Pausar animações */
html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }

/* Cursor grande */
html.a11y-cursor, html.a11y-cursor * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 24 24'%3E%3Cpath d='m4 3 7 17 2.6-7.4L21 10z' fill='%23000' stroke='%23fff' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") 6 4, auto !important; }

/* Guia de leitura */
.a11y-mask { display: none; position: fixed; left: 0; right: 0; z-index: 2147482990; background: rgba(5, 12, 26, .55); pointer-events: none; }
.a11y-mask--top { top: 0; height: 0; }
.a11y-mask--bottom { bottom: 0; top: 100vh; }
html.a11y-guide-on .a11y-mask { display: block; }

/* Alto contraste */
html.a11y-contrast, html.a11y-contrast body { background: #000 !important; }
html.a11y-contrast *:not(svg):not(svg *):not(img):not(video):not(iframe) { background-color: transparent !important; background-image: none !important; color: #fff !important; -webkit-text-fill-color: currentColor !important; border-color: #fff !important; box-shadow: none !important; text-shadow: none !important; }
html.a11y-contrast .site-header, html.a11y-contrast .a11y-panel, html.a11y-contrast .gd-results, html.a11y-contrast .g-menu-list, html.a11y-contrast .g-ii-balao, html.a11y-contrast dialog, html.a11y-contrast .mobile-nav, html.a11y-contrast .a11y-fab { background-color: #000 !important; }
html.a11y-contrast .site-header img, html.a11y-contrast .site-footer img { background-color: #fff !important; border-radius: 6px; padding: 2px 4px; }
html.a11y-contrast *::before, html.a11y-contrast *::after { background-image: none !important; box-shadow: none !important; }
html.a11y-contrast a, html.a11y-contrast a * { color: #ff0 !important; }
html.a11y-contrast a { text-decoration: underline !important; }
html.a11y-contrast button, html.a11y-contrast .btn, html.a11y-contrast input, html.a11y-contrast select, html.a11y-contrast textarea { border: 2px solid #fff !important; }
html.a11y-contrast :focus-visible { outline: 3px solid #ff0 !important; outline-offset: 2px; }
html.a11y-contrast canvas, html.a11y-contrast .hero-net, html.a11y-contrast .course-glow, html.a11y-contrast .gd-hero-ghost { display: none !important; }
html.a11y-contrast .a11y-opt[aria-pressed="true"] { background-color: #ff0 !important; color: #000 !important; }
html.a11y-contrast .a11y-opt[aria-pressed="true"] * { color: #000 !important; -webkit-text-fill-color: #000 !important; }
html.a11y-contrast .a11y-mask { background: rgba(0, 0, 0, .7) !important; }

/* =========================================================
   Redes Sociais: LinkedIn como um mini perfil
   ========================================================= */
.li-card { position: relative; display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 0; margin-bottom: 48px; border-radius: 24px; overflow: hidden; text-decoration: none; color: inherit;
  background: #fff; border: 1px solid var(--borda); box-shadow: 0 1px 2px rgba(12, 21, 38, .05), 0 18px 44px rgba(10, 102, 194, .12); transition: transform .25s, box-shadow .25s; }
.li-card:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(12, 21, 38, .05), 0 26px 56px rgba(10, 102, 194, .2); }
.li-card:focus-visible { outline: 3px solid #0a66c2; outline-offset: 4px; }
.li-profile { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 24px 26px; background: #f4f2ee; border-right: 1px solid var(--borda); }
.li-cover { align-self: stretch; height: 92px; margin: 0 -24px; background: radial-gradient(rgba(255, 255, 255, .5) 1.1px, transparent 1.7px) 0 0 / 14px 14px, linear-gradient(120deg, #004182, #0a66c2 60%, #378fe9); }
.li-avatar { width: 84px; height: 84px; margin-top: -42px; border-radius: 50%; border: 4px solid #fff; background: #fff; object-fit: cover; box-shadow: 0 6px 16px rgba(12, 21, 38, .18); }
.li-name { margin-top: 10px; font-family: var(--fonte-titulo); font-weight: 800; font-size: 1.12rem; color: #191919; }
.li-headline { margin-top: 2px; font-size: .84rem; line-height: 1.4; color: #565656; }
.li-follow { margin-top: 14px; padding: 6px 18px; border-radius: 999px; border: 1.5px solid #0a66c2; color: #0a66c2; font-weight: 700; font-size: .88rem; transition: background .2s, color .2s; }
.li-card:hover .li-follow { background: #0a66c2; color: #fff; }
.li-feed { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 28px 32px; background: radial-gradient(520px 260px at 100% 0%, #e8f1fb, transparent 70%), #fff; }
.li-kicker { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: #0a66c2; color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.li-title { margin-top: 8px; font-family: var(--fonte-titulo); font-weight: 800; font-size: clamp(1.3rem, 2.4vw, 1.65rem); line-height: 1.2; color: var(--navy-900); }
.li-text { color: var(--texto-2); max-width: 46em; }
.li-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; margin: 14px 0 6px; }
.li-post { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--borda); box-shadow: 0 6px 16px rgba(12, 21, 38, .06); transition: transform .3s; }
.li-post strong { display: block; font-size: .9rem; color: var(--navy-900); line-height: 1.25; }
.li-post small { display: block; font-size: .76rem; color: var(--muted); }
.li-post-ico { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff; }
.li-post-ico .ico { width: 18px; height: 18px; }
.li-post--1 .li-post-ico { background: linear-gradient(140deg, #0a66c2, #378fe9); }
.li-post--2 .li-post-ico { background: linear-gradient(140deg, #0f766e, #14b8a6); }
.li-post--3 .li-post-ico { background: linear-gradient(140deg, #b45309, #f59e0b); }
.li-card:hover .li-post--1 { transform: translateY(-4px) rotate(-1deg); }
.li-card:hover .li-post--2 { transform: translateY(-6px); transition-delay: .05s; }
.li-card:hover .li-post--3 { transform: translateY(-4px) rotate(1deg); transition-delay: .1s; }
.li-btn { margin-top: 8px; background: #0a66c2; border-color: #0a66c2; color: #fff; border-radius: 999px; }
.li-card:hover .li-btn { background: #004182; border-color: #004182; }
@media (max-width: 860px) {
  .li-card { grid-template-columns: 1fr; }
  .li-profile { border-right: 0; border-bottom: 1px solid var(--borda); }
  .li-feed { padding: 22px 20px; }
  .li-posts { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .li-card, .li-post { transition: none; } .li-card:hover, .li-card:hover .li-post { transform: none; } }

/* =========================================================
   Início: Guia do Estudante como cartão de embarque da "jornada"
   ========================================================= */
.pass { --pass-bg: #fff; display: grid; grid-template-columns: minmax(0, 1fr) 270px; border-radius: 24px; filter: drop-shadow(0 18px 34px rgba(12, 21, 38, .16)); }
.pass-main { position: relative; overflow: hidden; isolation: isolate; padding: 30px 36px 30px; color: #fff; border-radius: 24px 0 0 24px;
  background: radial-gradient(520px 260px at 0% 100%, rgba(30, 155, 240, .35), transparent 70%), linear-gradient(130deg, #0f2f5c 0%, #0b4f8f 70%, #0b5fa5 100%); }
.pass-main::after { content: ""; position: absolute; z-index: -1; inset: 0; background: url("../img/net.svg") right center / 55% auto no-repeat; opacity: .12; }
.pass-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 8px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
  font-family: var(--fonte-mono); font-size: .76rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #dbeaf9; }
.pass-main h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.85rem); margin: 0 0 22px; }
.pass-route { display: flex; align-items: center; gap: 16px; }
.pass-stop { margin: 0; display: grid; }
.pass-stop small { font-family: var(--fonte-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #9fc4ea; }
.pass-stop strong { font-family: var(--fonte-titulo); font-size: clamp(1.25rem, 2.6vw, 1.7rem); line-height: 1.1; color: #fff; }
.pass-stop--end { text-align: right; }
.pass-line { position: relative; flex: 1; min-width: 60px; height: 2px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .7) 0 8px, transparent 8px 16px); }
.pass-line::before, .pass-line::after { content: ""; position: absolute; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: #fff; }
.pass-line::before { left: -4px; }
.pass-line::after { right: -4px; background: var(--ciano); box-shadow: 0 0 0 4px rgba(30, 155, 240, .35); }
.pass-traveler { position: absolute; top: 50%; left: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #0b4f8f; box-shadow: 0 6px 14px rgba(0, 0, 0, .3);
  animation: pass-travel 6s ease-in-out infinite; }
.pass-traveler .ico { width: 18px; height: 18px; }
@keyframes pass-travel { 0%, 12% { left: 0; } 70%, 100% { left: 100%; } }
.pass-items { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; }
.pass-items li { padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); font-size: .84rem; font-weight: 600; color: #fff; }
.pass-stub { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 26px 26px; border-radius: 0 24px 24px 0; background: #eef5fd; color: var(--navy-900);
  border-left: 2px dashed #9fbfe0; }
.pass-stub::before, .pass-stub::after { content: ""; position: absolute; left: -15px; width: 28px; height: 28px; border-radius: 50%; background: var(--pass-bg); }
.pass-stub::before { top: -14px; }
.pass-stub::after { bottom: -14px; }
.pass-gate { margin: 0; display: grid; }
.pass-gate small { font-family: var(--fonte-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pass-gate strong { font-family: var(--fonte-titulo); font-size: 1.35rem; color: var(--navy-900); }
.pass-barcode { display: block; height: 46px; border-radius: 4px; background: repeating-linear-gradient(90deg, #16233a 0 2px, transparent 2px 4px, #16233a 4px 7px, transparent 7px 9px, #16233a 9px 10px, transparent 10px 13px, #16233a 13px 16px, transparent 16px 18px); opacity: .85; }
.pass-btn { justify-content: center; background: #0b5fa5; border-color: #0b5fa5; color: #fff; }
.pass-btn:hover { background: #0a4f8f; border-color: #0a4f8f; color: #fff; }
.pass:hover .pass-traveler { animation-duration: 3s; }
@media (max-width: 760px) {
  .pass { grid-template-columns: 1fr; }
  .pass-main { border-radius: 24px 24px 0 0; padding: 24px 22px; }
  .pass-stub { border-radius: 0 0 24px 24px; border-left: 0; border-top: 2px dashed #9fbfe0; padding: 22px; }
  .pass-stub::before, .pass-stub::after { top: -15px; left: auto; }
  .pass-stub::before { left: -14px; }
  .pass-stub::after { right: -14px; bottom: auto; }
  .pass-route { gap: 10px; }
}
@media (max-width: 520px) {
  .pass-route { flex-wrap: wrap; row-gap: 22px; }
  .pass-stop { flex: 1 1 40%; }
  .pass-line { order: 3; flex: 1 1 100%; margin: 0 10px 8px; }
}
@media (prefers-reduced-motion: reduce) { .pass-traveler { animation: none; left: 50%; } }
html.a11y-still .pass-traveler { left: 50%; }
html.a11y-contrast .pass-barcode { background: repeating-linear-gradient(90deg, #fff 0 2px, transparent 2px 5px) !important; }

/* ===================== Área Docente: prazos das atividades ===================== */
.is-today { --pz: #b42318; --pz-soft: #fdecea; }
.is-soon { --pz: #c2410c; --pz-soft: #fff1e6; }
.is-week { --pz: #0b5fa5; --pz-soft: #e6f2fd; }
.is-later { --pz: #0f766e; --pz-soft: #e2f5f2; }
.is-past { --pz: #5b6b82; --pz-soft: #f1f4f8; }
.gd-nav-count--today, .gd-nav-count--soon { background: #f97316; color: #fff; }
.gd-nav-count--today { background: #ef4444; }
.gd-body .pz h2::before, .gd-body .pz-home h2::before { display: none; }
.gd-body .pz h2, .gd-body .pz-home h2 { padding-left: 0; }
.gd-body .pz ul, .gd-body .pz-home ul { list-style: none; padding: 0; margin: 0; }
.gd-body .pz li + li, .gd-body .pz-home li + li { margin-top: 0; }

/* Início: próximos prazos como "bilhetes" com contagem regressiva */
.pz-home { margin: 0 0 30px; }
.pz-home-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; margin-bottom: 14px; }
.gd-body .pz-home h2 { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 1.2rem; }
.pz-home h2 .ico { width: 22px; height: 22px; color: var(--azul-600); }
.pz-home-head a { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; font-size: .92rem; text-decoration: none; }
.pz-home-head a:hover { text-decoration: underline; }
.pz-tickets { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.pz-ticket a { position: relative; display: flex; height: 100%; border-radius: 16px; background: #fff; border: 1px solid var(--borda); box-shadow: var(--sombra-sm); color: var(--texto-2); text-decoration: none; overflow: hidden; transition: transform .18s ease, box-shadow .18s ease; }
.pz-ticket a:hover { transform: translateY(-2px); box-shadow: var(--sombra); color: var(--texto-2); }
.pz-ticket-count { position: relative; flex: none; width: 86px; display: grid; place-content: center; text-align: center; padding: 14px 6px; background: var(--pz); color: #fff; }
.pz-ticket-count::after { content: ""; position: absolute; right: -1px; top: 10px; bottom: 10px; border-right: 2px dashed rgba(255, 255, 255, .55); }
.pz-ticket-count strong { display: block; font-family: var(--fonte-titulo); font-size: 2rem; line-height: 1; color: #fff; }
.pz-ticket-count small { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .92; }
.pz-ticket-count .pz-count-word { font-family: var(--fonte-titulo); font-weight: 700; font-size: 1rem; }
.pz-ticket-text { display: grid; align-content: center; gap: 3px; padding: 14px 16px; min-width: 0; }
.pz-ticket-title { font-weight: 700; color: var(--navy-900); line-height: 1.3; }
.pz-ticket-date { display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; color: var(--pz); font-weight: 650; }
.pz-ticket.is-today .pz-ticket-count { animation: pz-pulse 2.4s ease-in-out infinite; }
@keyframes pz-pulse { 0%, 100% { box-shadow: inset 0 0 0 0 rgba(255, 255, 255, 0); } 50% { box-shadow: inset 0 0 0 6px rgba(255, 255, 255, .22); } }
.pz-home-more { margin: 10px 0 0; font-size: .9rem; color: var(--muted); }
.pz-mod { display: inline-block; justify-self: start; margin: 0; padding: 1px 9px; border-radius: 999px; background: var(--bg-alt); color: var(--texto-2); font-size: .74rem; font-weight: 700; letter-spacing: .02em; }

/* Página de prazos */
.pz-stats { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin-bottom: 20px; }
.pz-stat { display: grid; align-content: start; gap: 2px; padding: 16px 18px; border-radius: 16px; background: var(--bg-alt); border: 1px solid var(--borda); }
.pz-stat strong { font-family: var(--fonte-titulo); font-size: 1.7rem; line-height: 1.1; color: var(--navy-900); }
.pz-stat span { font-size: .88rem; color: var(--texto-2); }
.pz-stat.is-hot { background: #fff1e6; border-color: #fbd3b5; }
.pz-stat.is-hot strong { color: #b4380a; }
.pz-stat--next { background: linear-gradient(130deg, var(--navy-800), var(--azul-600)); border-color: transparent; }
.pz-stat--next strong { font-size: 1.25rem; color: #fff; }
.pz-stat--next span { color: #dbe9f8; }
.pz-stat--next .pz-stat-label { font-family: var(--fonte-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: #b9d7f5; }
.pz-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 8px; }
.pz-filter { display: flex; flex-wrap: wrap; gap: 6px; }
.pz-chip { padding: 6px 13px; border-radius: 999px; border: 1px solid var(--borda-forte); background: #fff; color: var(--texto-2); font: inherit; font-size: .85rem; font-weight: 650; cursor: pointer; }
.pz-chip:hover { border-color: var(--azul-600); color: var(--azul-600); }
.pz-chip[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.pz-view { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--borda); margin-left: auto; }
.pz-view button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border: 0; border-radius: 999px; background: transparent; color: var(--texto-2); font: inherit; font-size: .85rem; font-weight: 650; cursor: pointer; }
.pz-view button[aria-pressed="true"] { background: #fff; color: var(--azul-700); box-shadow: var(--sombra-sm); }
.pz-ics { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; font-weight: 650; }
.gd-body .pz-group { font-size: 1.05rem; margin: 26px 0 12px; color: var(--navy-900); }
.pz-list { display: grid; gap: 10px; }
.pz-item { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 14px 14px 14px; border-radius: 16px; background: #fff; border: 1px solid var(--borda); box-shadow: inset 4px 0 0 var(--pz); }
.pz-date { display: grid; justify-items: center; align-content: center; padding: 8px 4px; border-radius: 12px; background: var(--pz-soft); color: var(--pz); line-height: 1.1; text-align: center; }
.pz-wd, .pz-mon { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.pz-day { font-family: var(--fonte-titulo); font-size: 1.6rem; font-weight: 700; }
.pz-body { display: grid; gap: 3px; min-width: 0; }
.gd-body .pz-title { margin: 0; font-size: 1.02rem; line-height: 1.35; }
.pz-when { margin: 0; font-size: .84rem; color: var(--muted); }
.pz-notes { margin: 4px 0 0; font-size: .9rem; color: var(--texto-2); overflow-wrap: anywhere; }
.pz-side { display: flex; align-items: center; gap: 4px; }
.pz-count { display: grid; justify-items: center; min-width: 64px; color: var(--pz); line-height: 1; text-align: center; }
.pz-count strong { font-family: var(--fonte-titulo); font-size: 1.8rem; color: var(--pz); }
.pz-count small { margin-top: 3px; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pz-count-word { font-family: var(--fonte-titulo); font-weight: 700; font-size: 1rem; }
.pz-item.is-today .pz-count, .pz-item.is-soon .pz-count { padding: 8px 10px; border-radius: 12px; background: var(--pz-soft); }
.pz-item.is-past { background: #fafbfd; }
.pz-item.is-past .pz-title { color: #5f6b7c; text-decoration: line-through; text-decoration-color: rgba(95, 107, 124, .5); }
.pz-empty { display: flex; align-items: center; gap: 10px; margin: 18px 0; padding: 16px 18px; border-radius: 14px; background: var(--verde-bg); color: var(--verde); font-weight: 600; }
.pz-empty .ico { width: 20px; height: 20px; flex: none; }
.pz-past { margin-top: 22px; }
.pz-past > summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; font-weight: 650; color: var(--texto-2); padding: 6px 2px; }
.pz-past > summary::-webkit-details-marker { display: none; }
.pz-past > summary .ico { transition: transform .2s ease; transform: rotate(-90deg); }
.pz-past[open] > summary .ico { transform: none; }
.pz-past > summary span { color: var(--muted); font-weight: 500; }
.pz-past .pz-list { margin-top: 10px; }

/* Calendário */
.pz-cal { margin-top: 16px; border: 1px solid var(--borda); border-radius: 18px; background: #fff; overflow: hidden; }
.pz-cal-head { display: flex; align-items: center; gap: 8px; padding: 12px 14px; background: linear-gradient(120deg, var(--navy-900), var(--azul-700)); }
.gd-body .pz-cal-title { flex: 1; margin: 0; text-align: center; color: #fff; font-size: 1.1rem; }
.pz-cal-nav, .pz-cal-today { display: inline-grid; place-items: center; min-width: 38px; height: 38px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); color: #fff; font: inherit; font-size: .85rem; font-weight: 650; cursor: pointer; }
.pz-cal-nav:hover, .pz-cal-today:hover { background: rgba(255, 255, 255, .2); }
.pz-cal-nav { order: -1; padding: 0; }
.pz-cal-nav[data-pz-month="1"] { order: 1; }
.pz-cal-today { order: 2; }
.pz-grid { width: 100%; border-collapse: collapse; table-layout: fixed; }
.pz-grid th { padding: 10px 4px 8px; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); text-align: center; border-bottom: 1px solid var(--borda); }
.pz-grid abbr { text-decoration: none; }
.pz-grid td { position: relative; height: 96px; padding: 4px; vertical-align: top; border: 1px solid var(--borda); border-width: 0 1px 1px 0; }
.pz-grid td:last-child { border-right: 0; }
.pz-grid tr:last-child td { border-bottom: 0; }
.pz-grid td.is-out { background: #fafbfd; }
.pz-grid td.is-gone .pz-cell-num { color: #66758a; }
.pz-cell-num { display: inline-grid; place-items: center; min-width: 28px; height: 28px; border-radius: 999px; font-size: .86rem; font-weight: 650; color: var(--texto-2); }
.pz-grid td.is-now .pz-cell-num { background: var(--azul-600); color: #fff; }
.pz-cell { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 10px; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.pz-cell:hover { background: var(--pz-soft); }
.pz-cell[aria-pressed="true"] { background: var(--pz-soft); box-shadow: 0 0 0 2px var(--pz); }
.pz-pills { display: grid; gap: 3px; width: 100%; padding: 0 2px 2px; }
.pz-pill { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding: 2px 7px; border-radius: 6px; background: var(--pz); color: #fff; font-size: .72rem; font-weight: 650; line-height: 1.35; }
.pz-pill--more { background: transparent; color: var(--pz); padding: 0 4px; }
.pz-dots { display: none; gap: 3px; padding-left: 6px; }
.pz-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--pz); }
.pz-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; padding: 10px 14px; border-top: 1px solid var(--borda); font-size: .78rem; color: var(--muted); }
.pz-legend span { display: inline-flex; align-items: center; gap: 6px; }
.pz-legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--pz); }
.pz-cal-list { margin-top: 8px; outline: none; }
.pz-link-btn { margin: -4px 0 12px; padding: 0; border: 0; background: none; color: var(--azul-600); font: inherit; font-size: .88rem; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (max-width: 720px) {
  .pz-view { margin-left: 0; }
  .pz-grid td { height: 58px; padding: 2px; }
  .pz-pills { display: none; }
  .pz-dots { display: flex; }
  .pz-cell { align-items: center; }
  .pz-cell .pz-cell-num { color: var(--pz); font-weight: 800; }
}
@media (max-width: 560px) {
  .pz-item { grid-template-columns: 60px minmax(0, 1fr); gap: 12px; }
  .pz-side { grid-column: 1 / -1; justify-content: space-between; border-top: 1px dashed var(--borda); padding-top: 8px; }
  .pz-count { display: flex; align-items: baseline; gap: 6px; }
  .pz-count small { margin: 0; }
  .pz-day { font-size: 1.35rem; }
}
@media (prefers-reduced-motion: reduce) { .pz-ticket.is-today .pz-ticket-count { animation: none; } }
html.a11y-still .pz-ticket.is-today .pz-ticket-count { animation: none; }
@media print { .pz-tools, .pz-menu, .pz-cal-head button { display: none !important; } }
