:root {
  --bg: #f4f6f9;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --surface-alt: #eef2f7;
  --ink: #1c2430;
  --muted: #637085;
  --line: #d6dde7;
  --line-strong: #bcc8d8;
  --brand: #122d52;
  --brand-2: #1f4a82;
  --brand-3: #edf3fb;
  --gold: #b99758;
  --danger-soft: #fff5ea;
  --shadow: 0 18px 44px rgba(16, 35, 63, 0.09);
  --shadow-soft: 0 10px 24px rgba(16, 35, 63, 0.06);
  --radius: 22px;
  --radius-sm: 14px;
  --content: 1380px;
  --sidebar: 320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top, rgba(31, 74, 130, 0.08), transparent 25%),
    linear-gradient(180deg, #fbfcfe 0%, var(--bg) 100%);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--brand-2);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.skip-links {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-links a:focus {
  position: static;
  left: auto;
  display: inline-block;
  margin: 12px 12px 0;
  padding: 10px 14px;
  background: var(--brand);
  color: #fff;
  border-radius: 10px;
}

.site-shell {
  max-width: var(--content);
  margin: 0 auto;
  padding: 18px 18px 42px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
  color: var(--muted);
  font-size: 0.92rem;
  box-shadow: var(--shadow-soft);
}

.masthead {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(7, 22, 47, 0.96), rgba(18, 45, 82, 0.94)),
    linear-gradient(180deg, #15325b 0%, #0d2242 100%);
  color: #fff;
  box-shadow: var(--shadow);
}

.masthead::before,
.masthead::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.masthead::before {
  width: 380px;
  height: 380px;
  top: -170px;
  right: -120px;
}

.masthead::after {
  width: 260px;
  height: 260px;
  bottom: -120px;
  left: -80px;
}

.masthead-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.8fr);
  gap: 30px;
  align-items: center;
  padding: 34px;
}

.kicker {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.77rem;
  color: #dbe7fa;
}

.masthead h1,
.panel-head h2,
.sidebar-block h2,
.issue-title,
.announcement-card h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: 0.01em;
}

.masthead h1 {
  margin: 0 0 12px;
  font-size: clamp(2.6rem, 4.6vw, 4.1rem);
  line-height: 0.98;
}

.masthead p {
  margin: 0 0 16px;
  color: #eef4ff;
}

.hero-text {
  max-width: 62ch;
  font-size: 1.03rem;
}

.masthead-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.masthead-card {
  min-width: 156px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.masthead-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.82rem;
  color: #d7e7fb;
}

.banner-card {
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  padding: 16px;
}

.banner-card img {
  width: 100%;
  border-radius: 18px;
  background: transparent;
  mix-blend-mode: normal;
}

.site-nav {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.site-nav-toggle {
  display: none;
  width: 100%;
  padding: 14px 16px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: var(--brand);
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.site-nav-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  padding: 8px;
}

.site-nav-menu a {
  padding: 11px 14px;
  border-radius: 12px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav-menu a:hover,
.site-nav-menu a.active {
  background: var(--brand-3);
  color: var(--brand);
  text-decoration: none;
}

.portal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--sidebar);
  gap: 24px;
  margin-top: 24px;
}

.sidebar {
  position: sticky;
  top: 18px;
  align-self: start;
}

.sidebar h2 {
  margin: 0 0 14px;
  font-size: 1.55rem;
}

.sidebar-block,
.panel,
.sidebar,
.footer {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.9);
  box-shadow: var(--shadow-soft);
}

.sidebar-block {
  padding: 18px;
  border-radius: 18px;
  margin-bottom: 18px;
}

.sidebar-block:last-child {
  margin-bottom: 0;
}

.sidebar-block h2 {
  margin: 0 0 10px;
  font-size: 1.38rem;
}

.data-list,
.language-list,
.info-links,
.most-read {
  margin: 0;
  padding: 0;
  list-style: none;
}

.data-list div,
.language-list li,
.info-links li,
.most-read li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.data-list div:last-child,
.language-list li:last-child,
.info-links li:last-child,
.most-read li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.muted-note,
.small-note,
.mini-meta,
.entry small,
.footer p,
.notice,
.warning-note,
.course-actions p {
  color: var(--muted);
}

.content {
  min-width: 0;
}

.panel {
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 22px;
}

