/* =======================================================
   I SUMMIT BBMNET 2026 · v2 Moderna
   Color-blocking, tipografia Seravek/Mulish, marquee, contador,
   bento grid, animações scroll-driven.
======================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Paleta BBMNET oficial extraída do logo */
  --ink: #002a67;          /* Navy escuro institucional (swatch 1) */
  --ink-2: #003a87;        /* Variação intermediária */
  --ink-deep: #001a44;     /* Navy mais profundo para fundos */

  --blue: #114b9c;         /* Azul royal · cor principal da logo */
  --blue-2: #1957b3;       /* Variação clara do royal */
  --blue-soft: #cdddf2;    /* Azul claro pastel (swatch 3) */

  --paper: #f6f8fc;        /* Off-white levemente azulado */
  --paper-2: #ebf1f9;      /* Variação para fundos cream */
  --paper-3: #cdddf2;      /* Mesmo do blue-soft (usado em destaques) */
  --paper-white: #ffffff;

  --rule: #d4dde9;
  --rule-strong: #aebccf;
  --rule-dark: rgba(205, 221, 242, 0.18);
  --rule-dark-strong: rgba(205, 221, 242, 0.32);

  --muted: #4a5775;
  --muted-2: #7d8aa5;
  --muted-dark: rgba(205, 221, 242, 0.7);

  --accent: #114b9c;       /* Mesmo do blue, para links/CTAs */
  --accent-soft: #cdddf2;

  /* Tipografia · Seravek é o pedido principal (pré-instalada no macOS),
     Mulish como fallback humanist próximo no Google Fonts, depois Inter/system */
  --ff-display: 'Seravek', 'Mulish', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ff-body: 'Seravek', 'Mulish', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ff-mono: 'IBM Plex Mono', SFMono-Regular, Menlo, monospace;

  /* Escala */
  --fs-display: clamp(3rem, 1rem + 8vw, 8.5rem);
  --fs-title-xl: clamp(2.4rem, 1.2rem + 4vw, 4.5rem);
  --fs-h2: clamp(2rem, 1.1rem + 2.6vw, 3.4rem);
  --fs-h3: clamp(1.1rem, 0.9rem + 0.8vw, 1.4rem);
  --fs-body: 1rem;
  --fs-label: 0.74rem;

  /* Espaçamento */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 88px;
  --sp-10: 128px;
  --sp-11: 160px;

  /* Cantos */
  --r-2: 2px;
  --r-4: 4px;
  --r-6: 6px;
  --r-12: 12px;
  --r-20: 20px;

  /* Layout */
  --container: 1280px;
  --pad: clamp(20px, 4vw, 48px);
  --header-h: 80px;
  --toc-w: 56px;
  --toc-gap: 32px;

  --t: 280ms cubic-bezier(0.2, 0.7, 0.2, 1);
  --t-slow: 480ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; background: none; border: 0; padding: 0; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; margin: 0; list-style: none; }
::selection { background: var(--ink); color: var(--paper); }

em {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 500;
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  z-index: 100;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--ink);
  transition: width 80ms linear;
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.section { padding: var(--sp-10) 0; position: relative; }
.section.dark {
  background: var(--ink);
  color: var(--paper);
}
.section.cream { background: var(--paper-2); }

/* ---------- Typography utilities ---------- */
.label {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin: 0;
  text-transform: none;
}
.section.dark .label { color: var(--muted-dark); }

.section-title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: var(--fs-h2);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: var(--sp-4) 0 var(--sp-5);
  max-width: 18ch;
}
.section.dark .section-title { color: var(--paper); }
.section-title em {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 500;
  color: var(--blue);
}
.section.dark .section-title em { color: var(--blue-soft); }
.section-lead {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
  max-width: 56ch;
}
.section.dark .section-lead { color: var(--muted-dark); }

.section-head-modern {
  margin-bottom: var(--sp-9);
  max-width: 860px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 24px;
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  border-radius: var(--r-2);
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t);
  white-space: nowrap;
  cursor: pointer;
}
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-arrow {
  display: inline-block;
  transition: transform var(--t);
  font-family: var(--ff-mono);
}
.btn:hover .btn-arrow { transform: translateX(4px); }

