:root {
  color-scheme: light;
  --primary: #ad4545;
  --primary-deep: #8a3232;
  --primary-soft: #f1dede;
  --canvas: #eef1f5;
  --surface: #ffffff;
  --surface-muted: #f5f7fa;
  --ink: #1e2a3b;
  --link: #9c3a3a;
  --muted: #5c6675;
  --border: rgba(30, 42, 59, 0.12);
  --border-strong: rgba(30, 42, 59, 0.18);
  --overlay: rgba(15, 26, 42, 0.5);
  --success: #12996a;
  --danger: #c0392b;
  --accent: #d97e14;
  --accent-soft: #f7e3c4;
  --shadow: 0 1px 2px rgba(30, 42, 59, 0.05), 0 10px 28px rgba(30, 42, 59, 0.07);
  --sidebar-width: 248px;
  --radius-sm: 10px;
  --radius-lg: 16px;
  --content-max: 1180px;
  --card-gap: clamp(18px, 2vw, 24px);
  --card-padding: clamp(22px, 2.4vw, 28px);
  --font-body: Montserrat, "Segoe UI", Arial, sans-serif;
  --font-display: Sora, Montserrat, "Segoe UI", Arial, sans-serif;
  --font-interface: Manrope, Montserrat, "Segoe UI", Arial, sans-serif;
  --font-reading: "Source Sans 3", Montserrat, "Segoe UI", Arial, sans-serif;
}

[data-theme="dark"] {
  color-scheme: dark;
  --primary: #d97a7a;
  --primary-deep: #e79a9a;
  --primary-soft: #3d2222;
  --canvas: #0f1a2a;
  --surface: #1e2a3b;
  --surface-muted: #27364b;
  --ink: #eef2f7;
  --link: #e79a9a;
  --muted: #9fb0c4;
  --border: rgba(238, 242, 247, 0.1);
  --border-strong: rgba(238, 242, 247, 0.18);
  --overlay: rgba(0, 0, 0, 0.66);
  --success: #01d17c;
  --danger: #ef9a8d;
  --accent: #ffaf4d;
  --accent-soft: #3a2e18;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 12px 30px rgba(0, 0, 0, 0.26);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  font-family: var(--font-interface);
  font-size: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--link);
}

button {
  color: inherit;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary) 60%, white);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  transform: translateY(-150%);
  border-radius: 8px;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--surface);
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  transform: none;
}

.noscript {
  margin: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  background: var(--surface);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: var(--muted);
  font-family: var(--font-interface);
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.19em;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 18px;
  height: 1px;
  background: currentColor;
  content: "";
}

.eyebrow.no-line::before {
  display: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700;
}

h1[tabindex="-1"]:focus,
h2[tabindex="-1"]:focus {
  outline: none;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(1.42rem, 2.2vw, 2rem);
  font-weight: 700;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
  font-weight: 600;
}

.muted,
.page-description {
  color: var(--muted);
}

.page-description {
  max-width: 700px;
  margin-bottom: 0;
  font-family: var(--font-reading);
  font-size: 1.08rem;
  line-height: 1.55;
}

.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px 11px 11px 3px;
  background: #ad4545;
  color: #ffffff;
}

.owl-mark {
  display: block;
  width: 15px;
  height: 30px;
  fill: currentColor;
}

.demo-tag,
.status-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 26px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 9px;
  background: var(--surface);
  color: var(--muted);
  font-family: var(--font-interface);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.status-tag.upcoming {
  border-color: color-mix(in srgb, var(--primary) 38%, transparent);
  background: color-mix(in srgb, var(--primary) 10%, var(--surface));
  color: var(--primary-deep);
}

.status-tag.ended {
  color: var(--muted);
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 11px 17px;
  background: var(--primary);
  color: #ffffff;
  cursor: pointer;
  font-family: var(--font-interface);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover:not(:disabled) {
  background: var(--primary-deep);
  transform: translateY(-1px);
}

.button:active:not(:disabled) {
  transform: translateY(0);
}

.button.secondary {
  border-color: var(--border-strong);
  background: transparent;
  color: var(--ink);
}

.button.secondary:hover:not(:disabled) {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 7%, transparent);
}

.button.ghost {
  border-color: transparent;
  background: transparent;
  color: var(--link);
}