.panel:last-child {
  margin-bottom: 0;
}

.panel-head {
  padding: 22px 24px 14px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(18,45,82,0.035), rgba(18,45,82,0.015));
}

.panel-head h2 {
  margin: 0 0 6px;
  font-size: 2rem;
  color: var(--brand);
}

.panel-head p {
  margin: 0;
}

.panel-body {
  padding: 22px 24px;
}

.notice {
  padding: 14px 16px;
  border-radius: 14px;
  border-left: 4px solid var(--gold);
  background: #fffaf0;
}

.warning-note {
  margin-top: 12px;
  padding: 12px 14px;
  border-left: 4px solid #8c6b00;
  background: #fff8df;
  border-radius: 10px;
}

.card-grid,
.columns-2,
.columns-3,
.video-grid,
.entry-grid,
.instructors-grid,
.quick-grid {
  display: grid;
  gap: 18px;
}

.card-grid,
.columns-2,
.video-grid,
.instructors-grid,
.quick-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.columns-3 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.info-card,
.entry,
.course-card,
.entry-card,
.compact-entry {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 18px;
}

.info-card strong,
.entry-title {
  display: block;
  margin-bottom: 6px;
  color: var(--brand);
}

.info-link {
  color: inherit;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.info-link:hover {
  text-decoration: none;
  transform: translateY(-2px);
  border-color: rgba(31, 74, 130, 0.22);
  box-shadow: var(--shadow-soft);
}

.btn,
.reader-btn,
.read-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, opacity 0.18s ease, background 0.18s ease;
}

.btn:hover,
.reader-btn:hover,
.read-more:hover {
  opacity: 0.95;
  transform: translateY(-1px);
  text-decoration: none;
}

.btn.secondary {
  background: #edf3fb;
  color: var(--brand);
  border: 1px solid #d5e2f4;
}

.cta-row,
.reader-actions,
.course-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.announcement-card {
  padding: 20px;
  border-radius: 18px;
  border: 1px solid #ead9b7;
  background: linear-gradient(180deg, #fffef9 0%, #fffaf0 100%);
}

.announcement-card h3 {
  margin: 0 0 8px;
  font-size: 1.8rem;
  color: var(--brand);
}

.announcement-card p {
  margin: 0 0 14px;
}

.announcement-date {
  display: inline-block;
  margin-bottom: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(185, 151, 88, 0.15);
  color: #7b5c1d;
  font-size: 0.86rem;
  font-weight: 600;
}

.issue-highlight {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.issue-cover img {
  width: 100%;
  border-radius: 18px;
  border: 0;
  background: transparent;
  box-shadow: none;
  display: block;
}

.issue-title {
  font-size: 2rem;
  line-height: 1.05;
  color: var(--brand);
  margin-bottom: 8px;
}

.issue-published {
  margin-bottom: 12px;
  color: var(--muted);
}

.section-list {
  display: grid;
  gap: 12px;
  margin: 16px 0 20px;
}

.section-item {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

.section-item h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  color: var(--brand);
}

.section-item p {
  margin: 0;
}

.menu {
  display: grid;
  gap: 6px;
}

.menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: rgba(255,255,255,0.6);
  color: var(--ink);
  line-height: 1.35;
  transition: background 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.menu a:hover,
.menu a.active {
  background: var(--brand-3);
  border-color: #d8e5f5;
  text-decoration: none;
  transform: translateY(-1px);
  color: var(--brand);
}

.sidebar-block {
  padding: 16px;
}

.sidebar-block h2 {
  margin: 0 0 12px;
}

.portal-grid.sidebar-compact {
  grid-template-columns: 300px minmax(0, 1fr);
}

@media (max-width: 1100px) {
  .portal-grid.sidebar-compact {
    grid-template-columns: 1fr;
  }
}

.small-note {
  margin-top: 16px;
  padding: 14px;
  border-radius: 14px;
  background: #f7fafc;
  border: 1px solid var(--line);
  font-size: 0.94rem;
}

.clean {
  margin: 0;
  padding-left: 18px;
}

.clean li + li {
  margin-top: 6px;
}

.academic {
  margin: 18px 0 0;
  padding: 16px 18px;
  border-left: 4px solid var(--gold);
  background: #fffaf2;
  border-radius: 12px;
  font-style: italic;
}

.table-like {
  display: grid;
  gap: 12px;
}

.table-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
}

.counter-image-link {
  display: block;
}

.lang-current {
  font-weight: 600;
  color: var(--brand);
}

.lang-disabled {
  color: var(--muted);
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-radius: 22px;
  margin-top: 24px;
}

.footer p {
  margin: 0;
}

.footer-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.badge,
.course-meta {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--brand-3);
  color: var(--brand);
  font-size: 0.84rem;
  font-weight: 600;
}