.btn-dark, .btn-primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn-dark:hover, .btn-primary:hover {
  background: var(--ink-2);
  border-color: var(--ink-2);
}
.btn-light {
  background: var(--paper-white);
  color: var(--ink);
  border-color: var(--paper-white);
}
.btn-light:hover {
  background: var(--paper-2);
  border-color: var(--paper-2);
}
.btn-outline-light {
  background: transparent;
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.7);
}
.btn-pill {
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  padding: 11px 20px;
  font-size: 0.88rem;
  border-color: var(--ink);
}
.btn-pill:hover {
  background: var(--ink-2);
  border-color: var(--ink-2);
}
.btn-sm { padding: 10px 16px; font-size: 0.85rem; }
.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn-xl { padding: 22px 38px; font-size: 1.1rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 248, 252, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), background var(--t);
}
.site-header.is-scrolled {
  border-bottom-color: var(--rule);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  line-height: 1;
}
.brand-logo {
  width: auto;
  height: 22px;
  display: block;
}
.brand-divider {
  display: none;
  width: 1px;
  height: 22px;
  background: var(--rule);
}
.brand-sub {
  display: none;
  font-family: var(--ff-mono);
  font-size: var(--fs-label);
  color: var(--muted);
  letter-spacing: 0.04em;
}
@media (min-width: 720px) {
  .brand-divider, .brand-sub { display: inline-flex; }
}

.nav { display: none; }
.nav-list { display: flex; gap: 32px; }
.nav-list a {
  font-size: 0.92rem;
  color: var(--ink);
  opacity: 0.7;
  transition: opacity var(--t);
}
.nav-list a:hover { opacity: 1; }
.nav-cta { display: none; }

.nav-toggle {
  width: 40px;
  height: 40px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--paper-white);
}
.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform var(--t), opacity var(--t);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

.mobile-nav {
  border-top: 1px solid var(--rule);
  background: var(--paper);
}
.mobile-nav ul {
  display: flex;
  flex-direction: column;
  padding: 8px var(--pad) 28px;
}
.mobile-nav a {
  display: block;
  padding: 18px 0;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
}
.mobile-nav .btn { margin-top: 20px; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  padding: clamp(80px, 12vw, 160px) 0 0;
  overflow: hidden;
  isolation: isolate;
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse at 40% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 40% 30%, #000 30%, transparent 75%);
}
.hero-glow {
  position: absolute;
  z-index: 0;
  width: 800px;
  height: 800px;
  right: -200px;
  bottom: 0;
  background: radial-gradient(circle, rgba(17, 75, 156, 0.32) 0%, transparent 60%);
  pointer-events: none;
}