.button.small {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 0.88rem;
}

.button.full {
  width: 100%;
}

.button:disabled,
.button.disabled {
  border-color: var(--border);
  background: var(--surface-muted);
  color: var(--muted);
  cursor: not-allowed;
  opacity: 0.78;
  transform: none;
}

.button[aria-busy="true"]::before {
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  content: "";
  animation: spin 700ms linear infinite;
}

.link-button {
  border: 0;
  padding: 0;
  background: none;
  color: var(--link);
  cursor: pointer;
  font-family: var(--font-interface);
  font-weight: 700;
}

.app-shell {
  min-height: 100vh;
  background: var(--canvas);
}

.sidebar {
  position: fixed;
  z-index: 50;
  inset: 0 auto 0 0;
  display: flex;
  width: var(--sidebar-width);
  flex-direction: column;
  border-right: 1px solid var(--border);
  padding: 24px 16px 18px;
  background: var(--surface);
}

.sidebar-brand {
  position: relative;
  padding: 4px 8px 28px;
}

.drawer-close {
  display: none;
}

.sidebar-brand small {
  display: block;
  margin: 10px 0 0 49px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-label {
  margin: 0 10px 8px;
  color: var(--muted);
  font-family: var(--font-interface);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.main-nav {
  display: grid;
  gap: 4px;
}

.nav-link {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 11px;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  color: var(--muted);
  font-family: var(--font-interface);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.nav-link:hover {
  background: var(--surface-muted);
  color: var(--ink);
}

.nav-link.active {
  background: var(--primary);
  color: #ffffff;
}

.sidebar-footer {
  display: grid;
  gap: 12px;
  margin-top: auto;
}

.profile-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border-top: 1px solid var(--border);
  padding: 16px 8px 0;
}

.avatar {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-deep);
  font-family: var(--font-interface);
  font-size: 0.78rem;
  font-weight: 800;
}

.profile-card strong,
.profile-card small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-card strong {
  font-family: var(--font-interface);
  font-size: 0.86rem;
}

.profile-card small {
  color: var(--muted);
  font-size: 0.74rem;
}

.sidebar-tools {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.tool-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--font-interface);
  font-size: 0.75rem;
  font-weight: 750;
}

.tool-button:hover {
  border-color: var(--border-strong);
  color: var(--ink);
}

.main-area {
  min-height: 100vh;
  margin-left: var(--sidebar-width);
}

.mobile-header {
  display: none;
}

.page {
  width: min(var(--content-max), calc(100% - 64px));
  margin: 0 auto;
  padding: 48px 0 80px;
}

.page-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.prototype-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  background: color-mix(in srgb, var(--surface) 74%, transparent);
  color: var(--muted);
  font-size: 0.8rem;
}

.prototype-notice .icon {
  width: 17px;
  height: 17px;
  color: var(--primary);
}

.quick-nav {
  position: sticky;
  z-index: 20;
  top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 7px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: 0 6px 24px rgba(30, 42, 59, 0.05);
  backdrop-filter: blur(14px);
}

.quick-link {
  display: flex;
  min-height: 50px;
  align-items: center;
  gap: 10px;
  border-radius: 9px;
  padding: 9px 12px;
  color: var(--ink);
  text-decoration: none;
}

.quick-link:hover {
  background: var(--surface-muted);
}

.quick-link .icon {
  color: var(--primary);
}

.quick-link strong,
.quick-link span {
  display: block;
}

.quick-link strong {
  font-family: var(--font-interface);
  font-size: 0.86rem;
}

.quick-link span {
  color: var(--muted);
  font-size: 0.71rem;
}

.section-block {
  margin-top: 64px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.section-heading p {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.event-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  min-height: 350px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.event-copy {
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: clamp(28px, 5vw, 58px);
}

.event-copy h2 {
  max-width: 650px;
  margin-top: auto;
  font-size: clamp(2rem, 4vw, 3.75rem);
  font-weight: 700;
}

.event-copy > p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
  font-family: var(--font-reading);
  font-size: 1.05rem;
  line-height: 1.6;
}

.event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.event-actions .button {
  flex-direction: column;
  gap: 1px;
}

.event-actions small {
  font-size: 0.65rem;
  font-weight: 600;
}

.event-seal {
  position: relative;
  display: grid;
  min-height: 100%;
  place-items: center;
  overflow: hidden;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  background: #ad4545;
  color: #ffffff;
}

.event-seal::before,
.event-seal::after {
  position: absolute;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255, 253, 249, 0.28);
  border-radius: 50%;
  content: "";
}