.reader-block {
  margin-top: 18px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.reader-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  background: rgba(0,0,0,0.03);
  flex-wrap: wrap;
}

.reader-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 220px;
}

.reader-meta strong {
  font-size: 0.98rem;
}

.reader-frame-wrap {
  width: 100%;
  height: 78vh;
  min-height: 720px;
  background: #2b2b2b;
}

.reader-frame-wrap.compact {
  min-height: 560px;
  height: 62vh;
}

.reader-frame {
  width: 100%;
  height: 100%;
  border: 0;
  background: #2b2b2b;
}

.course-card iframe,
.video-card iframe {
  width: 100%;
  min-height: 280px;
  border: 0;
  border-radius: 14px;
}

.video-card,
.course-card {
  overflow: hidden;
}

.course-card .course-body,
.video-card .course-body {
  padding-top: 14px;
}

.entry-card h3,
.course-card h3,
.video-card h3,
.info-card h3 {
  margin: 0 0 8px;
  color: var(--brand);
}

.entry-card p,
.course-card p,
.video-card p,
.info-card p {
  margin: 0;
}

.instructor-card {
  display: block;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.instructor-photo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.instructor-photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #eef3f8;
}

.instructor-name {
  margin: 0 0 8px;
  text-align: center;
  color: var(--brand);
  font-size: 1.08rem;
  line-height: 1.35;
}

.instructor-affiliation {
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.instructor-bio {
  margin-top: 12px;
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--ink);
  text-align: left;
}

.instructor-bio p {
  margin: 0 0 12px;
}

.instructor-bio p:last-child {
  margin-bottom: 0;
}

.contact-list,
.meta-list {
  display: grid;
  gap: 10px;
}

.contact-item,
.meta-item {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
}

.contact-item strong,
.meta-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--brand);
}

.embed-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #111;
}

.embed-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.hero-mini {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 0.88rem;
}

hr.soft {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 20px 0;
}