/* Ilustração do mapa Brasil em rede · oculta em mobile, flutua à direita em desktop */
.hero-illustration {
  display: none;
}
@media (min-width: 1024px) {
  .hero-illustration {
    display: block;
    position: absolute;
    z-index: 0;
    top: clamp(180px, 22vw, 320px);
    right: calc(var(--pad) - 24px);
    width: clamp(280px, 28vw, 380px);
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: contain;
    opacity: 0.9;
    pointer-events: none;
    filter: drop-shadow(0 12px 48px rgba(17, 75, 156, 0.55));
    animation: hero-illustration-float 8s ease-in-out infinite;
  }
}
@media (min-width: 1180px) {
  .hero-illustration {
    /* Quando TOC aparece, empurra a ilustração mais pra dentro */
    right: calc(var(--pad) + var(--toc-w) + var(--toc-gap) - 24px);
  }
}
@keyframes hero-illustration-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-illustration { animation: none; }
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 980px;
}
.hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-family: var(--ff-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.04em;
  color: var(--muted-dark);
  margin: 0 0 var(--sp-8);
  padding: 8px 16px;
  border: 1px solid var(--rule-dark);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.hero-meta-x {
  font-size: 0.6rem;
  color: var(--muted-dark);
  opacity: 0.6;
}
.hero-title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: var(--fs-display);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin: 0 0 var(--sp-7);
  color: var(--paper);
}
.hero-line {
  display: block;
}
.hero-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--blue-soft);
}
.hero-dot {
  color: var(--blue-soft);
  font-style: normal;
  font-weight: 700;
}
.hero-subtitle {
  font-family: var(--ff-display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.3rem, 1rem + 1.4vw, 1.9rem);
  color: var(--blue-soft);
  margin: 0 0 var(--sp-5);
  max-width: 30ch;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.hero-support {
  font-size: 1.08rem;
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 var(--sp-7);
  max-width: 56ch;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: var(--sp-8);
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0 0 var(--sp-9);
  border-top: 1px solid var(--rule-dark);
  border-bottom: 1px solid var(--rule-dark);
}
.hero-tags li {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 18px 28px 18px 0;
  border-right: 1px solid var(--rule-dark);
  margin-right: 28px;
}
.hero-tags li:last-child {
  border-right: 0;
  margin-right: 0;
  padding-right: 0;
}
.tag-num {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 2.2rem;
  letter-spacing: -0.02em;
  color: var(--paper);
  line-height: 1;
}
.tag-text {
  font-family: var(--ff-mono);
  font-size: 0.78rem;
  color: var(--muted-dark);
  letter-spacing: 0.04em;
}
.tag-wide .tag-text { font-size: 0.88rem; }

.hero-counter {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  padding: 24px 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--rule-dark);
  border-radius: var(--r-4);
  margin-bottom: var(--sp-8);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.hero-counter-label {
  font-family: var(--ff-mono);
  font-size: 0.76rem;
  color: var(--muted-dark);
  letter-spacing: 0.04em;
}
.hero-counter-value {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 1.4rem + 4vw, 4.5rem);
  letter-spacing: -0.03em;
  color: var(--paper);
  line-height: 1;
}
.hero-counter-sub {
  font-family: var(--ff-mono);
  font-size: 0.74rem;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Logos dos parceiros dentro do hero */
.hero-partners {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: var(--sp-7);
  border-top: 1px solid var(--rule-dark);
  margin-bottom: var(--sp-8);
  max-width: 720px;
}
.hero-partners-label {
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.hero-partners-logos {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  flex-wrap: wrap;
}
.hero-partner {
  display: inline-flex;
  align-items: center;
  height: 36px;
}
.hero-partner img {
  width: auto;
  height: 26px;
  max-width: 150px;
  object-fit: contain;
  object-position: left center;
  opacity: 0.88;
  filter: brightness(1.05);
  transition: opacity var(--t);
}
.hero-partner-tall { height: 42px !important; max-width: 110px; }
.hero-partner:hover img { opacity: 1; }
.hero-partners-sep {
  display: inline-block;
  width: 1px;
  height: 22px;
  background: var(--rule-dark-strong);
}

/* MARQUEE */
.hero-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 24px 0;
  border-top: 1px solid var(--rule-dark);
  background: var(--ink-deep);
  margin-top: var(--sp-8);
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
  animation: marquee 60s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-item {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 1rem + 2vw, 2.4rem);
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.85);
}
.marquee-sep {
  font-size: 1.2rem;
  color: var(--accent);
  opacity: 0.7;
}

/* ---------- Partners band ---------- */
.partners-band {
  background: var(--paper);
  padding: var(--sp-7) 0;
  border-bottom: 1px solid var(--rule);
}
.partners-band-inner {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  align-items: flex-start;
}
.partners-band-label {
  font-family: var(--ff-mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin: 0;
}
.partners-band-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-7);
  align-items: center;
  width: 100%;
}
.partners-band-list li {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.partners-band-role {
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  color: var(--muted-2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.partners-band-logo {
  width: auto;
  height: 32px;
  max-width: 200px;
  object-fit: contain;
  object-position: left center;
}
.partners-band-logo-tall { height: 52px; max-width: 140px; }

/* ---------- ABOUT · big I ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-7);
  align-items: start;
  margin-bottom: var(--sp-9);
}
.big-numeral {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(8rem, 4rem + 12vw, 18rem);
  line-height: 0.82;
  color: var(--ink);
  letter-spacing: -0.04em;
  text-align: center;
}
.about-content { display: flex; flex-direction: column; gap: var(--sp-3); }
.about-content .label { margin-bottom: 4px; }

.pillars-modern {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
}
.pillar-m {
  padding: var(--sp-7) 0;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  transition: padding var(--t);
}
.pillar-m:hover { padding-left: 16px; }
.pillar-m-num {
  font-family: var(--ff-mono);
  font-size: 0.84rem;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.pillar-m-title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
  margin: 0;
}
.pillar-m p {
  margin: 0;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 56ch;
}

/* ---------- AUDIENCE · Bento ---------- */
.bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.bento-card {
  background: var(--paper-white);
  border: 1px solid var(--rule);
  border-radius: var(--r-12);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
  position: relative;
  overflow: hidden;
}
.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--ink);
  box-shadow: 0 16px 36px rgba(6, 16, 30, 0.08);
}
.bento-num {
  font-family: var(--ff-mono);
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.bento-title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 1rem + 1.4vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
  margin: 0;
}
.bento-text {
  margin: 0;
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 38ch;
}
.bento-tag {
  font-family: var(--ff-mono);
  font-size: 0.74rem;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-top: auto;
}
.bento-feature {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  min-height: 260px;
}
.bento-feature .bento-num { color: rgba(255, 255, 255, 0.65); }
.bento-feature .bento-title { color: var(--paper); }
.bento-feature .bento-text { color: rgba(255, 255, 255, 0.72); }
.bento-feature:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18); }