.event-seal::after {
  width: 180px;
  height: 180px;
}

.seal-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.seal-content strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3.7rem, 8vw, 6rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
}

.seal-content span {
  font-family: var(--font-interface);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.timeline-ribbon {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--surface);
  box-shadow: var(--shadow);
}

.timeline-ribbon::before {
  position: absolute;
  z-index: 0;
  top: 48px;
  right: 13%;
  left: 13%;
  height: 1px;
  background: color-mix(in srgb, var(--primary) 70%, transparent);
  content: "";
}

.ribbon-item {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 28px clamp(20px, 3vw, 34px) 30px;
}

.ribbon-item + .ribbon-item {
  border-left: 1px solid color-mix(in srgb, var(--surface) 12%, transparent);
}

.ribbon-node {
  display: block;
  width: 9px;
  height: 9px;
  margin-bottom: 27px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px var(--primary);
}

.ribbon-item small,
.ribbon-item strong,
.ribbon-item span {
  display: block;
}

.ribbon-item small {
  margin-bottom: 6px;
  color: color-mix(in srgb, var(--surface) 62%, transparent);
  font-family: var(--font-interface);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ribbon-item strong {
  color: var(--surface);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 600;
  line-height: 1.25;
}

.ribbon-item span {
  margin-top: 6px;
  color: color-mix(in srgb, var(--surface) 68%, transparent);
  font-family: var(--font-reading);
  font-size: 0.8rem;
}

[data-theme="dark"] .timeline-ribbon {
  background: #e7ecf3;
  color: #1e2a3b;
}

[data-theme="dark"] .timeline-ribbon::before {
  background: rgba(173, 69, 69, 0.5);
}

[data-theme="dark"] .ribbon-node {
  border-color: #e7ecf3;
}

[data-theme="dark"] .ribbon-item + .ribbon-item {
  border-color: rgba(30, 42, 59, 0.14);
}

[data-theme="dark"] .ribbon-item small,
[data-theme="dark"] .ribbon-item span {
  color: rgba(30, 42, 59, 0.64);
}

[data-theme="dark"] .ribbon-item strong {
  color: #1e2a3b;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--card-gap);
}

.card-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content-card {
  display: flex;
  min-width: 0;
  min-height: 210px;
  flex-direction: column;
  align-items: start;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--card-padding);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.content-card.compact {
  min-height: 0;
}

.card-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary-deep);
}

.content-card p {
  margin-bottom: 20px;
  color: var(--muted);
  font-family: var(--font-reading);
}

.content-card .card-action {
  width: 100%;
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.schedule-preview {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.schedule-row {
  display: grid;
  grid-template-columns: 86px minmax(0, 1.5fr) minmax(150px, 0.8fr) auto;
  gap: 20px;
  align-items: center;
  padding: 18px 20px;
}

.schedule-row + .schedule-row {
  border-top: 1px solid var(--border);
}

.schedule-date strong,
.schedule-date span {
  display: block;
}

.schedule-date strong {
  font-size: 1rem;
}

.schedule-date span,
.schedule-person {
  color: var(--muted);
  font-family: var(--font-reading);
  font-size: 0.82rem;
}

.material-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.material-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 16px 18px;
  background: var(--surface);
}

.material-symbol {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 11px;
  background: var(--surface-muted);
  color: var(--primary);
}

.material-item strong,
.material-item small {
  display: block;
}

.material-item small {
  color: var(--muted);
  font-family: var(--font-reading);
}

.dates-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(110px, 1fr));
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.date-cell {
  position: relative;
  min-height: 140px;
  padding: 20px 16px;
}

.date-cell + .date-cell {
  border-left: 1px solid var(--border);
}

.date-cell::before {
  display: block;
  width: 7px;
  height: 7px;
  margin-bottom: 32px;
  border-radius: 50%;
  background: var(--primary);
  content: "";
}

.date-cell strong,
.date-cell span {
  display: block;
}