@media (max-width: 1100px) {
  .portal-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .masthead-inner {
    grid-template-columns: 1fr;
  }

  .issue-highlight {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 820px) {
  .site-shell {
    padding: 14px 14px 32px;
  }

  .masthead {
    border-radius: 22px;
  }

  .masthead-inner {
    padding: 24px;
    gap: 20px;
  }

  .panel-head,
  .panel-body,
  .footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .site-nav-toggle {
    display: block;
  }

  .site-nav-menu {
    display: none;
    flex-direction: column;
    padding-top: 0;
  }

  .site-nav-menu.is-open {
    display: flex;
  }

  .table-row,
  .instructor-card {
    grid-template-columns: 1fr;
  }

  .reader-frame-wrap {
    min-height: 480px;
    height: 62vh;
  }
}

@media (max-width: 560px) {
  .topbar {
    flex-direction: column;
  }

  .masthead h1 {
    font-size: 2.3rem;
  }

  .panel-head h2,
  .issue-title {
    font-size: 1.7rem;
  }

  .announcement-card h3 {
    font-size: 1.5rem;
  }

  .btn,
  .reader-btn,
  .read-more {
    width: 100%;
  }

  .cta-row,
  .reader-actions,
  .course-actions {
    flex-direction: column;
  }
}

.entry-link{
display:block;
text-decoration:none;
color:inherit;
}

.entry-banner{
width:100%;
border-radius:12px;
margin-bottom:10px;
}

.entry-card{
padding:14px;
border:1px solid rgba(0,0,0,0.08);
border-radius:14px;
background:#fff;
transition:0.2s;
}

.entry-card:hover{
transform:translateY(-2px);
box-shadow:0 6px 18px rgba(0,0,0,0.08);
}

.zenodo-card{
display:flex;
flex-direction:column;
align-items:center;
text-align:center;
gap:10px;
}

.zenodo-icon{
width:56px;
height:56px;
}

.zenodo-btn{
margin-top:6px;
}

.license-badge{
margin-top:12px;
}

.cc-license-image{
max-width:70px;
height:auto;
}

.event-info-box{
background-image:url("assets/fundo-evento.png");
background-size:cover;
background-position:center;
background-repeat:no-repeat;
border:1px solid #bfd0e6;
padding:0;
overflow:hidden;
position:relative;
}

.event-info-overlay{
background:rgba(255,255,255,0.84);
backdrop-filter:blur(1.5px);
-webkit-backdrop-filter:blur(1.5px);
padding:18px;
border-radius:16px;
min-height:100%;
}

.event-info-box h3{
margin:0 0 14px;
color:#0d2f57;
font-size:1.08rem;
}

.event-info-box p{
margin:0 0 12px;
color:#16385f;
line-height:1.75;
font-weight:500;
}

.event-info-box p:last-child{
margin-bottom:0;
}

.event-info-box strong{
color:#092746;
}

.course-actions-evento{
background:#eaf3ff;
border:1px solid #c8dcf6;
border-radius:16px;
padding:18px;
box-shadow:0 6px 18px rgba(0,0,0,0.05);
}

.visit-counter-card{
margin-top:16px;
padding:14px 16px;
border:1px solid rgba(185,151,88,0.28);
border-radius:18px;
background:linear-gradient(180deg, rgba(237,243,251,0.88), rgba(255,255,255,0.96));
box-shadow:0 10px 24px rgba(16,35,63,0.06);
text-align:center;
max-width:230px;
}

.visit-counter-label{
margin-bottom:8px;
font-size:0.84rem;
font-weight:700;
letter-spacing:0.04em;
text-transform:uppercase;
color:var(--brand-2);
}

.visit-counter-value{
min-height:42px;
display:flex;
align-items:center;
justify-content:center;
font-family:"Cormorant Garamond", Georgia, serif;
font-size:2rem;
line-height:1;
color:var(--brand);
}

.visit-counter-value .gcvc{
display:inline-flex;
align-items:baseline;
gap:8px;
padding:6px 12px;
border-radius:999px;
background:rgba(255,255,255,0.92);
border:1px solid rgba(18,45,82,0.10);
box-shadow:inset 0 1px 0 rgba(255,255,255,0.7);
}

.visit-counter-value .gcvc-num{
font-size:2.1rem;
font-weight:700;
color:var(--brand);
}

.visit-counter-value .gcvc-text{
font-family:"Inter", system-ui, sans-serif;
font-size:0.88rem;
font-weight:600;
color:var(--muted);
}

.visit-counter-loading{
font-family:"Inter", system-ui, sans-serif;
font-size:0.9rem;
color:var(--muted);
}

@media (max-width: 1100px){
.visit-counter-card{
max-width:260px;
}
}

@media (max-width: 560px){
.visit-counter-card{
max-width:100%;
}

.visit-counter-value{
font-size:1.8rem;
}

.visit-counter-value .gcvc-num{
font-size:1.9rem;
}
}

.visit-counter{
margin-top:14px;
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
padding:12px 14px;
border-radius:16px;
background:linear-gradient(180deg,#f5f7fb,#ffffff);
border:1px solid rgba(16,35,63,.08);
box-shadow:0 8px 18px rgba(16,35,63,.06);
width:132px;
min-height:110px;
text-align:center;
}

.visit-icon{
font-size:18px;
opacity:.6;
margin-bottom:6px;
}

#goatcounter-home-views{
font-size:30px;
font-weight:700;
color:#132d4f;
line-height:1.1;
}

.visit-text{
margin-top:6px;
font-size:11px;
letter-spacing:.08em;
text-transform:uppercase;
color:#6b7a90;
}.parecerista-item{
display:flex;
align-items:center;
gap:14px;
padding:16px 18px;
border-radius:16px;
background:#fff;
border:1px solid var(--line);
box-shadow:var(--shadow-soft);
}

.parecerista-photo{
width:56px;
height:56px;
min-width:56px;
max-width:56px;
border-radius:50%;
object-fit:cover;
border:3px solid #fff;
box-shadow:0 4px 12px rgba(0,0,0,.10);
display:block;
}

.parecerista-info{
display:flex;
flex-direction:column;
gap:4px;
}

.parecerista-links{
display:flex;
gap:10px;
font-size:.9rem;
}