.bento-wide .bento-title {
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.4rem);
}

/* ---------- WHY · cards row ---------- */
.why-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.why-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--rule-dark);
  border-radius: var(--r-12);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color var(--t), background var(--t), transform var(--t);
}
.why-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--rule-dark-strong);
  transform: translateY(-3px);
}
.why-card-num {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(3rem, 2rem + 2.5vw, 5rem);
  color: var(--accent);
  line-height: 0.9;
  letter-spacing: -0.03em;
}
.why-card-title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: var(--fs-h3);
  color: var(--paper);
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.why-card p {
  margin: 0;
  font-size: 0.96rem;
  color: var(--muted-dark);
  line-height: 1.6;
}

/* ---------- SCHEDULE ---------- */
.schedule-tabs {
  display: flex;
  gap: 0;
  margin-bottom: var(--sp-8);
  border-bottom: 1px solid var(--rule);
}
.schedule-tab {
  padding: 18px 28px 18px 0;
  margin-right: var(--sp-7);
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  transition: border-color var(--t), color var(--t);
  opacity: 0.6;
}
.schedule-tab:hover { opacity: 1; }
.schedule-tab.is-active {
  border-bottom-color: var(--ink);
  opacity: 1;
}
.schedule-tab-day {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 2.2rem;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
}
.schedule-tab-date {
  font-family: var(--ff-mono);
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.schedule-panel { display: none; }
.schedule-panel.is-active { display: block; }
.schedule-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.schedule-card {
  background: var(--paper-white);
  border: 1px solid var(--rule);
  border-radius: var(--r-12);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.schedule-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(6, 16, 30, 0.06);
}
.schedule-time {
  font-family: var(--ff-mono);
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.schedule-pill {
  align-self: flex-start;
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--paper-3);
  color: var(--ink);
}
.schedule-pill-accent {
  background: var(--ink);
  color: var(--paper);
}
.schedule-pill-light {
  background: rgba(255, 255, 255, 0.12);
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.schedule-title {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--ink);
  margin: 0;
  max-width: 50ch;
}
.schedule-meta {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 500;
}
.schedule-card-accent {
  background: var(--paper-3);
  border-color: var(--paper-3);
}
.schedule-card-break {
  background: transparent;
  border: 1px dashed var(--rule);
  opacity: 0.6;
}
.schedule-card-closing {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.schedule-card-closing .schedule-title { color: var(--paper); }
.schedule-card-closing .schedule-time { color: var(--accent); }

/* ---------- SPEAKERS ---------- */
.speakers-grid-modern {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
/* Card compacto: foto quadrada com bio em overlay no hover, info embaixo */
.speaker-m {
  background: var(--paper-white);
  border: 1px solid var(--rule);
  border-radius: var(--r-12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
  position: relative;
}
.speaker-m:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
  box-shadow: 0 16px 36px rgba(0, 42, 103, 0.14);
}

.speaker-m-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--blue-soft);
}
.speaker-m-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1), filter var(--t);
  filter: grayscale(10%) contrast(1.02);
}
.speaker-m:hover .speaker-m-photo img {
  transform: scale(1.05);
  filter: grayscale(0%) contrast(1);
}