.date-cell strong {
  font-family: var(--font-interface);
  font-size: 0.84rem;
}

.date-cell span {
  margin-top: 5px;
  color: var(--muted);
  font-family: var(--font-reading);
  font-size: 0.76rem;
}

.faq-preview {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 20px;
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 42px);
  background: var(--primary);
  color: #ffffff;
}

.faq-preview p {
  color: rgba(255, 253, 249, 0.75);
  font-family: var(--font-reading);
  font-size: 1.02rem;
}

.faq-questions {
  display: grid;
  gap: 8px;
}

.faq-questions a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 253, 249, 0.22);
  padding: 13px 0;
  color: #ffffff;
  font-weight: 750;
  text-decoration: none;
}

.feature-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 13px;
  background: var(--surface);
  font-family: var(--font-interface);
  font-size: 0.84rem;
  font-weight: 600;
}

.feature-chip::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  content: "";
}

.course-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 22px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 42px);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.course-teaser p {
  max-width: 660px;
  margin-bottom: 0;
  color: var(--muted);
  font-family: var(--font-reading);
  font-size: 1.02rem;
}

.course-teaser .button {
  justify-self: end;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.filter-button {
  min-height: 40px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  font-family: var(--font-interface);
  font-size: 0.82rem;
  font-weight: 800;
}

.filter-button:hover,
.filter-button.active {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
}

.schedule-table {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.schedule-table-head,
.schedule-table-row {
  display: grid;
  grid-template-columns: 100px 90px minmax(200px, 1.25fr) minmax(150px, 0.75fr) 100px 150px;
  gap: 14px;
  align-items: center;
  padding: 15px 18px;
}

.schedule-table-head {
  border-bottom: 1px solid var(--border);
  background: var(--surface-muted);
  color: var(--muted);
  font-family: var(--font-interface);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.schedule-table-row + .schedule-table-row {
  border-top: 1px solid var(--border);
}

.schedule-table-row strong,
.schedule-table-row span {
  min-width: 0;
}

.schedule-empty {
  padding: 44px 20px;
  color: var(--muted);
  text-align: center;
}

.materials-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--card-gap);
}

.material-card {
  display: flex;
  min-height: 328px;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--card-padding);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.material-card .material-symbol {
  margin-bottom: 24px;
}

.material-card .demo-tag {
  margin-bottom: 14px;
}

.material-card h2 {
  margin-bottom: 12px;
}

.material-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-family: var(--font-reading);
  line-height: 1.6;
}

.material-card footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.vertical-timeline {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}

.vertical-timeline::before {
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 24px;
  width: 1px;
  background: var(--border-strong);
  content: "";
}

.milestone {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 20px;
  padding: 0 0 24px;
}

.milestone-number {
  z-index: 1;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: var(--canvas);
  color: var(--primary);
  font-family: var(--font-interface);
  font-size: 0.72rem;
  font-weight: 800;
}

.milestone-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 22px 24px;
  background: var(--surface);
}

.milestone-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-family: var(--font-reading);
  font-size: 0.86rem;
}

.milestone-date {
  flex: 0 0 auto;
  color: var(--muted);
  font-family: var(--font-interface);
  font-size: 0.82rem;
  font-weight: 800;
}

.accordion {
  border-top: 1px solid var(--border-strong);
}

.accordion-item {
  border-bottom: 1px solid var(--border-strong);
}

.accordion-trigger {
  display: grid;
  width: 100%;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  border: 0;
  padding: 22px 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-interface);
  text-align: left;
}

.accordion-index {
  color: var(--primary);
  font-family: var(--font-interface);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.accordion-trigger strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
}

.accordion-toggle {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  transition: transform 160ms ease;
}

.accordion-trigger[aria-expanded="true"] .accordion-toggle {
  transform: rotate(45deg);
}

.accordion-panel {
  max-width: 820px;
  padding: 0 46px 22px 45px;
  color: var(--muted);
  font-family: var(--font-reading);
  font-size: 1.04rem;
  line-height: 1.65;
}

.accordion-panel[hidden] {
  display: none;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.resource-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 16px;
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 22px;
  background: var(--surface);
}