/* Overlay com bio aparece no hover */
.speaker-m-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 18px 20px;
  background: linear-gradient(180deg, rgba(0, 26, 68, 0) 0%, rgba(0, 26, 68, 0) 35%, rgba(0, 26, 68, 0.92) 80%, rgba(0, 26, 68, 0.96) 100%);
  opacity: 0;
  transition: opacity 320ms cubic-bezier(0.2, 0.7, 0.2, 1);
  pointer-events: none;
}
.speaker-m:hover .speaker-m-overlay,
.speaker-m:focus-within .speaker-m-overlay {
  opacity: 1;
}
.speaker-m-bio {
  font-family: var(--ff-body);
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--paper);
  margin: 0;
  transform: translateY(8px);
  transition: transform 380ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.speaker-m:hover .speaker-m-bio,
.speaker-m:focus-within .speaker-m-bio {
  transform: translateY(0);
}

.speaker-m-info {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.speaker-m-name {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--ink);
  margin: 0;
}
.speaker-m-role {
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  color: var(--blue);
  letter-spacing: 0.04em;
  margin: 0;
}

/* Avatar (placeholder) · mantido caso precise voltar */
.speaker-m-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.3rem;
}

/* ---------- VIDEOS ---------- */
.videos-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.video-m {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.video-m-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--ink-deep);
  border-radius: var(--r-12);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--rule-dark);
}
.video-m-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.video-m-play {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 1;
}
.video-m-soon {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--paper);
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.video-m-speaker {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--paper);
  margin: 0;
}
.video-m-theme {
  font-size: 0.9rem;
  color: var(--muted-dark);
  margin: 0;
  line-height: 1.5;
}

/* ---------- SIGNUP ---------- */
.signup-grid-m {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  align-items: start;
}
.signup-side .section-title { margin: var(--sp-3) 0 var(--sp-4); }
.signup-facts {
  margin: var(--sp-7) 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.signup-facts > div {
  padding: 20px;
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.signup-facts dt {
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  color: var(--muted-2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
}
.signup-facts dd {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.005em;
}

.signup-form-m {
  background: var(--paper-white);
  border: 1px solid var(--rule);
  border-radius: var(--r-12);
  padding: clamp(24px, 4vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row label {
  font-family: var(--ff-mono);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.form-optional {
  text-transform: none;
  color: var(--muted-2);
  font-size: 0.74rem;
}
.form-row input,
.form-row select,
.form-row textarea {
  font: inherit;
  font-family: var(--ff-body);
  font-size: 1rem;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-6);
  color: var(--ink);
  transition: border-color var(--t), background var(--t);
  width: 100%;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--paper-white);
}
.form-row textarea { resize: vertical; min-height: 80px; }
.form-row select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235b6373' stroke-width='1.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form-grid-2 { display: grid; grid-template-columns: 1fr; gap: 18px; }
.form-row-check { flex-direction: row; }
.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}
.check input {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: var(--ink);
  flex-shrink: 0;
}
.form-status {
  font-size: 0.88rem;
  margin: 0;
  min-height: 1.2em;
  color: var(--muted);
}
.form-status.is-success { color: #1e6f4a; }
.form-status.is-error { color: #b73a3a; }

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
}
.faq-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--rule-dark); }
.faq-item { border-bottom: 1px solid var(--rule-dark); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.005em;
  color: var(--paper);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--ff-mono);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--muted-dark);
  transition: transform var(--t), color var(--t);
  line-height: 1;
}
.faq-item[open] summary::after { content: '−'; color: var(--paper); transform: rotate(0); }
.faq-item p {
  margin: 0;
  padding: 0 0 24px;
  color: var(--muted-dark);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 70ch;
}

/* ---------- CTA FINAL ---------- */
.cta-final {
  background: var(--ink-deep);
  color: var(--paper);
  padding: clamp(80px, 14vw, 180px) 0;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  pointer-events: none;
}
.cta-final-inner {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-6);
}
.cta-final-label { color: var(--muted-dark); }
.cta-final-title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: var(--fs-title-xl);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--paper);
  margin: 0;
  max-width: 18ch;
}
.cta-final-title em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--ink-deep);
  color: var(--muted-dark);
  overflow: hidden;
}
.footer-marquee {
  border-top: 1px solid var(--rule-dark);
  border-bottom: 1px solid var(--rule-dark);
  padding: 28px 0;
  overflow: hidden;
}
.footer-marquee-track {
  font-family: var(--ff-display);
  font-weight: 600;
  font-style: italic;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem);
  letter-spacing: -0.025em;
  color: rgba(255, 255, 255, 0.18);
  white-space: nowrap;
  animation: marquee 50s linear infinite;
}

.footer-inner {
  padding: var(--sp-9) 0 var(--sp-7);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
}
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-logo-img {
  width: auto;
  height: 32px;
  display: block;
  opacity: 0.92;
  margin-bottom: 4px;
}
.footer-title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--paper);
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.3;
  max-width: 30ch;
}
.footer-sub {
  font-size: 0.9rem;
  color: var(--muted-dark);
  margin: 0;
  max-width: 50ch;
}
.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
}
.footer-col h4 {
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  margin: 0 0 14px;
}
.footer-partner-logo {
  width: auto;
  height: 26px;
  max-width: 130px;
  object-fit: contain;
  object-position: left center;
  opacity: 0.85;
}
.footer-partner-logo-tall { height: 40px; max-width: 110px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 0.92rem;
  color: var(--muted-dark);
  transition: color var(--t);
}
.footer-col a:hover { color: var(--paper); }

.footer-bottom {
  border-top: 1px solid var(--rule-dark);
  padding: 24px 0;
}
.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-lgpd { max-width: 70ch; }

/* ---------- REVEAL animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms cubic-bezier(0.2, 0.7, 0.2, 1),
              transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: 0ms;
  will-change: opacity, transform;
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* =======================================================
   Breakpoints
======================================================= */

@media (min-width: 640px) {
  .form-grid-2 { grid-template-columns: 1fr 1fr; }
  .footer-cols { grid-template-columns: repeat(4, 1fr); }
  .footer-bottom-inner { flex-direction: row; justify-content: space-between; align-items: center; }
  .footer-lgpd { text-align: right; }
}

@media (min-width: 768px) {
  .about-grid { grid-template-columns: 240px 1fr; gap: var(--sp-9); }
  .big-numeral { text-align: left; }
  .pillars-modern { grid-template-columns: 1fr 1fr; column-gap: var(--sp-7); }
  .pillars-modern .pillar-m { border-bottom: 1px solid var(--rule); }

  .bento {
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 12px;
  }
  .bento-feature { grid-row: span 2; }
  .bento-wide { grid-column: span 2; }

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

  .schedule-grid { grid-template-columns: 1fr 1fr; }

  .speakers-grid-modern { grid-template-columns: 1fr 1fr; }

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

  .signup-grid-m { grid-template-columns: 1fr; }

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

  .footer-inner { grid-template-columns: 1.2fr 2fr; gap: var(--sp-9); }
}

@media (min-width: 1024px) {
  .nav { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }

  .why-row { grid-template-columns: repeat(4, 1fr); }
  .schedule-grid { grid-template-columns: repeat(2, 1fr); }
  .speakers-grid-modern { grid-template-columns: repeat(3, 1fr); }
  .videos-row { grid-template-columns: repeat(4, 1fr); }

  .signup-grid-m { grid-template-columns: 0.9fr 1.1fr; gap: var(--sp-10); }
  .faq-grid { grid-template-columns: 0.7fr 1.3fr; gap: var(--sp-9); }

  .hero-counter { position: absolute; top: 32px; right: var(--pad); margin: 0; }
}

@media (min-width: 1280px) {
  .speakers-grid-modern { grid-template-columns: repeat(3, 1fr); }
}

/* Reduced motion */
/* =======================================================
   Scrollspy sidebar (TOC) · colapsado por padrão,
   expande no hover, suporta múltiplas sections escuras
======================================================= */
.toc { display: none; }