.resource-index {
  color: var(--primary);
  font-family: var(--font-interface);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.resource-row p {
  margin: 8px 0 0;
  color: var(--muted);
  font-family: var(--font-reading);
  font-size: 0.86rem;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--card-gap);
}

.course-card {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.course-card-top {
  position: relative;
  display: flex;
  min-height: 132px;
  align-items: end;
  overflow: hidden;
  padding: 24px 28px;
  background: var(--primary-soft);
  color: var(--primary-deep);
}

.course-card-top::after {
  position: absolute;
  right: -30px;
  bottom: -70px;
  width: 180px;
  height: 180px;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
  opacity: 0.2;
}

.course-card-top span {
  font-family: var(--font-interface);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.course-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: var(--card-padding);
}

.course-card-body .demo-tag {
  margin-bottom: 16px;
}

.course-card-body h2 {
  margin-bottom: 14px;
}

.course-card-body p {
  margin-bottom: 24px;
  color: var(--muted);
  font-family: var(--font-reading);
  font-size: 1.02rem;
}

.course-card-body .button {
  margin-top: auto;
  align-self: flex-start;
}

.course-footer-action {
  margin-top: var(--card-gap);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--card-padding);
  background: var(--surface);
  text-align: center;
}

.auth-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 1fr 1fr;
}

.auth-brand {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  padding: clamp(28px, 5vw, 68px);
  background: #ad4545;
  color: #ffffff;
}

.auth-brand .eyebrow {
  color: rgba(255, 253, 249, 0.76);
}

.auth-brand-message {
  max-width: 620px;
  margin: auto 0;
}

.auth-brand-message h1 {
  max-width: 590px;
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 5.5vw, 5.2rem);
  font-weight: 700;
  line-height: 0.98;
}

.auth-brand-message p {
  max-width: 520px;
  color: rgba(255, 253, 249, 0.78);
  font-family: var(--font-reading);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.auth-credit {
  margin: 30px 0 0;
  color: rgba(255, 253, 249, 0.68);
  font-size: 0.75rem;
}

.auth-panel {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 38px;
  background: var(--canvas);
}

.auth-form-wrap {
  width: min(440px, 100%);
  padding: 34px 0;
}

.auth-form-wrap h2 {
  font-size: clamp(1.8rem, 3vw, 2.35rem);
}

.auth-intro {
  margin-bottom: 26px;
  color: var(--muted);
  font-family: var(--font-reading);
  font-size: 1.02rem;
}

.form-grid {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field label,
.field-label {
  color: var(--muted);
  font-family: var(--font-interface);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.field input,
.field select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  background: var(--canvas);
  color: var(--ink);
}

.field input::placeholder {
  color: color-mix(in srgb, var(--muted) 70%, transparent);
}

.field input:focus,
.field select:focus {
  border-color: var(--primary);
  outline: 3px solid color-mix(in srgb, var(--primary) 22%, transparent);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"] {
  border-color: var(--danger);
}

.field-error {
  min-height: 17px;
  margin: 0;
  color: var(--danger);
  font-size: 0.75rem;
}

.password-wrap {
  position: relative;
}

.password-wrap input {
  padding-right: 72px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  border: 0;
  padding: 5px;
  background: transparent;
  color: var(--link);
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 800;
  transform: translateY(-50%);
}

.form-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.checkbox-field {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-family: var(--font-reading);
  font-size: 0.82rem;
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--primary);
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--danger);
  font-size: 0.82rem;
}

.auth-switch {
  margin: 20px 0 0;
  color: var(--muted);
  font-family: var(--font-reading);
  font-size: 0.86rem;
  text-align: center;
}

.auth-switch a {
  font-weight: 800;
}

.auth-demo-link {
  position: absolute;
  top: 20px;
  right: 22px;
}

.drawer-backdrop {
  display: none;
}

.toast-region {
  position: fixed;
  z-index: 1000;
  right: 20px;
  bottom: 20px;
  display: grid;
  width: min(360px, calc(100vw - 40px));
  gap: 8px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 13px 15px;
  background: var(--ink);
  color: var(--surface);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
  font-size: 0.86rem;
  animation: toast-in 180ms ease both;
}

.toast .icon {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

.reveal {
  animation: reveal 420ms cubic-bezier(0.22, 0.72, 0.25, 1) both;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1100px) {
  .card-grid,
  .materials-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dates-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .date-cell:nth-child(4) {
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .date-cell:nth-child(n + 5) {
    border-top: 1px solid var(--border);
  }

  .schedule-table-head {
    display: none;
  }

  .schedule-table-row {
    grid-template-columns: 88px minmax(0, 1fr) auto;
    gap: 10px 16px;
  }

  .schedule-table-row .schedule-time {
    grid-column: 1;
  }

  .schedule-table-row .schedule-topic {
    grid-column: 2 / 4;
    grid-row: 1;
  }

  .schedule-table-row .schedule-professor {
    grid-column: 2;
  }

  .schedule-table-row .status-tag {
    grid-column: 3;
  }

  .schedule-table-row .schedule-action {
    grid-column: 3;
    justify-self: end;
  }
}

@media (max-width: 840px) {
  :root {
    --sidebar-width: 272px;
  }

  .sidebar {
    width: var(--sidebar-width);
    transform: translateX(-102%);
    transition: transform 220ms ease;
  }

  .drawer-close {
    position: absolute;
    top: 0;
    right: 0;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
  }

  .app-shell.drawer-open .sidebar {
    transform: translateX(0);
  }

  .drawer-backdrop {
    position: fixed;
    z-index: 40;
    inset: 0;
    display: block;
    border: 0;
    background: var(--overlay);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
  }

  .app-shell.drawer-open .drawer-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .main-area {
    margin-left: 0;
  }

  .mobile-header {
    position: sticky;
    z-index: 30;
    top: 0;
    display: flex;
    min-height: 64px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    padding: 10px 20px;
    background: color-mix(in srgb, var(--surface) 91%, transparent);
    backdrop-filter: blur(14px);
  }

  .menu-button {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
  }

  .mobile-page-title {
    overflow: hidden;
    font-size: 0.78rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .page {
    width: min(100% - 40px, var(--content-max));
    padding: 34px 0 64px;
  }

  .quick-nav {
    top: 72px;
  }

  .event-card,
  .course-teaser {
    grid-template-columns: 1fr;
  }

  .event-seal {
    min-height: 230px;
    border-top: 1px solid rgba(255, 253, 249, 0.18);
    border-left: 0;
  }

  .timeline-ribbon {
    grid-template-columns: 1fr;
  }

  .timeline-ribbon::before {
    top: 28px;
    bottom: 28px;
    left: 32px;
    width: 1px;
    height: auto;
  }

  .ribbon-item {
    padding: 22px 24px 22px 58px;
  }

  .ribbon-item + .ribbon-item {
    border-top: 1px solid color-mix(in srgb, var(--surface) 12%, transparent);
    border-left: 0;
  }

  .ribbon-node {
    position: absolute;
    top: 28px;
    left: 28px;
    margin: 0;
  }

  .faq-preview {
    grid-template-columns: 1fr;
  }

  .course-teaser .button {
    justify-self: start;
  }

  .auth-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .auth-brand {
    min-height: 420px;
  }

  .auth-panel {
    min-height: auto;
    padding: 44px 28px;
  }

  .auth-demo-link {
    top: 14px;
    right: 16px;
  }
}

@media (max-width: 620px) {
  .page {
    width: min(100% - 28px, var(--content-max));
    padding-top: 24px;
  }

  h1 {
    font-size: 2rem;
  }

  .page-head,
  .section-heading {
    display: block;
  }

  .section-heading .text-link {
    margin-top: 5px;
  }

  .quick-nav {
    display: flex;
    margin-right: -14px;
    margin-left: -14px;
    overflow-x: auto;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    padding: 7px 14px;
    scrollbar-width: none;
  }

  .quick-nav::-webkit-scrollbar {
    display: none;
  }

  .quick-link {
    min-width: 160px;
  }

  .event-card {
    border-radius: 17px;
  }

  .event-copy {
    padding: 27px 22px;
  }

  .event-copy h2 {
    margin-top: 36px;
    font-size: 2.25rem;
  }

  .event-actions,
  .event-actions .button {
    width: 100%;
  }

  .card-grid,
  .card-grid.two,
  .materials-page-grid,
  .course-grid,
  .resources-grid,
  .material-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-block {
    margin-top: 50px;
  }

  .materials-page-grid,
  .course-grid,
  .resources-grid {
    gap: 18px;
  }

  .material-card {
    min-height: 0;
    padding: 24px;
  }

  .material-card footer {
    margin-top: 24px;
  }

  .resource-row {
    padding: 20px;
  }

  .course-card-body {
    padding: 24px;
  }

  .schedule-row {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 8px 14px;
  }

  .schedule-person {
    grid-column: 2;
  }

  .schedule-row .button {
    grid-column: 2;
    justify-self: start;
  }

  .dates-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .date-cell:nth-child(3),
  .date-cell:nth-child(5) {
    border-left: 0;
  }

  .date-cell:nth-child(n + 3) {
    border-top: 1px solid var(--border);
  }

  .date-cell:nth-child(4) {
    border-left: 1px solid var(--border);
  }

  .schedule-table-row {
    grid-template-columns: 68px minmax(0, 1fr);
    padding: 17px 14px;
  }

  .schedule-table-row .schedule-date-main {
    grid-column: 1;
    grid-row: 1;
  }

  .schedule-table-row .schedule-time {
    grid-column: 1;
    grid-row: 2;
  }

  .schedule-table-row .schedule-topic {
    grid-column: 2;
    grid-row: 1;
  }

  .schedule-table-row .schedule-professor,
  .schedule-table-row .status-tag,
  .schedule-table-row .schedule-action {
    grid-column: 2;
  }

  .schedule-table-row .status-tag,
  .schedule-table-row .schedule-action {
    justify-self: start;
  }

  .milestone {
    gap: 12px;
  }

  .milestone-card {
    display: block;
  }

  .milestone-date {
    display: block;
    margin-top: 10px;
  }

  .accordion-panel {
    padding-left: 0;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .auth-brand {
    min-height: 380px;
    padding: 28px 24px;
  }

  .auth-brand-message h1 {
    font-size: 2.7rem;
  }

  .auth-panel {
    padding: 46px 22px 32px;
  }

  .toast-region {
    right: 14px;
    bottom: 14px;
    width: calc(100vw - 28px);
  }
}

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

/* ============================================================
   Reta Final OAB 47 — blocos próprios (assinatura da página)
   ============================================================ */

/* Gabarito Extraoficial — elemento-assinatura */
.gabarito-banner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(190px, auto);
  gap: clamp(14px, 3vw, 30px);
  align-items: center;
  border: 1px solid var(--border-strong);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 30px);
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 9%, var(--surface)), var(--surface));
  box-shadow: var(--shadow);
}