@media (min-width: 1180px) {
  /* Reserva calha à direita do container · não vale no header */
  .container {
    padding-right: calc(var(--pad) + var(--toc-w) + var(--toc-gap));
    max-width: calc(1280px + var(--toc-w) + var(--toc-gap));
  }
  .site-header .container,
  .mobile-nav { padding-right: var(--pad); }
  .footer-marquee { padding-left: 0; padding-right: 0; }

  .toc {
    display: block;
    position: fixed;
    top: 50%;
    right: var(--pad);
    transform: translateY(-50%);
    z-index: 40;
    padding: 14px 16px;
    border-radius: var(--r-6);
    background: transparent;
    transition: background 220ms ease, box-shadow 220ms ease, -webkit-backdrop-filter 220ms ease, backdrop-filter 220ms ease;
  }
  .toc::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--r-6);
    border: 1px solid transparent;
    transition: border-color var(--t);
    pointer-events: none;
  }
  .toc:hover {
    background: rgba(246, 248, 252, 0.95);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    backdrop-filter: saturate(180%) blur(12px);
    box-shadow: 0 8px 32px rgba(0, 42, 103, 0.12);
  }
  .toc:hover::before { border-color: var(--rule); }

  .toc-label {
    font-family: var(--ff-mono);
    font-size: 0.66rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--muted-2);
    margin: 0 0 14px;
    text-align: right;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 220ms ease, opacity 200ms ease, margin 220ms ease;
  }
  .toc:hover .toc-label,
  .toc:focus-within .toc-label {
    max-height: 18px;
    opacity: 1;
    margin-bottom: 14px;
  }

  .toc-list {
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--rule);
    padding-right: 14px;
    position: relative;
  }
  .toc-list li {
    position: relative;
    margin: 0;
  }
  .toc-list a {
    display: inline-flex;
    justify-content: flex-end;
    align-items: baseline;
    gap: 0;
    padding: 7px 0;
    font-family: var(--ff-body);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--muted-2);
    letter-spacing: 0.02em;
    transition: color var(--t), opacity var(--t);
    opacity: 0.55;
    text-align: right;
    width: 100%;
    white-space: nowrap;
  }
  .toc-list a:hover {
    color: var(--ink);
    opacity: 0.95;
  }
  .toc-num {
    font-family: var(--ff-mono);
    font-size: 0.72rem;
    color: inherit;
    letter-spacing: 0.04em;
    opacity: 0.8;
  }
  .toc-sep {
    display: inline-block;
    overflow: hidden;
    max-width: 0;
    margin: 0;
    color: var(--rule-strong);
    font-weight: 400;
    opacity: 0;
    transition: max-width 260ms cubic-bezier(0.2, 0.7, 0.2, 1),
                opacity 180ms ease,
                margin 220ms ease;
  }
  .toc-text {
    display: inline-block;
    overflow: hidden;
    max-width: 0;
    margin: 0;
    color: inherit;
    opacity: 0;
    transition: max-width 320ms cubic-bezier(0.2, 0.7, 0.2, 1),
                opacity 220ms ease 60ms,
                margin 260ms ease;
  }
  .toc:hover .toc-sep,
  .toc:focus-within .toc-sep {
    max-width: 20px;
    opacity: 1;
    margin: 0 6px;
  }
  .toc:hover .toc-text,
  .toc:focus-within .toc-text {
    max-width: 160px;
    opacity: 1;
  }

  .toc-list a.is-active {
    color: var(--ink);
    opacity: 1;
    font-weight: 700;
  }
  .toc-list a.is-active .toc-num { color: var(--blue); opacity: 1; }
  .toc-list a.is-active::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 18px;
    background: var(--ink);
    border-radius: 2px;
    transition: height var(--t);
  }
  .toc:hover .toc-list a.is-active::after { height: 22px; }

  /* Sobre fundos escuros (hero, .section.dark, cta-final, footer) */
  body.toc-on-dark .toc-label { color: rgba(255, 255, 255, 0.55); }
  body.toc-on-dark .toc-list { border-right-color: rgba(255, 255, 255, 0.22); }
  body.toc-on-dark .toc-list a { color: rgba(255, 255, 255, 0.55); }
  body.toc-on-dark .toc-list a:hover { color: var(--paper); }
  body.toc-on-dark .toc-list a.is-active { color: var(--paper); opacity: 1; }
  body.toc-on-dark .toc-list a.is-active .toc-num { color: var(--blue-soft); }
  body.toc-on-dark .toc-sep { color: rgba(255, 255, 255, 0.3); }
  body.toc-on-dark .toc-list a.is-active::after { background: var(--paper); }
  body.toc-on-dark .toc:hover {
    background: rgba(0, 26, 68, 0.88);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  }
  body.toc-on-dark .toc:hover::before { border-color: rgba(255, 255, 255, 0.14); }
}

@media (min-width: 1600px) {
  .container { max-width: 1380px; }
  .toc { right: calc((100vw - 1380px) / 2 + var(--pad)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .marquee-track { animation: none !important; }
}