.gabarito-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: start;
  font-family: var(--font-interface);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-deep);
  white-space: nowrap;
}

.live-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--danger);
  animation: livePulse 2s infinite;
}

@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--danger) 55%, transparent); }
  70% { box-shadow: 0 0 0 9px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.gabarito-body h2 {
  margin-bottom: 6px;
  font-size: clamp(1.45rem, 3vw, 2.05rem);
  font-weight: 700;
}

.gabarito-body > p:not(.eyebrow) {
  max-width: 62ch;
  margin-bottom: 0;
  color: var(--muted);
  font-family: var(--font-reading);
  font-size: 1.02rem;
  line-height: 1.55;
}

.gabarito-side {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 8px;
}

.gabarito-when-label {
  font-family: var(--font-interface);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.gabarito-when {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
}

@media (max-width: 720px) {
  .gabarito-banner {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .live-dot {
    animation: none;
  }
}

/* Pilares da reta final */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--card-gap);
}

.pillar-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 2.4vw, 26px);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.pillar-index {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--primary);
}

.pillar-card h3 {
  margin-bottom: 0;
  font-size: 1.16rem;
  font-weight: 700;
}

.pillar-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-family: var(--font-reading);
  line-height: 1.55;
}

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

/* Logo real da Estratégia OAB (branco) — usado sobre vermelho/navy */
:root { --oab-logo: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJAAAAAgCAMAAADKUgH/AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAABIUExURQAAAP///////////////////////////////////////////////////////////////////////////////////////////+d4eLAAAAAXdFJOUwAg349/EG9fP08foFBwgGCvzzBA75+/PfxBpwAAA31JREFUeNq9letypCAQRpurzGSjXBq+93/T3QYnamLc2toy5wfj0A11gEZJKEYDqSo6QW886D9QSSd11o2ZPuEiVs6UsDHRf1DBmb5iATw/OWp8oNU/CC21KrpgrtXRi/dzH1oA7eiAxo7kToS+XTMCXdD2azc10ymLVXRgxgF7g9C/4RvjA25/FSre2iK/pQG+FEWulEzFWifn763xino8AQ+J/8H9ku5tCmMLuRGTwUL2xq4pylfuNkZ271pItVetbVtagDoDCK8oDJHaF947r92Ce4OgF8D2vLbNi1meGdoumo1t4Hwm1AZxHBM3BqajkEYXMkCqUToPQjPANerVqGHAO6Exso30Ck7QTrw04sUt00Ru3AkzEYUQAR+CEiGwlSeyYV0huRASMIXgSI274hJQ+rWCeT5l9Ca0jWxiXDPwVMCjIl0LKYDV56IWIUU7DLAv6grkNc/0XktCOwgNKpjIjqIYr6P6lxqSpGbKUWib0/natGbA7YQSUIUIxN18Ww0dRlJxDeCSUtZAU+VaSJK6/1GokiDFu/LcCeGwydJ0yl7oHS+oEslBv3tyIROZKyHhYRKAdiakAJgpPNNRSAN1xRAx2H3ZoQKwefSRhHz8jlwKDRQDQ+hxEDKAJzE5CkUgk+DWoCFB74TM+l3qQlrtfdqJ0LJSiFSU7A8huwltHRnDJHY/J/Eko2adx8agZlUaNqHX2n5BhHZG6uTeY6NJgja2oad56Up2E3oAqLYyDyEjcT31Bx0rAzxqfbAX8mMkWIS6cV+pGTnXQsJYset/dkJkRtAMocyvN7VFp+8QuTXL7oToDUKrItThtDCEB31i2pDYw7Ro1iRlYqyZ3DQVEnq0esrT5HpcclV/8rHV3jn+GRvIdyE3pqXFtPqgMu0+Aego+iFG3ZyAFQ9B0+3MMwkZgLsSshAq3Y0CtFkWw4ChK6EFQqa7sXiR3JVQi72l+1kaBLaOTjmc2EQ/Qg7hSd+Bjp6/raDcGGmYRklw7Q/G0V2gs/D4hn9FMarR3XUBCpGCrgn2XiGbAHCmExqCtKKiNZoIVcowtwr5t3MfAUnaBZ4KpgYlO9Q4qRuF2tLGeZ3CWloPTxHLDCtCtWGmu/De8MUlHIflNLKCwE6OjBJuPTLddc7JjGg0DFX4EAys7FCEprvg6ANdoSJDW3ItEkmr+rW/rYZ+A9kva9/nm5XQAAAAAElFTkSuQmCC"); }

.oab-logo {
  display: block;
  width: 120px;
  height: 27px;
  background: var(--oab-logo) center / contain no-repeat;
}

.seal-content .oab-logo {
  margin: 0 auto 16px;
  opacity: 0.96;
}

.auth-brand .oab-logo {
  width: 132px;
  height: 30px;
}

/* Depoimentos de aprovados (prova social) */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--card-gap);
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  border: 1px solid var(--border);
  border-top: 3px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 2.4vw, 26px);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.testimonial-card blockquote {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-reading);
  font-size: 1rem;
  line-height: 1.6;
}

.testimonial-card blockquote::before {
  content: "\201C";
  display: block;
  margin-bottom: -8px;
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
}

.testimonial-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: auto;
  padding-top: 4px;
  border-top: 1px solid var(--border);
}

.testimonial-name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
}

.testimonial-meta {
  font-family: var(--font-interface);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--primary-deep);
}

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

/* Alternador de tema claro/escuro no cabeçalho da página */
.page-head-tools {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex: 0 0 auto;
}

.theme-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-interface);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.theme-switch .icon {
  width: 17px;
  height: 17px;
  color: var(--primary);
}

.theme-switch:hover {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 7%, var(--surface));
  transform: translateY(-1px);
}

@media (max-width: 840px) {
  .theme-switch {
    display: none;
  }
  .page-head-tools {
    gap: 0;
  }
}
