/* Sociedade Tolkien Brasileira — sistema visual 2026
   Direção: manuscrito sóbrio. Preto, ouro e pergaminho da marca.
   Valores de tipografia, espaçamento e raio seguem escalas fechadas. */

:root {
  /* marca (herdada do site original) */
  --ink: #070707;
  --graphite: #171717;
  --gold: #b89b5e;
  --gold-soft: #d3b978;
  --parchment: #e8e1d4;
  --muted: #b8b0a2;
  --surface: #131209;
  --line: rgba(184, 155, 94, 0.28);
  --line-strong: rgba(184, 155, 94, 0.55);

  /* escala de texto (Tailwind) */
  --fs-xs: 12px;  --fs-sm: 14px;  --fs-base: 16px; --fs-lg: 18px;
  --fs-xl: 20px;  --fs-2xl: 24px; --fs-3xl: 30px;  --fs-4xl: 36px;
  --fs-5xl: 48px; --fs-6xl: 60px; --fs-7xl: 72px;  --fs-8xl: 96px;

  /* espaçamento */
  --s-25: 2px;  --s-50: 4px;  --s-75: 8px;  --s-100: 12px; --s-200: 16px;
  --s-300: 24px; --s-400: 32px; --s-500: 40px; --s-600: 48px;
  --s-700: 64px; --s-800: 80px; --s-900: 96px;

  /* raio */
  --r-sm: 2px; --r-md: 4px; --r-lg: 8px;

  /* movimento */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-text: "Manrope", Arial, Helvetica, sans-serif;

  --gutter: 24px;
  --gutter-left: 24px;
  --header-h: 72px;
  --strip-h: 34px;
  --ev-h: 30px;
  --elf-h: 0px;
  --top-h: calc(var(--header-h) + var(--strip-h) + var(--ev-h) + var(--elf-h));
}

@media (min-width: 701px) { :root { --gutter: 40px; --gutter-left: 96px; --header-h: 88px; } }
@media (min-width: 1381px) { :root { --gutter-left: 40px; } }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + var(--sub-h, 0px) + 16px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--font-text);
  font-size: var(--fs-lg);
  line-height: 1.7;
  color: var(--parchment);
  background: var(--ink);
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--ink); }

:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 3px; border-radius: var(--r-sm); }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: fixed; left: var(--s-200); top: var(--s-200); z-index: 10000;
  padding: var(--s-100) var(--s-200); background: var(--gold); color: var(--ink);
  font-size: var(--fs-sm); font-weight: 700; border-radius: var(--r-md);
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* ---------- estrutura ---------- */
.wrap {
  width: 100%;
  max-width: calc(1200px + var(--gutter) + var(--gutter-left));
  margin-inline: auto;
  padding-left: var(--gutter-left);
  padding-right: var(--gutter);
}
.wrap--narrow { max-width: calc(840px + var(--gutter) + var(--gutter-left)); }
.section { padding-block: var(--s-700); position: relative; }
@media (min-width: 901px) { .section { padding-block: var(--s-900); } }
.section--surface { background: var(--surface); }
.section--rule { border-top: 1px solid var(--line); }

/* ---------- tipografia ---------- */
.kicker {
  display: inline-block;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold); margin-bottom: var(--s-200);
}
.kicker::before { content: ""; display: inline-block; width: var(--s-500); height: 1px; background: var(--gold); vertical-align: middle; margin-right: var(--s-200); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; color: var(--parchment); text-wrap: balance; }
h1 { font-size: var(--fs-5xl); line-height: 1; font-weight: 600; letter-spacing: 0.02em; }
h2 { font-size: var(--fs-4xl); line-height: 1.1; letter-spacing: 0.005em; }
h3 { font-size: var(--fs-2xl); line-height: 1.2; }
@media (min-width: 901px) {
  h1 { font-size: var(--fs-7xl); }
  h2 { font-size: var(--fs-5xl); }
  h3 { font-size: var(--fs-3xl); }
}
.lead { font-size: var(--fs-xl); line-height: 1.6; color: var(--parchment); max-width: 680px; }
.prose p { margin-bottom: var(--s-300); max-width: 680px; color: var(--muted); }
.prose p:first-of-type { color: var(--parchment); }
.prose p:last-child { margin-bottom: 0; }
.small { font-size: var(--fs-sm); color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; gap: var(--s-100);
  padding: var(--s-100) var(--s-300); min-height: 44px;
  border: 1px solid var(--gold); border-radius: var(--r-md);
  font-size: var(--fs-sm); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-soft); background: transparent; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms var(--ease-out), color 200ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn--solid { background: var(--gold); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--gold); color: var(--ink); }
  .btn--solid:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
}
.link-more {
  display: inline-flex; align-items: center; gap: var(--s-100);
  font-size: var(--fs-sm); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold);
  padding-block: var(--s-100); margin-top: var(--s-300);
  background-image: linear-gradient(var(--gold), var(--gold)); background-repeat: no-repeat; background-size: 0 1px; background-position: 0 100%;
  transition: background-size 280ms var(--ease-out), color 200ms var(--ease-out);
}
.link-more span { transition: transform 200ms var(--ease-out); }
.link-more:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) {
  .link-more:hover { background-size: 100% 1px; color: var(--gold-soft); }
  .link-more:hover span { transform: translateX(var(--s-75)); }
}

/* ---------- cabeçalho ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(7, 7, 7, 0.55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background-color 300ms var(--ease-out), border-color 300ms var(--ease-out);
}
.site-header.is-solid { background: rgba(7, 7, 7, 0.94); border-bottom-color: var(--line); }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: var(--s-400); height: var(--header-h); width: 100%; max-width: calc(1200px + var(--gutter) + var(--gutter-left)); margin-inline: auto; padding-left: var(--gutter-left); padding-right: var(--gutter); }
.brand { display: flex; align-items: center; gap: var(--s-150, 12px); flex: 0 0 auto; }
.brand img { height: 48px; width: auto; }
@media (min-width: 701px) { .brand img { height: 56px; } }
.brand__txt { display: none; flex-direction: column; line-height: 1.15; }
.brand__txt b { font-family: var(--font-display); font-size: var(--fs-xl); font-weight: 600; letter-spacing: 0.04em; color: var(--parchment); white-space: nowrap; }
.brand__txt small { font-size: var(--fs-xs); letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
@media (min-width: 560px) { .brand__txt { display: flex; } }
@media (min-width: 981px) and (max-width: 1180px) { .brand__txt b { font-size: var(--fs-lg); } }
.nav { display: none; align-items: center; gap: var(--s-400); margin-right: -0.18em; }
.nav a {
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--parchment);
  padding-block: var(--s-100); position: relative; transition: color 200ms var(--ease-out);
}
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 280ms var(--ease-out); }
.nav a[aria-current="page"] { color: var(--gold); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
  .nav a:hover { color: var(--gold); }
  .nav a:hover::after { transform: scaleX(1); }
}
@media (min-width: 981px) { .nav { display: flex; } .menu-toggle { display: none !important; } }

.menu-toggle { width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: var(--r-md); background: transparent; cursor: pointer; position: relative; transition: transform 160ms var(--ease-out); }
.menu-toggle:active { transform: scale(0.95); }
.menu-toggle i { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--parchment); transition: transform 300ms var(--ease-out), opacity 200ms var(--ease-out); }
.menu-toggle i:nth-child(1) { top: 15px; } .menu-toggle i:nth-child(2) { top: 21px; } .menu-toggle i:nth-child(3) { top: 27px; }
.menu-open .menu-toggle i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle i:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.menu-panel {
  position: fixed; inset: var(--top-h) 0 0 0; z-index: 99; background: rgba(7, 7, 7, 0.97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  padding: var(--s-500) var(--gutter); overflow-y: auto;
  visibility: hidden; opacity: 0; transition: opacity 250ms var(--ease-out), visibility 0s linear 250ms;
}
.menu-open .menu-panel { visibility: visible; opacity: 1; transition: opacity 250ms var(--ease-out), visibility 0s; }
.menu-panel a { display: block; font-family: var(--font-display); font-size: var(--fs-4xl); line-height: 1.2; padding-block: var(--s-100); border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(24px); transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out), color 200ms var(--ease-out); }
.menu-open .menu-panel a { opacity: 1; transform: none; }
.menu-open .menu-panel a:nth-child(1) { transition-delay: 0ms; } .menu-open .menu-panel a:nth-child(2) { transition-delay: 60ms; }
.menu-open .menu-panel a:nth-child(3) { transition-delay: 120ms; } .menu-open .menu-panel a:nth-child(4) { transition-delay: 180ms; }
.menu-open .menu-panel a:nth-child(5) { transition-delay: 240ms; } .menu-open .menu-panel a:nth-child(6) { transition-delay: 300ms; }
.menu-panel a[aria-current="page"] { color: var(--gold); }
.menu-panel .menu-sub { margin-top: var(--s-400); display: flex; flex-wrap: wrap; gap: var(--s-100) var(--s-300); }
.menu-panel .menu-sub a { font-family: var(--font-text); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); border: 0; padding: var(--s-75) 0; opacity: 1; transform: none; transition-delay: 0ms !important; }
@media (min-width: 981px) { .menu-panel { display: none; } }

.sub-nav { display: none; }
@media (min-width: 981px) {
  :root { --sub-h: 0px; }
  body.has-subnav { --sub-h: 44px; }
  .sub-nav { display: block; border-top: 1px solid var(--line); background: rgba(7,7,7,0.35); }
  .sub-nav__in { display: flex; align-items: center; justify-content: space-between; gap: var(--s-400); height: 44px; width: 100%; max-width: calc(1200px + var(--gutter) + var(--gutter-left)); margin-inline: auto; padding-left: var(--gutter-left); padding-right: var(--gutter); }
  .sub-nav__label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
  .sub-nav ul { list-style: none; display: flex; align-items: center; gap: var(--s-400); margin-right: -0.16em; }
  .sub-nav a { position: relative; display: block; padding-block: var(--s-100); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); transition: color 200ms var(--ease-out); }
  .sub-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 280ms var(--ease-out); }
  .sub-nav a[aria-current="true"] { color: var(--gold); }
  .sub-nav a[aria-current="true"]::after { transform: scaleX(1); }
  @media (hover: hover) and (pointer: fine) { .sub-nav a:hover { color: var(--gold); } .sub-nav a:hover::after { transform: scaleX(1); } }
  .site-header.is-solid .sub-nav { background: transparent; }
}

/* ---------- hero (home) ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden;
  padding-top: calc(var(--top-h) + var(--sub-h, 0px) + var(--s-700)); padding-bottom: var(--s-700);
  background: var(--ink);
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; opacity: 0.38; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,7,7,0.96) 0%, rgba(7,7,7,0.72) 55%, rgba(7,7,7,0.9) 100%), linear-gradient(180deg, rgba(7,7,7,0.4) 0%, rgba(7,7,7,1) 100%); }
.hero__grid { position: relative; display: grid; gap: var(--s-600); align-items: center; }
@media (min-width: 981px) { .hero__grid { grid-template-columns: 1.35fr 0.65fr; gap: var(--s-700); } }
.hero__years { display: flex; align-items: baseline; gap: var(--s-200); font-family: var(--font-display); font-size: var(--fs-2xl); color: var(--gold); letter-spacing: 0.2em; margin-bottom: var(--s-300); font-variant-numeric: lining-nums tabular-nums; }
.hero__years .rule { flex: 0 0 var(--s-700); height: 1px; background: var(--gold); transform-origin: left; }
.hero h1 { text-transform: uppercase; letter-spacing: 0.06em; font-size: var(--fs-5xl); line-height: 1.02; }
@media (min-width: 701px) { .hero h1 { font-size: var(--fs-7xl); } }
.hero h2.hero__sub { margin-top: var(--s-400); font-family: var(--font-display); font-size: var(--fs-3xl); font-weight: 500; color: var(--gold-soft); line-height: 1.15; }
.hero .lead { margin-top: var(--s-300); color: var(--muted); }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s-200); margin-top: var(--s-500); }
.hero__seal { display: none; justify-self: center; }
.hero__seal img { width: min(100%, 360px); filter: drop-shadow(0 24px 48px rgba(0,0,0,0.6)); }
@media (min-width: 981px) { .hero__seal { display: block; } }
.hero__scroll { position: absolute; left: 50%; bottom: var(--s-300); width: 1px; height: var(--s-600); background: var(--line); overflow: hidden; display: none; }
.hero__scroll::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: translateY(-100%); animation: scrollcue 2.4s var(--ease-in-out) infinite; }
@keyframes scrollcue { 60%, 100% { transform: translateY(100%); } }
@media (min-width: 981px) { .hero__scroll { display: block; } }

/* ---------- hero (páginas internas) ---------- */
.page-hero { position: relative; padding-top: calc(var(--top-h) + var(--s-800)); padding-bottom: var(--s-700); overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.22; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,7,7,0.55), var(--ink)); }
.page-hero .wrap { position: relative; }
.page-hero h1 { max-width: 14ch; }
.page-hero--wide h1 { max-width: 20ch; }
.page-hero .lead { margin-top: var(--s-300); color: var(--muted); }
.page-hero__mark { display: none; position: absolute; right: max(var(--gutter), calc((100vw - 1200px) / 2)); top: 50%; transform: translateY(-46%); width: 200px; height: auto; pointer-events: none; filter: drop-shadow(0 24px 48px rgba(0,0,0,0.6)); opacity: 0.92; }
@media (min-width: 981px) { .page-hero__mark { display: block; } }

/* ---------- capítulos e blocos ---------- */
.chapter { display: grid; gap: var(--s-400); }
@media (min-width: 901px) {
  .chapter { grid-template-columns: 5fr 7fr; gap: var(--s-700); align-items: start; }
  .chapter--sticky > :first-child { position: sticky; top: calc(var(--top-h) + var(--s-400)); }
  .chapter--wide { grid-template-columns: 7fr 5fr; }
  .chapter--reverse > :first-child { order: 2; }
}
.chapter__num { font-family: var(--font-display); font-size: var(--fs-xl); color: var(--gold); letter-spacing: 0.12em; display: block; margin-bottom: var(--s-100); }
.chapter h2 { margin-bottom: var(--s-300); }

.fig { margin: 0; }
.fig img { width: 100%; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--graphite); }
.fig figcaption { margin-top: var(--s-100); font-size: var(--fs-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.fig--bleed img { aspect-ratio: 16 / 9; object-fit: cover; }
.fig--tall img { aspect-ratio: 4 / 5; object-fit: cover; }
.fig--contain img { object-fit: contain; background: transparent; border-color: transparent; }
.fig--plain img { border: 0; background: transparent; }
.stack { display: grid; gap: var(--s-300); }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-200); margin-top: var(--s-500); }
@media (min-width: 701px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .gallery--4 { grid-template-columns: repeat(4, 1fr); } }
.gallery a { display: block; overflow: hidden; border-radius: var(--r-md); border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--graphite); cursor: zoom-in; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out), opacity 300ms var(--ease-out); }
.gallery a:active img { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) { .gallery a:hover img { transform: scale(1.04); } }

dialog.lightbox { margin: auto; max-width: min(96vw, 1200px); max-height: 92vh; background: transparent; border: 0; color: var(--parchment); }
dialog.lightbox::backdrop { background: rgba(0, 0, 0, 0.92); }
dialog.lightbox img { max-width: 100%; max-height: 82vh; margin-inline: auto; border-radius: var(--r-md); }
dialog.lightbox p { text-align: center; margin-top: var(--s-100); font-size: var(--fs-sm); color: var(--muted); }
dialog.lightbox button { position: fixed; top: var(--s-200); right: var(--s-200); width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: var(--r-md); background: rgba(7,7,7,0.8); cursor: pointer; font-size: var(--fs-2xl); line-height: 1; }

/* colunas com filete (sem cards) */
.cols { display: grid; gap: 0; margin-top: var(--s-500); border-top: 1px solid var(--line); }
@media (min-width: 701px) { .cols { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cols--3 { grid-template-columns: repeat(3, 1fr); } .cols--4 { grid-template-columns: repeat(4, 1fr); } }
.cols > * { padding: var(--s-400) var(--s-300) var(--s-400) 0; border-bottom: 1px solid var(--line); }
@media (min-width: 1100px) { .cols--3 > *, .cols--4 > * { border-bottom: 0; border-right: 1px solid var(--line); padding-left: var(--s-300); } .cols--3 > :first-child, .cols--4 > :first-child { padding-left: 0; } .cols--3 > :last-child, .cols--4 > :last-child { border-right: 0; } }
.cols h3 { font-size: var(--fs-2xl); color: var(--gold-soft); margin-bottom: var(--s-100); }
.cols p { color: var(--muted); font-size: var(--fs-base); line-height: 1.65; }
.cols .idx { font-family: var(--font-display); font-size: var(--fs-sm); letter-spacing: 0.2em; color: var(--gold); display: block; margin-bottom: var(--s-200); }

/* linha do tempo */
.timeline { position: relative; margin-top: var(--s-600); padding-left: var(--s-600); }
.timeline::before { content: ""; position: absolute; left: 7px; top: 0; bottom: 0; width: 1px; background: var(--line); }
.timeline__progress { position: absolute; left: 7px; top: 0; bottom: 0; width: 1px; background: var(--gold); transform-origin: top; }
.timeline li { position: relative; padding-bottom: var(--s-500); display: grid; gap: var(--s-50); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: calc(var(--s-600) * -1 + 2px); top: 14px; width: 11px; height: 11px; border-radius: 50%; background: var(--ink); border: 1px solid var(--gold); }
.timeline .when { font-family: var(--font-display); font-size: var(--fs-4xl); line-height: 1.1; color: var(--gold-soft); font-weight: 600; font-variant-numeric: lining-nums; }
.timeline .what { color: var(--muted); max-width: 560px; }
@media (min-width: 901px) { .timeline li { grid-template-columns: 220px 1fr; align-items: baseline; gap: var(--s-400); } .timeline .when { font-size: var(--fs-5xl); } }
.timeline--h li { }

/* números */
.stats { display: grid; gap: var(--s-400); margin-top: var(--s-500); }
@media (min-width: 701px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .stats--4 { grid-template-columns: repeat(4, 1fr); } .stats--3 { grid-template-columns: repeat(3, 1fr); } }
.stats > div { border-top: 1px solid var(--line-strong); padding-top: var(--s-200); }
.stats b { display: block; font-family: var(--font-display); font-size: var(--fs-6xl); line-height: 1; font-weight: 600; color: var(--gold-soft); font-variant-numeric: lining-nums; }
.stats span { display: block; margin-top: var(--s-100); color: var(--muted); font-size: var(--fs-base); }

/* revelação de frase (palavra por palavra) */
.reveal-words { font-family: var(--font-display); font-size: var(--fs-4xl); line-height: 1.2; font-weight: 500; max-width: 880px; color: var(--parchment); text-wrap: balance; }
@media (min-width: 901px) { .reveal-words { font-size: var(--fs-6xl); line-height: 1.12; } }
.anim .reveal-words .w { opacity: 0.28; transition: opacity 500ms var(--ease-out); }
.anim .reveal-words .w.on { opacity: 1; }
.anim [data-hero] { opacity: 0; transform: translateY(24px); }
.split-word { padding-bottom: 0.12em; margin-bottom: -0.12em; }

/* índice (Universo Tolkien) */
.index { margin-top: var(--s-500); border-top: 1px solid var(--line); }
.index a { display: grid; gap: var(--s-75); padding: var(--s-300) 0; border-bottom: 1px solid var(--line); position: relative; transition: padding 280ms var(--ease-out), color 200ms var(--ease-out); }
.index h3 { font-size: var(--fs-3xl); }
.index p { color: var(--muted); font-size: var(--fs-base); max-width: 560px; }
.index .go { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
@media (min-width: 901px) { .index a { grid-template-columns: 340px 1fr auto; align-items: baseline; gap: var(--s-400); padding: var(--s-400) 0; } .index h3 { font-size: var(--fs-4xl); } }
.index a:active { transform: scale(0.995); }
@media (hover: hover) and (pointer: fine) { .index a:hover { padding-left: var(--s-300); } .index a:hover h3 { color: var(--gold-soft); } }

/* citação final */
.quote { text-align: center; padding-block: var(--s-800); border-top: 1px solid var(--line); }
.quote blockquote { font-family: var(--font-display); font-size: var(--fs-4xl); line-height: 1.15; max-width: 880px; margin-inline: auto; color: var(--parchment); text-wrap: balance; }
@media (min-width: 901px) { .quote blockquote { font-size: var(--fs-6xl); } }
.quote cite { display: block; margin-top: var(--s-300); font-style: normal; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.quote::before { content: ""; display: block; width: var(--s-700); height: 1px; background: var(--gold); margin: 0 auto var(--s-500); }

/* destaque lateral de texto (pull) */
.pull { border-left: 1px solid var(--gold); padding-left: var(--s-300); margin-top: var(--s-400); font-family: var(--font-display); font-size: var(--fs-2xl); line-height: 1.3; color: var(--parchment); max-width: 680px; }
.note { margin-top: var(--s-500); padding: var(--s-300); border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--muted); font-size: var(--fs-base); max-width: 680px; }
.note b { display: block; font-size: var(--fs-xs); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: var(--s-75); }

.tags { display: flex; flex-wrap: wrap; gap: var(--s-100); margin-top: var(--s-400); }
.tags li { padding: var(--s-75) var(--s-200); border: 1px solid var(--line-strong); border-radius: var(--r-md); font-size: var(--fs-sm); color: var(--parchment); }

.steps { display: grid; gap: 0; margin-top: var(--s-500); counter-reset: s; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: var(--s-700) 1fr; align-items: baseline; padding: var(--s-300) 0; border-bottom: 1px solid var(--line); }
.steps b { font-family: var(--font-display); font-size: var(--fs-4xl); color: var(--gold); font-weight: 600; }
.steps span { font-family: var(--font-display); font-size: var(--fs-2xl); color: var(--parchment); }

/* ---------- contato ---------- */
.contact-grid { display: grid; gap: var(--s-400); margin-top: var(--s-500); }
@media (min-width: 701px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
.contact-grid > * { border-top: 1px solid var(--line-strong); padding-top: var(--s-200); }
.contact-grid small { display: block; font-size: var(--fs-xs); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: var(--s-75); }
.contact-grid a, .contact-grid p { font-family: var(--font-display); font-size: var(--fs-2xl); color: var(--parchment); word-break: break-word; }
@media (hover: hover) and (pointer: fine) { .contact-grid a:hover { color: var(--gold-soft); } }
form.contact-form { display: grid; gap: var(--s-200); max-width: 680px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: var(--s-200); min-height: 48px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-md); font-size: var(--fs-base); transition: border-color 200ms var(--ease-out), background-color 200ms var(--ease-out); }
.contact-form textarea { min-height: 160px; resize: vertical; }
.contact-form ::placeholder { color: var(--muted); opacity: 1; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--gold-soft); outline-offset: 2px; border-color: var(--gold); }
.contact-form input:user-invalid, .contact-form select:user-invalid, .contact-form textarea:user-invalid { border-color: #d98a7a; }
.contact-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.contact-form button { justify-self: start; }

/* ---------- rodapé ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: var(--s-700) var(--s-600); text-align: center; background: var(--ink); }
.site-footer img { width: 120px; margin: 0 auto var(--s-300); }
.site-footer strong { display: block; font-family: var(--font-display); font-size: var(--fs-3xl); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.site-footer p { color: var(--muted); font-size: var(--fs-base); line-height: 1.7; }
.site-footer .foot-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-100) var(--s-300); margin: var(--s-400) 0; }
.site-footer .foot-nav a { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); padding-block: var(--s-75); transition: color 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .site-footer .foot-nav a:hover { color: var(--gold); } }
.site-footer .copy { margin-top: var(--s-400); font-size: var(--fs-sm); }

.back-to-top { position: fixed; right: var(--s-300); bottom: var(--s-300); z-index: 90; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; background: rgba(7,7,7,0.85); color: var(--gold); font-size: var(--fs-xl); transition: transform 160ms var(--ease-out), background-color 200ms var(--ease-out), opacity 300ms var(--ease-out); }
.back-to-top:active { transform: scale(0.95); }
@media (hover: hover) and (pointer: fine) { .back-to-top:hover { background: var(--gold); color: var(--ink); } }

/* ---------- estados de animação (só com JS e movimento permitido) ---------- */
.anim [data-reveal] { opacity: 0; transform: translateY(32px); }
.anim .img-reveal { clip-path: inset(0 0 100% 0); }
.anim .split-word { display: inline-block; overflow: hidden; vertical-align: top; }
.anim .split-word > span { display: inline-block; transform: translateY(110%); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__scroll::after { animation: none; transform: none; }
  .gallery img, .link-more, .link-more span, .index a { transition: none; }
}


/* ---------- jornada pelas Eras ---------- */
.eras-sec { position: relative; padding-top: var(--s-800); padding-bottom: 0; background: var(--ink); border-top: 1px solid var(--line); overflow: clip; }
.eras__head { max-width: calc(1200px + var(--gutter) + var(--gutter-left)); margin-inline: auto; padding-left: var(--gutter-left); padding-right: var(--gutter); margin-bottom: var(--s-500); }
.eras__pin { position: relative; }
.eras__track { display: flex; gap: var(--s-300); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 0 var(--gutter) var(--s-600); -webkit-overflow-scrolling: touch; }
.era { position: relative; flex: 0 0 min(86vw, 560px); scroll-snap-align: start; display: flex; flex-direction: column; gap: var(--s-200); padding: var(--s-500) var(--s-400) var(--s-400); border: 1px solid var(--line-strong); border-radius: var(--r-lg); background: var(--surface); min-height: 420px; overflow: hidden; }
.era__num { position: absolute; right: var(--s-300); bottom: -24px; font-family: var(--font-display); font-size: 200px; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(184,155,94,0.28); z-index: 0; pointer-events: none; user-select: none; }
.era h3 { font-size: var(--fs-4xl); position: relative; z-index: 1; }
.era__lead { font-family: var(--font-display); font-size: var(--fs-2xl); line-height: 1.3; color: var(--gold-soft); position: relative; z-index: 1; }
.era p { position: relative; z-index: 1; }
.era .link-more { margin-top: auto; position: relative; z-index: 1; }
.eras__bar { display: none; }
@media (min-width: 981px) {
  .eras[data-pinned] .eras__pin { height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: var(--s-400); overflow: hidden; padding-top: calc(var(--top-h) + var(--sub-h, 0px)); }
  .eras[data-pinned] .eras__head { margin-bottom: 0; width: 100%; }
  .eras[data-pinned] .eras__track { overflow: visible; padding-bottom: var(--s-300) !important; scroll-snap-type: none; padding: 0 var(--gutter-left) 0 max(var(--gutter-left), calc((100vw - 1200px) / 2)); will-change: transform; }
  .eras[data-pinned] .era { flex-basis: min(46vw, 560px); }
  .eras[data-pinned] .eras__bar { display: block; position: absolute; left: var(--gutter-left); right: var(--gutter); bottom: var(--s-500); height: 1px; background: var(--line-strong); }
  .eras[data-pinned] .eras__bar i { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }
}
@media (hover: hover) and (pointer: fine) { .era { transition: border-color 300ms var(--ease-out), transform 400ms var(--ease-out); } .era:hover { border-color: var(--gold); transform: translateY(-4px); } }

/* ---------- progresso, transições e profundidade ---------- */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; background: var(--gold); transform: scaleX(0); transform-origin: left; pointer-events: none; }
@view-transition { navigation: auto; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }
::view-transition-old(root) { animation: vt-out 220ms var(--ease-out) both; }
::view-transition-new(root) { animation: vt-in 380ms var(--ease-out) 60ms both; }
@media (prefers-reduced-motion: reduce) { ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; } }


/* ================= faixa de calendário (sob o menu, em todas as páginas) ================= */
.cal-strip { border-top: 1px solid var(--line); background: rgba(7,7,7,0.5); }
.cal-strip__in { display: flex; align-items: center; gap: var(--s-300); height: var(--strip-h); width: 100%; max-width: calc(1200px + var(--gutter) + var(--gutter-left)); margin-inline: auto; padding-left: var(--gutter-left); padding-right: var(--gutter); overflow: hidden; white-space: nowrap; font-size: var(--fs-xs); letter-spacing: 0.06em; color: var(--muted); }
.cal-strip__k { font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.cal-strip__v::before { content: ""; display: inline-block; width: 4px; height: 4px; margin-right: var(--s-100); background: var(--gold); transform: rotate(45deg); vertical-align: middle; }
.cal-strip__v { color: var(--parchment); }
.cal-strip__ev { border-top: 1px solid var(--line); }
.cal-strip__evin { display: flex; align-items: center; height: var(--ev-h); width: 100%; max-width: calc(1200px + var(--gutter) + var(--gutter-left)); margin-inline: auto; padding-left: var(--gutter-left); padding-right: var(--gutter); overflow: hidden; font-size: var(--fs-sm); color: var(--parchment); }
.cal-strip__next { display: inline-block; white-space: nowrap; }
.cal-strip__when { display: inline-block; margin-right: var(--s-100); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.cal-strip__when::after { content: " ·"; }
.cal-strip__evin.is-pan .cal-strip__next { animation: evPan 14s linear 2s infinite alternate; }
@keyframes evPan { from { transform: translateX(0); } to { transform: translateX(var(--ov)); } }
.cal-strip { max-height: 120px; transition: max-height 260ms var(--ease-out); }
@media (max-width: 700px) { .site-header.cal-collapsed .cal-strip { max-height: 0; overflow: hidden; border-top-width: 0; } .cal-strip__evin { font-size: var(--fs-xs); } }
@media (prefers-reduced-motion: reduce) { .cal-strip__evin.is-pan .cal-strip__next { animation: none; white-space: normal; } .cal-strip { transition: none; } }
.cal-strip__link { transition: opacity 200ms var(--ease-out); }
@media (max-width: 700px) { .cal-strip .cal-strip__k, .cal-strip .cal-strip__link { display: none !important; } .cal-strip__v--shire { margin-left: 0; } }
@media (hover: hover) and (pointer: fine) { .cal-strip__link:hover { opacity: 0.8; } }
.cal-strip [data-flip] { display: inline-block; animation: calIn 500ms var(--ease-out) both; }
@keyframes calIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ================= submenu "Universo" ================= */
.nav__dd { position: relative; display: flex; }
.nav__dd-m { list-style: none; position: absolute; top: 100%; left: 50%; min-width: 220px; padding: var(--s-100); background: rgba(10,10,10,0.97); border: 1px solid var(--line-strong); border-radius: var(--r-lg);
  transform: translate(-50%, 6px); opacity: 0; visibility: hidden; transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out), visibility 0s linear 180ms; z-index: 5; }
.nav__dd-m a { display: block; padding: var(--s-100) var(--s-200); letter-spacing: 0.12em; white-space: nowrap; }
.nav__dd-m a::after { display: none; }
.nav__dd:focus-within .nav__dd-m { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
@media (hover: hover) and (pointer: fine) { .nav__dd:hover .nav__dd-m { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; } }
.menu-sub--univ { margin-top: var(--s-400); padding-top: var(--s-300); border-top: 1px solid var(--line); }
.menu-sub__t { flex-basis: 100%; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }

/* ================= brasas douradas (canvas decorativo) ================= */
.embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.page-hero .wrap, .hero__grid { position: relative; z-index: 1; }

/* ================= páginas das Eras ================= */
.era-nav { display: grid; gap: var(--s-200); }
@media (min-width: 701px) { .era-nav { grid-template-columns: 1fr 1fr; } }
.era-nav__a { display: flex; flex-direction: column; gap: var(--s-75); padding: var(--s-400); border: 1px solid var(--line); border-radius: var(--r-lg); transition: border-color 240ms var(--ease-out), transform 240ms var(--ease-out); }
.era-nav__a--next { text-align: right; }
.era-nav__a span { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.era-nav__a b { font-family: var(--font-display); font-size: var(--fs-3xl); font-weight: 500; }
@media (hover: hover) and (pointer: fine) { .era-nav__a:hover { border-color: var(--gold); transform: translateY(-3px); } }

/* ================= calendários ================= */
.cal-today { display: grid; gap: var(--s-200); margin-top: var(--s-400); }
@media (min-width: 701px) { .cal-today { grid-template-columns: repeat(3, 1fr); } }
.cal-today > div { padding: var(--s-400); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.cal-today small { display: block; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.cal-today b { display: block; margin-top: var(--s-100); font-family: var(--font-display); font-size: var(--fs-3xl); font-weight: 500; line-height: 1.15; }
.note { margin-top: var(--s-300); font-size: var(--fs-sm); color: var(--muted); }
.months { display: grid; gap: var(--s-200); margin-top: var(--s-500); }
@media (min-width: 701px) { .months { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .months { grid-template-columns: repeat(3, 1fr); } }
.mon { padding: var(--s-400); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--ink); transition: border-color 240ms var(--ease-out); }
.mon h3 { font-size: var(--fs-3xl); }
.mon__eq { margin-top: var(--s-100); font-size: var(--fs-sm); color: var(--gold-soft); line-height: 1.55; }
.mon ul { list-style: none; margin-top: var(--s-200); display: grid; gap: var(--s-100); font-size: var(--fs-sm); color: var(--muted); }
.mon li b { color: var(--gold); margin-right: var(--s-75); font-variant-numeric: tabular-nums; }
.mon li.none { opacity: 0.6; }
@media (hover: hover) and (pointer: fine) { .mon:hover { border-color: var(--gold); } }
.shire-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-100); margin-top: var(--s-400); counter-reset: m; }
@media (min-width: 701px) { .shire-list { grid-template-columns: repeat(4, 1fr); } }
.shire-list li { counter-increment: m; padding: var(--s-200); border: 1px solid var(--line); border-radius: var(--r-md); font-family: var(--font-display); font-size: var(--fs-xl); }
.shire-list li::before { content: counter(m, decimal-leading-zero); display: block; font-family: var(--font-text); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.2em; color: var(--gold); }
.seasons { display: flex; gap: var(--s-75); margin-top: var(--s-400); }
.seasons span { display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 88px; padding: var(--s-200) var(--s-100); border: 1px solid var(--line-strong); border-radius: var(--r-md); font-family: var(--font-display); font-size: var(--fs-lg); text-align: center; }
.seasons small { font-family: var(--font-text); font-size: var(--fs-xs); color: var(--gold); }
.seasons .end { border-style: dashed; font-size: var(--fs-xs); }
@media (max-width: 700px) { .seasons { flex-wrap: wrap; } .seasons span { flex: 1 1 40% !important; } }

/* ================= mapa ================= */
.map { display: grid; gap: var(--s-300); }
@media (min-width: 981px) { .map { grid-template-columns: 1.7fr 0.8fr; align-items: start; } .map__panel { position: sticky; top: calc(var(--top-h) + var(--sub-h, 0px) + var(--s-300)); } }
.map__stage { position: relative; border: 1px solid var(--line-strong); border-radius: var(--r-lg); overflow: hidden; background: #0c0b07; }
.map__svg { display: block; width: 100%; height: auto; }
.map__sea { fill: rgba(184,155,94,0.06); }
.map__line { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.map__line--range { stroke: rgba(232,225,212,0.28); stroke-width: 3; stroke-dasharray: 2 9; }
.map__line--river { stroke: rgba(184,155,94,0.35); stroke-width: 2; }
.map__route { fill: none; stroke: var(--gold-soft); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; }
.map__route.is-on { opacity: 0.95; }
.mk { cursor: pointer; outline: none; }
.mk__halo { fill: rgba(184,155,94,0); stroke: var(--gold); stroke-width: 1; opacity: 0; transform-box: fill-box; transform-origin: center; }
.mk__dot { fill: var(--gold); transition: fill 200ms var(--ease-out), transform 200ms var(--ease-out); transform-box: fill-box; transform-origin: center; }
.mk text { font-family: var(--font-text); font-size: 15px; font-weight: 600; fill: var(--parchment); paint-order: stroke; stroke: #0c0b07; stroke-width: 4px; stroke-linejoin: round; }
.mk:focus-visible .mk__halo, .mk.is-active .mk__halo { opacity: 1; }
.mk.is-active .mk__dot { fill: var(--parchment); }
@media (hover: hover) and (pointer: fine) { .mk:hover .mk__dot { transform: scale(1.35); } .mk:hover .mk__halo { opacity: 0.8; } }
.mk__halo { animation: pulse 2.6s var(--ease-out) infinite; }
@keyframes pulse { 0% { transform: scale(0.6); opacity: 0.7; } 100% { transform: scale(1.5); opacity: 0; } }
.mk:focus-visible .mk__halo, .mk.is-active .mk__halo { animation: none; transform: none; }
.map__routes { position: absolute; left: var(--s-200); bottom: var(--s-200); display: flex; flex-wrap: wrap; gap: var(--s-100); }
.map__route[data-r="hobbit"] { stroke: var(--parchment); stroke-dasharray: 6 6; }
.map__panel { padding: var(--s-400); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); min-height: 220px; }
.map__panel h3 { margin-top: var(--s-100); font-size: var(--fs-3xl); }
.map__panel p { margin-top: var(--s-200); color: var(--muted); }
.map__panel [data-swap] { animation: calIn 360ms var(--ease-out) both; }
.plclist { list-style: none; display: grid; gap: var(--s-200); margin-top: var(--s-400); }
@media (min-width: 701px) { .plclist { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .plclist { grid-template-columns: repeat(3, 1fr); } }
.plclist li { padding: var(--s-300); border: 1px solid var(--line); border-radius: var(--r-lg); }
.plclist p { margin-top: var(--s-100); font-size: var(--fs-sm); color: var(--muted); }
.plc { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-25); background: none; border: 0; color: inherit; font: inherit; cursor: pointer; text-align: left; padding: 0; min-height: 44px; justify-content: center; }
.plc b { font-family: var(--font-display); font-size: var(--fs-2xl); font-weight: 500; }
.plc small { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
@media (prefers-reduced-motion: reduce) { .mk__halo { animation: none; opacity: 0; } .cal-strip [data-flip], .map__panel [data-swap] { animation: none; } }
body.stb-no-animations .mk__halo { animation: none; }

/* ================= páginas de mapas, tabelas e links ================= */
.gallery--map { grid-template-columns: 1fr !important; margin-top: 0; }
.gallery--map a { aspect-ratio: auto; background: transparent; }
.gallery--map img { height: auto; object-fit: contain; }
.tbl { overflow-x: auto; margin-top: var(--s-400); border: 1px solid var(--line); border-radius: var(--r-lg); }
.tbl table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.tbl th, .tbl td { padding: var(--s-200) var(--s-300); text-align: left; border-bottom: 1px solid var(--line); }
.tbl thead th { font-size: var(--fs-xs); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.tbl tbody th { font-family: var(--font-display); font-size: var(--fs-xl); font-weight: 500; color: var(--parchment); }
.tbl tbody tr:last-child > * { border-bottom: 0; }
.shire-list--eq li small { display: block; margin-top: var(--s-25); font-family: var(--font-text); font-size: var(--fs-xs); color: var(--muted); }

.hoje { list-style: none; display: grid; gap: var(--s-100); margin-top: var(--s-400); }
.hoje li { padding: var(--s-200) var(--s-300); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.note a { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 3px; }

.timeline--dense .when { font-size: var(--fs-2xl); }
@media (min-width: 901px) { .timeline--dense li { grid-template-columns: 300px 1fr; } .timeline--dense .when { font-size: var(--fs-2xl); } }
.timeline--dense .what { max-width: 680px; }

/* ================= submenus agrupados ================= */
.nav__dd-m { display: grid; gap: var(--s-200) var(--s-300); grid-auto-flow: column; }
.nav__dd-m .dd-g { display: flex; flex-direction: column; min-width: 180px; }
.nav__dd-h, .dd-h { display: block; padding: var(--s-75) var(--s-200); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.nav__dd-m--wide { left: auto; right: -60px; transform: translate(0, 6px); }
.nav__dd:focus-within .nav__dd-m--wide { transform: translate(0, 0); }
@media (hover: hover) and (pointer: fine) { .nav__dd:hover .nav__dd-m--wide { transform: translate(0, 0); } }

/* ================= base de interação ================= */
.wrap--wide { max-width: calc(1200px + var(--gutter) + var(--gutter-left)); }
.tl-sec { overflow-x: clip; }
.tl__frame { margin-inline: calc(50% - 50vw); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.chip { font: 700 var(--fs-xs)/1 var(--font-text); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s-100) var(--s-200); cursor: pointer;
  transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out), border-color 180ms var(--ease-out), transform 160ms var(--ease-out); }
.chip.is-on { color: var(--ink); background: var(--gold); border-color: var(--gold); }
.chip:active { transform: scale(0.97); }
.chip:disabled { opacity: 0.35; pointer-events: none; }
.chip:focus-visible, .mvk:focus-visible, .ca__d:focus-visible, .ca__pill:focus-visible, .tl__it:focus-visible { outline: 2px solid var(--parchment); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .chip:hover { color: var(--parchment); border-color: var(--gold); } .chip.is-on:hover { color: var(--ink); background: var(--gold-soft); } }
body.mv-lock { overflow: hidden; }

/* ================= mapas interativos ================= */
.mv__static { margin: 0; } .mv__static img { display: block; width: 100%; height: auto; border: 1px solid var(--line-strong); border-radius: var(--r-lg); }
.mv.is-on { display: flex; flex-direction: column; gap: var(--s-200); }
.mv__bar, .mv__eras, .mv__routes { display: flex; flex-wrap: wrap; gap: var(--s-100); align-items: center; }
.mv__lab { font: 700 var(--fs-xs)/1 var(--font-text); letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-right: var(--s-50); }
.mv__chips { display: flex; flex-wrap: wrap; gap: var(--s-75); }
.mv__search { position: relative; flex: 0 1 300px; }
.mv__search input, .tl__search input, .ca__conv input { width: 100%; font: 500 var(--fs-sm)/1.4 var(--font-text); color: var(--parchment); background: rgba(255,255,255,0.04); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s-100) var(--s-200); }
.mv__search input:focus-visible, .tl__search input:focus-visible, .ca__conv input:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.mv__sug { position: absolute; top: 100%; left: 0; right: 0; z-index: 30; list-style: none; margin: var(--s-75) 0 0; padding: var(--s-75); background: rgba(8,8,6,0.98); border: 1px solid var(--line-strong); border-radius: var(--r-lg); max-height: 300px; overflow: auto; }
.mv__sug button { width: 100%; text-align: left; background: none; border: 0; color: var(--parchment); font: 500 var(--fs-sm)/1.3 var(--font-text); padding: var(--s-100); cursor: pointer; border-radius: var(--r-md); display: flex; justify-content: space-between; gap: var(--s-200); }
.mv__sug small { color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .mv__sug button:hover { background: rgba(184,155,94,0.16); } }
.mv__era { margin: 0; padding: var(--s-100) var(--s-200); border: 1px solid var(--line); border-radius: var(--r-lg); background: rgba(184,155,94,0.07); color: var(--parchment); font-size: var(--fs-sm); line-height: 1.55; animation: fadeUp 300ms var(--ease-out); }
.mv__era b { color: var(--gold-soft); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.mv__stage { position: relative; height: clamp(460px, 78vh, 880px); overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--r-lg); background: #0b0a07; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.mv__stage.is-drag { cursor: grabbing; }
.mv__stage:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.mv__stage.is-loading::after { content: "Carregando o mapa"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); letter-spacing: 0.22em; text-transform: uppercase; font-size: var(--fs-xs); }
.mv__world { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; }
.mv__img { display: block; width: 100%; height: 100%; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.mv__svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.rt { fill: none; stroke-linecap: round; }
.rt--ghost { stroke: #5b2a14; stroke-width: 2; stroke-dasharray: 2 8; opacity: 0.55; }
.rt--seg { stroke: #9a2410; stroke-width: 3.6; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 900ms var(--ease-out); filter: drop-shadow(0 0 2px rgba(255,236,190,0.9)); }
.rt--seg.on { stroke-dashoffset: 0; }
.mv__ov { position: absolute; border: 1.5px dashed rgba(233,201,120,0.95); border-radius: 46%; background: rgba(16,32,46,0.5); display: grid; place-items: center; pointer-events: none; animation: fadeUp 500ms var(--ease-out); }
.mv__ov span { transform: scale(var(--inv, 1)); width: max-content; max-width: 220px; text-align: center; background: rgba(7,7,7,0.86); color: var(--parchment); font: 600 12px/1.35 var(--font-text); padding: 6px 10px; border-radius: 4px; }
.mv__ov[hidden] { display: none; }

.mvk { position: absolute; width: 18px; height: 18px; padding: 0; border: 0; background: none; cursor: pointer; transform: translate(-50%, -50%) scale(var(--inv, 1)); transition: opacity 220ms var(--ease-out), visibility 0s; z-index: 2; }
.mvk[data-p="2"] { width: 15px; height: 15px; } .mvk[data-p="3"] { width: 12px; height: 12px; }
.mvk__d { display: block; width: 100%; height: 100%; border-radius: 50%; background: #14110a; border: 2px solid var(--gold-soft); box-shadow: 0 0 0 3px rgba(7,7,7,0.35); transition: background-color 160ms var(--ease-out), transform 160ms var(--ease-out); }
.mvk__l { position: absolute; left: calc(100% + 7px); top: 50%; transform: translateY(-50%); white-space: nowrap; font: 600 12px/1.2 var(--font-text); letter-spacing: 0.03em; color: var(--parchment); background: rgba(7,7,7,0.84); padding: 4px 8px; border-radius: 4px; opacity: 0; pointer-events: none; transition: opacity 180ms var(--ease-out); }
.mvk[data-p="1"] .mvk__l, .mv__stage[data-z="1"] .mvk[data-p="2"] .mvk__l, .mv__stage[data-z="2"] .mvk[data-p="2"] .mvk__l, .mv__stage[data-z="2"] .mvk[data-p="3"] .mvk__l { opacity: 1; }
.mvk:focus-visible .mvk__l, .mvk.is-sel .mvk__l { opacity: 1; z-index: 5; }
.mvk.is-sel { z-index: 6; } .mvk.is-sel .mvk__d { background: var(--gold); animation: mkPulse 1.8s var(--ease-out) infinite; }
@keyframes mkPulse { 0% { box-shadow: 0 0 0 3px rgba(7,7,7,0.35), 0 0 0 3px rgba(233,201,120,0.7); } 100% { box-shadow: 0 0 0 3px rgba(7,7,7,0.35), 0 0 0 16px rgba(233,201,120,0); } }
.mvk.is-off { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 220ms var(--ease-out), visibility 0s linear 220ms; }
.is-tour .mvk:not(.is-sel) { opacity: 0.4; }
@media (hover: hover) and (pointer: fine) { .mvk:hover { z-index: 7; } .mvk:hover .mvk__l { opacity: 1; } .mvk:hover .mvk__d { background: var(--gold); transform: scale(1.25); } }
.wp { position: absolute; width: 26px; height: 26px; margin: 0; transform: translate(-50%, -50%) scale(var(--inv, 1)); display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--gold-soft); border: 2px solid var(--gold-soft); font: 700 12px/1 var(--font-text); opacity: 0; pointer-events: none; transition: opacity 300ms var(--ease-out); z-index: 4; }
.wp.on { opacity: 1; } .wp.cur { background: var(--gold); color: var(--ink); animation: mkPulse 1.8s var(--ease-out) infinite; }

.mv__ctl { position: absolute; left: 12px; top: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 8; }
.mv__ctl button { width: 38px; height: 38px; border-radius: var(--r-lg); border: 1px solid var(--line-strong); background: rgba(7,7,7,0.86); color: var(--parchment); font: 600 18px/1 var(--font-text); cursor: pointer; transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out), transform 160ms var(--ease-out); }
.mv__ctl button:active { transform: scale(0.95); }
@media (hover: hover) and (pointer: fine) { .mv__ctl button:hover { background: var(--gold); color: var(--ink); } }
.mv__hint { position: absolute; left: 50%; top: 12px; transform: translate(-50%, -6px); background: rgba(7,7,7,0.9); color: var(--parchment); font-size: var(--fs-sm); padding: var(--s-75) var(--s-200); border-radius: var(--r-md); opacity: 0; pointer-events: none; transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out); z-index: 8; }
.mv__hint.on { opacity: 1; transform: translate(-50%, 0); }
.mv__mini { position: absolute; left: 12px; bottom: 12px; width: 150px; border: 1px solid var(--line-strong); border-radius: var(--r-md); overflow: hidden; opacity: 0; transform: translateY(6px); pointer-events: none; transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out); z-index: 8; cursor: pointer; touch-action: none; background: #000; }
.mv__mini.on { opacity: 1; transform: none; pointer-events: auto; }
.mv__mini img { display: block; width: 100%; height: auto; opacity: 0.85; pointer-events: none; }
.mv__mini-r { position: absolute; border: 1.5px solid var(--gold-soft); background: rgba(184,155,94,0.2); pointer-events: none; }
.mv__card { position: absolute; right: 12px; top: 60px; width: min(340px, calc(100% - 24px)); max-height: calc(100% - 72px); overflow: auto; background: rgba(8,8,6,0.95); border: 1px solid var(--line-strong); border-radius: var(--r-lg); padding: var(--s-300) var(--s-300) var(--s-200); opacity: 0; visibility: hidden; transform: translateX(14px); transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out), visibility 0s linear 220ms; z-index: 9; cursor: default; user-select: text; }
.mv__card.on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mv__k { display: block; font: 700 11px/1.3 var(--font-text); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: var(--s-75); padding-right: var(--s-500); }
.mv__card h3 { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-3xl); line-height: 1.1; color: var(--parchment); margin: 0 0 var(--s-50); }
.mv__o { color: var(--muted); font-size: var(--fs-sm); margin: 0 0 var(--s-100); }
.mv__card p { font-size: var(--fs-sm); line-height: 1.65; color: var(--parchment); margin: 0 0 var(--s-100); }
.mv__eras-in { color: var(--muted) !important; font-size: var(--fs-xs) !important; } .mv__eras-in span { color: var(--gold); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; margin-right: var(--s-50); }
.mv__x { position: absolute; right: 10px; top: 10px; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--parchment); font-size: 20px; line-height: 1; cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .mv__x:hover { background: var(--gold); color: var(--ink); } }
.mv__dots { display: flex; gap: 6px; margin: var(--s-100) 0; } .mv__dots i { flex: 1; height: 3px; background: var(--line); border-radius: 2px; transition: background-color 300ms var(--ease-out); } .mv__dots i.on { background: var(--gold); }
.mv__nav { display: flex; flex-wrap: wrap; gap: var(--s-75); }
.mv.is-fs, .mv:fullscreen { position: fixed; inset: 0; z-index: 300; display: flex; flex-direction: column; gap: var(--s-100); padding: var(--s-200); background: var(--ink); height: 100%; overflow: hidden; }
.mv:fullscreen { position: static; }
.mv.is-fs .mv__stage, .mv:fullscreen .mv__stage { flex: 1; height: auto; min-height: 0; }
.mv__list { margin-top: var(--s-300); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-200) var(--s-300); }
.mv__list summary { cursor: pointer; font: 700 var(--fs-xs)/1.4 var(--font-text); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.mv__list h3 { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-2xl); margin: var(--s-300) 0 var(--s-100); } .mv__list ul { columns: 2 320px; column-gap: var(--s-500); color: var(--muted); font-size: var(--fs-sm); line-height: 1.6; padding-left: var(--s-300); } .mv__list li { break-inside: avoid; margin-bottom: var(--s-75); } .mv__list b { color: var(--parchment); }
@media (max-width: 700px) {
  .mv__stage { height: 72vh; }
  .mv__card { left: 8px; right: 8px; top: auto; bottom: 8px; width: auto; max-height: 48%; transform: translateY(14px); }
  .mv__mini { width: 96px; left: 8px; bottom: auto; top: 8px; }
  .mv__search { flex-basis: 100%; }
}

/* ================= calendário interativo ================= */
.ca.is-on { display: flex; flex-direction: column; gap: var(--s-400); }
.ca__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--s-200) var(--s-500); }
.ca__tabs { display: flex; gap: var(--s-400); }
.ca__tab { background: none; border: 0; padding: 0 0 var(--s-75); font-family: var(--font-display); font-weight: 500; font-size: var(--fs-4xl); line-height: 1; color: var(--muted); cursor: pointer; position: relative; transition: color 200ms var(--ease-out); }
.ca__tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 300ms var(--ease-out); }
.ca__tab.on { color: var(--parchment); } .ca__tab.on::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .ca__tab:hover { color: var(--parchment); } }
.ca__today { margin: 0; color: var(--muted); font-size: var(--fs-sm); line-height: 1.7; max-width: 640px; } .ca__today b { color: var(--parchment); font-weight: 600; } .ca__today span { color: var(--gold); font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; font-size: var(--fs-xs); margin-right: var(--s-75); }
.ca__body { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); gap: var(--s-500); align-items: start; }
.ca__main { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-400); }
.ca__side { position: sticky; top: calc(var(--top-h) + var(--s-300)); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-lg); padding: var(--s-400); min-height: 280px; }
.ca__nav { display: flex; align-items: center; gap: var(--s-200); margin-bottom: var(--s-300); }
.ca__ttl { flex: 1; min-width: 0; } .ca__mn { display: block; font-family: var(--font-display); font-weight: 500; font-size: var(--fs-6xl); line-height: 1; color: var(--parchment); } .ca__ttl small { color: var(--muted); font-size: var(--fs-sm); letter-spacing: 0.06em; }
.ca__arr { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; color: var(--gold-soft); font-size: 26px; line-height: 1; cursor: pointer; transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out), transform 160ms var(--ease-out); }
.ca__arr:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .ca__arr:hover { background: var(--gold); color: var(--ink); } }
.ca__pills { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--s-75); margin-bottom: var(--s-300); }
.ca__pill { background: transparent; border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s-75) var(--s-50); color: var(--muted); cursor: pointer; display: flex; flex-direction: column; gap: 2px; align-items: center; transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out), border-color 180ms var(--ease-out); }
.ca__pill b { font: 700 11px/1.2 var(--font-text); letter-spacing: 0.08em; text-transform: uppercase; } .ca__pill small { font-size: 11px; opacity: 0.7; }
.ca__pill.on { background: var(--gold); color: var(--ink); border-color: var(--gold); }
@media (hover: hover) and (pointer: fine) { .ca__pill:hover:not(.on) { border-color: var(--gold); color: var(--parchment); } }
.ca__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: var(--s-75); } .ca__grid--g { grid-template-columns: repeat(6, 1fr); }
.ca__wd { display: flex; flex-direction: column; align-items: center; padding-bottom: var(--s-75); color: var(--gold); } .ca__wd b { font: 700 var(--fs-xs)/1.2 var(--font-text); letter-spacing: 0.16em; text-transform: uppercase; } .ca__wd small { font-size: 11px; color: var(--muted); text-align: center; } .ca__wd.we b { color: var(--gold-soft); }
.ca__d { position: relative; aspect-ratio: 1.12; background: rgba(255,255,255,0.03); border: 1px solid var(--line); border-radius: var(--r-md); color: var(--parchment); cursor: pointer; display: flex; align-items: flex-start; justify-content: flex-start; padding: var(--s-75) var(--s-100); animation: caIn 320ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 9ms); transition: border-color 160ms var(--ease-out), background-color 160ms var(--ease-out), transform 160ms var(--ease-out), color 160ms var(--ease-out); }
.ca__d span { font-family: var(--font-display); font-size: var(--fs-2xl); line-height: 1; }
.ca__d.we { background: rgba(184,155,94,0.07); }
.ca__d.has::after { content: ""; position: absolute; right: 10px; bottom: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(184,155,94,0.22); }
.ca__d.today { border-color: var(--gold-soft); box-shadow: inset 0 0 0 1px var(--gold-soft); }
.ca__d.sel { background: var(--gold); color: var(--ink); border-color: var(--gold); } .ca__d.sel.has::after { background: var(--ink); box-shadow: none; }
.ca__d:active { transform: scale(0.97); }
.ca__d.is-blank { background: none; border: 0; pointer-events: none; animation: none; }
@media (hover: hover) and (pointer: fine) { .ca__d:not(.is-blank):not(.sel):hover { border-color: var(--gold); transform: translateY(-2px); background: rgba(184,155,94,0.12); } }
@keyframes caIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.ca__rib { display: flex; flex-wrap: wrap; gap: var(--s-75); align-items: center; margin-top: var(--s-300); } .ca__rl { font: 700 var(--fs-xs)/1 var(--font-text); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-right: var(--s-100); }
.ca__d.ca__sp { aspect-ratio: auto; padding: var(--s-100) var(--s-200); animation: none; } .ca__d.ca__sp span { font-family: var(--font-text); font-size: var(--fs-sm); font-weight: 600; } .ca__d.ca__sp.has::after { right: 6px; bottom: auto; top: 6px; width: 7px; height: 7px; }
.ca__note { color: var(--muted); font-size: var(--fs-sm); margin: 0 0 var(--s-300); line-height: 1.6; }
.ca__dt { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-5xl); line-height: 1; color: var(--gold-soft); margin: 0 0 var(--s-75); } .ca__ds { color: var(--muted); font-size: var(--fs-sm); margin: 0 0 var(--s-300); line-height: 1.6; }
.ca__rows { display: grid; gap: var(--s-100); margin: 0 0 var(--s-300); } .ca__rows div { display: grid; grid-template-columns: 130px 1fr; gap: var(--s-200); font-size: var(--fs-sm); } .ca__rows dt { color: var(--gold); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 11px; padding-top: 3px; } .ca__rows dd { margin: 0; color: var(--parchment); }
.ca__ev { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-200); } .ca__ev li { font-size: var(--fs-sm); line-height: 1.6; color: var(--parchment); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s-100) var(--s-200); animation: caIn 320ms var(--ease-out) both; }
.ca__tag { display: block; font: 700 11px/1.3 var(--font-text); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 2px; }
.ca__none { color: var(--muted); font-size: var(--fs-sm); line-height: 1.6; margin: var(--s-200) 0 0; }
.ca__conv { display: flex; flex-wrap: wrap; gap: var(--s-200) var(--s-400); align-items: center; border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-200) var(--s-300); }
.ca__conv label { display: flex; align-items: center; gap: var(--s-200); font: 700 var(--fs-xs)/1 var(--font-text); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); } .ca__conv input { width: auto; color-scheme: dark; }
.ca__conv output { display: flex; flex-wrap: wrap; gap: var(--s-100) var(--s-400); font-size: var(--fs-sm); color: var(--parchment); } .ca__conv output b { color: var(--gold); letter-spacing: 0.1em; text-transform: uppercase; font-size: 11px; margin-right: var(--s-75); }
.ca__ring { position: relative; max-width: 560px; margin: 0 auto; } .ca__svg { width: 100%; height: auto; display: block; touch-action: manipulation; cursor: crosshair; }
.tk { stroke-width: 3.4; stroke-linecap: round; transition: opacity 250ms var(--ease-out); animation: tkIn 500ms var(--ease-out) both; animation-delay: var(--d, 0ms); } .tk.dim { opacity: 0.16; }
@keyframes tkIn { from { opacity: 0; } to { opacity: 1; } }
.tk-now { fill: var(--gold); stroke: var(--ink); stroke-width: 2; } .tk-sel { fill: none; stroke: var(--parchment); stroke-width: 2; transition: cx 120ms var(--ease-out), cy 120ms var(--ease-out); }
.ca__ctr { position: absolute; inset: 26%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; pointer-events: none; gap: 2px; }
.ca__cn { font-family: var(--font-display); font-size: var(--fs-6xl); line-height: 1; color: var(--parchment); } .ca__ctr small { color: var(--muted); font-size: var(--fs-sm); } .ca__ctr b { color: var(--gold); font-size: var(--fs-xs); letter-spacing: 0.2em; text-transform: uppercase; margin-top: var(--s-75); } .ca__ctr em { font-style: normal; color: var(--parchment); font-size: var(--fs-sm); }
.ca__leg { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-75); margin-top: var(--s-300); }
.ca__lg { display: grid; grid-template-columns: 14px 1fr; gap: 2px var(--s-100); text-align: left; background: transparent; border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s-100); color: var(--parchment); cursor: pointer; align-items: center; transition: border-color 180ms var(--ease-out), background-color 180ms var(--ease-out); }
.ca__lg i { width: 12px; height: 12px; border-radius: 50%; grid-row: span 2; } .ca__lg b { font-size: var(--fs-sm); } .ca__lg small { grid-column: 2; color: var(--muted); font-size: 11px; }
.ca__lg.on { border-color: var(--gold); background: rgba(184,155,94,0.12); }
@media (hover: hover) and (pointer: fine) { .ca__lg:hover { border-color: var(--gold); } }
@media (max-width: 980px) { .ca__body { grid-template-columns: 1fr; } .ca__side { position: static; } .ca__mn { font-size: var(--fs-5xl); } }
@media (max-width: 700px) { .ca__main, .ca__side { padding: var(--s-200); } .ca__pills { grid-template-columns: repeat(4, 1fr); } .ca__wd small { display: none; } .ca__d span { font-size: var(--fs-lg); } .ca__d { padding: var(--s-50) var(--s-75); } .ca__d.has::after { right: 5px; bottom: 5px; width: 7px; height: 7px; } .ca__tabs { gap: var(--s-300); } .ca__tab { font-size: var(--fs-3xl); } .ca__leg { grid-template-columns: repeat(2, 1fr); } .ca__rows div { grid-template-columns: 100px 1fr; } }

/* ================= linha do tempo horizontal ================= */
.tl.is-on { display: flex; flex-direction: column; gap: var(--s-200); }
.tl__top { display: flex; flex-wrap: wrap; gap: var(--s-200); justify-content: space-between; align-items: center; }
.tl__tabs, .tl__cats, .tl__tools { display: flex; flex-wrap: wrap; gap: var(--s-75); align-items: center; } .tl__tools { gap: var(--s-200); }
.tl__search { min-width: 240px; }
.tl__now { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-100) var(--s-300); }
.tl__nl { font: 700 var(--fs-xs)/1 var(--font-text); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.tl__nd { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-6xl); line-height: 1; color: var(--gold-soft); min-width: 3ch; } .tl__ng { color: var(--parchment); font-size: var(--fs-lg); } .tl__cnt { margin-left: auto; color: var(--muted); font-size: var(--fs-sm); }
.tl__frame { position: relative; }
.tl__rail { overflow-x: auto; overflow-y: hidden; height: clamp(480px, 66vh, 620px); position: relative; scrollbar-width: none; cursor: grab; border-block: 1px solid var(--line); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%); }
.tl__rail::-webkit-scrollbar { display: none; } .tl__rail.is-drag { cursor: grabbing; user-select: none; } .tl__rail:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.tl__track { position: relative; height: 100%; }
.tl__axis { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--gold); opacity: 0.75; pointer-events: none; }
.tl__era { position: absolute; top: 0; bottom: 0; width: 330px; display: flex; flex-direction: column; justify-content: center; gap: var(--s-75); padding: 0 var(--s-400) 0 var(--s-300); opacity: 0; transform: translateX(28px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); pointer-events: none; }
.tl__era.in { opacity: 1; transform: none; } .tl__era::before { content: ""; position: absolute; left: 0; top: 8%; bottom: 8%; width: 1px; background: var(--line-strong); }
.tl__era b { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-5xl); line-height: 1.02; color: var(--parchment); } .tl__era small { color: var(--gold); letter-spacing: 0.18em; text-transform: uppercase; font-size: var(--fs-xs); font-weight: 700; } .tl__ek { color: var(--muted); font-size: var(--fs-sm); }
.tl__it { position: absolute; top: 0; bottom: 0; width: 200px; opacity: 0; transition: opacity 500ms var(--ease-out); }
.tl__it.in { opacity: 1; } .tl__it.is-dim { opacity: 0.16; }
.tl__it::before { content: ""; position: absolute; left: 100px; width: 1px; height: 38px; background: var(--line-strong); }
.tl__it.up::before { bottom: 50%; } .tl__it.dn::before { top: 50%; }
.tl__dot { position: absolute; left: 100px; top: 50%; width: 13px; height: 13px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--ink); border: 2px solid var(--gold); transition: background-color 200ms var(--ease-out), transform 200ms var(--ease-out); z-index: 2; }
.tl__card { position: absolute; left: 100px; width: 300px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-200) var(--s-200) var(--s-200); cursor: pointer; transform: translate(-50%, var(--ty, 12px)); transition: border-color 200ms var(--ease-out), background-color 200ms var(--ease-out), transform 500ms var(--ease-out); }
.tl__it.up .tl__card { bottom: calc(50% + 38px); } .tl__it.dn .tl__card { top: calc(50% + 38px); --ty: -12px; } .tl__it.in .tl__card { transform: translate(-50%, 0); }
.tl__card time { display: block; font-family: var(--font-display); font-size: var(--fs-2xl); line-height: 1.15; color: var(--gold-soft); margin-bottom: var(--s-50); }
.tl__card p { margin: 0; font-size: var(--fs-sm); line-height: 1.55; color: var(--parchment); }
.tl__tag { display: inline-block; margin-top: var(--s-100); font: 700 11px/1 var(--font-text); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.tl__it.is-cur .tl__card { border-color: var(--gold); background: #1b1810; } .tl__it.is-cur .tl__dot { background: var(--gold); transform: scale(1.45); box-shadow: 0 0 0 6px rgba(184,155,94,0.22); }
@media (hover: hover) and (pointer: fine) { .tl__it:hover .tl__card { border-color: var(--gold-soft); } .tl__it:hover .tl__dot { background: var(--gold-soft); } }
.tl__arr { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(7,7,7,0.88); color: var(--gold-soft); font-size: 28px; line-height: 1; cursor: pointer; z-index: 5; transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out), opacity 200ms var(--ease-out); }
.tl__arr--l { left: 8px; } .tl__arr--r { right: 8px; } .tl__arr:disabled { opacity: 0.25; pointer-events: none; }
@media (hover: hover) and (pointer: fine) { .tl__arr:hover { background: var(--gold); color: var(--ink); } }
.tl__hint { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.tl__mini { position: relative; height: 46px; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; cursor: pointer; touch-action: none; background: var(--surface); }
.tl__seg { position: absolute; top: 0; bottom: 0; background: transparent; border: 0; border-right: 1px solid var(--line); color: var(--muted); font: 700 11px/1 var(--font-text); letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; display: grid; place-items: center; transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out); }
.tl__seg:nth-child(odd) { background: rgba(184,155,94,0.06); }
@media (hover: hover) and (pointer: fine) { .tl__seg:hover { color: var(--parchment); background: rgba(184,155,94,0.16); } }
.tl__thumb { position: absolute; top: 0; bottom: 0; border: 1.5px solid var(--gold); background: rgba(184,155,94,0.2); pointer-events: none; z-index: 2; min-width: 8px; }
@media (max-width: 700px) { .tl__arr { display: none; } .tl__rail { height: 520px; } .tl__nd { font-size: var(--fs-5xl); } .tl__card { width: 260px; } .tl__search { min-width: 100%; } .tl__era b { font-size: var(--fs-4xl); } }
@media (prefers-reduced-motion: reduce) {
  .ca__d, .tk, .ca__ev li, .mv__era, .mv__ov { animation: none; }
  .tl__it, .tl__era, .tl__card, .mv__card { transition-duration: 1ms; }
  .rt--seg { transition-duration: 1ms; } .mvk.is-sel .mvk__d, .wp.cur { animation: none; }
}
.ca__main, .ca__side, .ca__body > * { min-width: 0; }
@media (max-width: 980px) { .ca__body { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) { .ca__tabs { flex-wrap: wrap; } .ca__nav .chip { padding-inline: var(--s-100); } .ca__mn { font-size: var(--fs-4xl); } }

/* ================= biblioteca ================= */
.lib-s { display: block; font-size: var(--fs-sm); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.lib-g { margin-bottom: var(--s-700); }
.lib-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-100) var(--s-400); margin-bottom: var(--s-300); }
.lib-h h2 { margin: 0; } .lib-h p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.lib { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--s-200); }
.bk { display: flex; } .bk__a { flex: 1; display: flex; flex-direction: column; gap: var(--s-75); padding: var(--s-300); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--parchment); text-decoration: none; position: relative; min-height: 220px;
  transition: border-color 200ms var(--ease-out), transform 200ms var(--ease-out), background-color 200ms var(--ease-out); }
.bk__a:active { transform: scale(0.985); } .bk__a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.bk__n { font-family: var(--font-display); font-size: var(--fs-3xl); line-height: 1; color: var(--gold); opacity: 0.7; }
.bk__t { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-2xl); line-height: 1.15; }
.bk__au { font-size: var(--fs-sm); color: var(--muted); } .bk__f { font-size: var(--fs-xs); color: var(--muted); line-height: 1.5; }
.bk__go { margin-top: auto; padding-top: var(--s-200); display: flex; justify-content: space-between; align-items: center; gap: var(--s-100); border-top: 1px solid var(--line); font: 700 var(--fs-xs)/1 var(--font-text); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.bk__fmt { color: var(--muted); } .bk__dl { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .bk__a:hover { border-color: var(--gold); background: #17150c; transform: translateY(-3px); } .bk__a:hover .bk__dl { transform: translateX(3px); } }
.bib-cta__l { list-style: none; margin: var(--s-300) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--s-100); }
.bib-cta__l a { display: flex; justify-content: space-between; align-items: center; gap: var(--s-200); padding: var(--s-200) var(--s-300); border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--parchment); text-decoration: none; transition: border-color 200ms var(--ease-out), background-color 200ms var(--ease-out); }
.bib-cta__l a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.bib-cta__l em { font-style: normal; font-size: var(--fs-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .bib-cta__l a:hover { border-color: var(--gold); background: rgba(184,155,94,0.1); } }
@media (prefers-reduced-motion: reduce) { .bk__a, .bk__dl { transition-duration: 1ms; } }

.bk-all-w { margin: 0 0 var(--s-600); }
.bk-all { display: grid; grid-template-columns: 1fr auto; gap: var(--s-50) var(--s-300); align-items: center; padding: var(--s-300) var(--s-400); border: 1px solid var(--gold); border-radius: var(--r-lg); background: rgba(184,155,94,0.08); color: var(--parchment); text-decoration: none;
  transition: background-color 200ms var(--ease-out), transform 200ms var(--ease-out), border-color 200ms var(--ease-out); }
.bk-all__t { font-family: var(--font-display); font-size: var(--fs-3xl); line-height: 1.1; } .bk-all__s { grid-column: 1; font-size: var(--fs-sm); color: var(--muted); }
.bk-all__go { grid-column: 2; grid-row: 1 / span 2; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); font-size: 24px; transition: background-color 200ms var(--ease-out), color 200ms var(--ease-out); }
.bk-all:active { transform: scale(0.99); } .bk-all:focus-visible { outline: 2px solid var(--parchment); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .bk-all:hover { background: rgba(184,155,94,0.16); } .bk-all:hover .bk-all__go { background: var(--gold); color: var(--ink); } }
.lib-sec .bk-all-w:last-of-type { margin-top: var(--s-400); }

/* ===== Camada élfica e Línguas de Tolkien ===== */
@font-face { font-family: "Tengwar Annatar"; src: url("fonts/tengwar-annatar.woff") format("woff"); font-display: swap; }
.tng { font-family: "Tengwar Annatar", var(--font-display); font-weight: 400; font-style: normal; color: var(--gold-soft); line-height: 1.5; letter-spacing: 0.02em; }

.elf-strip { border-bottom: 1px solid var(--line); background: var(--surface); }
.elf-strip__in { max-width: 1200px; margin-inline: auto; padding: var(--s-200) var(--s-300); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--s-300); }
.elf-strip__tng { font-family: "Tengwar Annatar", var(--font-display); font-size: var(--fs-3xl); line-height: 1.4; color: var(--gold-soft); white-space: nowrap; max-width: 46vw; overflow: hidden; text-overflow: clip; }
.elf-strip__txt { display: grid; gap: var(--s-25); min-width: 0; }
.elf-strip__o { font-family: var(--font-display); font-size: var(--fs-xl); color: var(--parchment); }
.elf-strip__p { font-size: var(--fs-sm); color: var(--muted); }
.elf-strip__s { font-size: var(--fs-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.elf-strip__act { display: flex; flex-wrap: wrap; gap: var(--s-75); justify-content: flex-end; }
.elf-strip__b { font: 600 var(--fs-xs)/1 var(--font-text); letter-spacing: 0.06em; text-transform: uppercase; color: var(--parchment); text-decoration: none; padding: var(--s-75) var(--s-100); border: 1px solid var(--line-strong); border-radius: var(--r-md); background: transparent; cursor: pointer; transition: background-color 200ms var(--ease-out), color 200ms var(--ease-out), transform 160ms var(--ease-out); }
.elf-strip__b:active { transform: scale(0.97); }
.elf-strip__b:focus-visible { outline: 2px solid var(--parchment); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .elf-strip__b:hover { background: var(--gold); color: var(--ink); } }
@media (max-width: 860px) { .elf-strip__in { grid-template-columns: minmax(0, 1fr); gap: var(--s-100); } .elf-strip__tng { max-width: 100%; font-size: var(--fs-2xl); overflow-x: auto; } .elf-strip__act { justify-content: flex-start; } .elf-strip__s { display: none; } .elf-strip__in { padding: var(--s-100) var(--gutter); } }

.lg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: var(--s-300); list-style: none; margin: var(--s-400) 0 0; padding: 0; }
.lg-ph { display: grid; gap: var(--s-100); padding: var(--s-300); border: 1px solid var(--line); border-radius: var(--r-lg); background: rgba(19,18,9,0.7); }
.lg-ph__tng { font-family: "Tengwar Annatar", var(--font-display); font-size: var(--fs-3xl); line-height: 1.6; color: var(--gold-soft); overflow-wrap: anywhere; }
.lg-ph__o { font-family: var(--font-display); font-size: var(--fs-2xl); color: var(--parchment); line-height: 1.2; }
.lg-ph__p { color: var(--parchment); font-size: var(--fs-base); }
.lg-ph__s { color: var(--muted); font-size: var(--fs-sm); }
.lg-ph__l { font-size: var(--fs-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.lg-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-400); }
@media (max-width: 860px) { .lg-two { grid-template-columns: minmax(0, 1fr); } }
.lg-two .tbl { margin-top: var(--s-200); }
@media (max-width: 860px) { .elf-strip__b[href] { display: none; } }

/* ===== Páginas legais ===== */
.site-footer .foot-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-75) var(--s-300); margin: 0 0 var(--s-200); }
.site-footer .foot-legal a { font-size: var(--fs-sm); color: var(--muted); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; padding-block: var(--s-75); transition: color 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .site-footer .foot-legal a:hover { color: var(--gold); } }
.lgl { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: var(--s-700); align-items: start; }
.lgl__toc { position: sticky; top: calc(var(--top-h) + var(--s-400)); }
.lgl__toc ol { list-style: none; margin: var(--s-200) 0; padding: 0; display: grid; gap: var(--s-75); counter-reset: l; }
.lgl__toc li { counter-increment: l; }
.lgl__toc a { display: block; padding-block: var(--s-50); color: var(--muted); font-size: var(--fs-sm); transition: color 200ms var(--ease-out); }
.lgl__toc a::before { content: counter(l, decimal-leading-zero) "  "; color: var(--gold); font-size: var(--fs-xs); letter-spacing: 0.1em; }
@media (hover: hover) and (pointer: fine) { .lgl__toc a:hover { color: var(--parchment); } }
.lgl__d { color: var(--muted); font-size: var(--fs-xs); letter-spacing: 0.06em; }
.lgl__s { padding-bottom: var(--s-500); margin-bottom: var(--s-500); border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--top-h) + var(--s-400)); }
.lgl__s h2 { display: flex; align-items: baseline; gap: var(--s-200); font-family: var(--font-display); font-size: var(--fs-3xl); font-weight: 500; margin-bottom: var(--s-200); }
.lgl__s h2 span { font-family: var(--font-text); font-size: var(--fs-xs); letter-spacing: 0.14em; color: var(--gold); }
.lgl__s p { max-width: 680px; color: var(--muted); margin-bottom: var(--s-200); line-height: 1.75; }
.lgl__s p b { color: var(--parchment); font-weight: 600; }
.lgl__s a, .lgl__d a { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 3px; }
.lgl__o div { display: flex; flex-wrap: wrap; gap: var(--s-100); margin-top: var(--s-200); }
.lgl__o a { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: var(--s-100) var(--s-200); border: 1px solid var(--line-strong); border-radius: var(--r-md); color: var(--parchment); transition: background-color 200ms var(--ease-out), color 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .lgl__o a:hover { background: var(--gold); color: var(--ink); } }
@media (max-width: 860px) { .lgl { grid-template-columns: minmax(0, 1fr); gap: var(--s-400); } .lgl__toc { position: static; } }

/* ===== Veja também ===== */
.rel { padding-block: var(--s-700); border-top: 1px solid var(--line); }
.rel__l { list-style: none; margin: var(--s-300) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: var(--s-200); }
.rel__l a { position: relative; display: grid; gap: var(--s-75); height: 100%; padding: var(--s-300); padding-right: var(--s-600); border: 1px solid var(--line); border-radius: var(--r-lg); background: rgba(19,18,9,0.6); transition: border-color 200ms var(--ease-out), background-color 200ms var(--ease-out), transform 160ms var(--ease-out); }
.rel__l b { font-family: var(--font-display); font-size: var(--fs-2xl); font-weight: 500; color: var(--parchment); line-height: 1.15; }
.rel__l span { font-size: var(--fs-sm); color: var(--muted); line-height: 1.5; }
.rel__l i { position: absolute; right: var(--s-300); top: var(--s-300); font-style: normal; color: var(--gold); transition: transform 200ms var(--ease-out); }
.rel__l a:active { transform: scale(0.99); }
.rel__l a:focus-visible { outline: 2px solid var(--parchment); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .rel__l a:hover { border-color: var(--gold); background: rgba(184,155,94,0.08); } .rel__l a:hover i { transform: translateX(var(--s-75)); } }
@media (max-width: 420px) { .cal-strip__in { gap: var(--s-200); letter-spacing: 0.02em; font-size: 12px; } .cal-strip__v::before { margin-right: var(--s-75); } }
@media (max-width: 340px) { .cal-strip__in { gap: var(--s-100); font-size: 11px; padding-left: var(--s-200); padding-right: var(--s-200); } }
@media (max-width: 700px) {
  :root { --ev-h: 46px; }
  .cal-strip__evin { height: var(--ev-h); font-size: 12px; line-height: 1.3; }
  .cal-strip__evin .cal-strip__next, .cal-strip__evin.is-pan .cal-strip__next { display: block; white-space: normal; animation: none; transform: none; text-wrap: pretty; }
}

/* menu mobile com submenus */
.menu-panel .m-link { font-size: var(--fs-4xl); }
.m-acc__row { display: flex; align-items: stretch; border-bottom: 1px solid var(--line); }
.m-acc__row .m-link { flex: 1; border-bottom: 0 !important; }
.m-acc__btn { flex: 0 0 56px; display: grid; place-items: center; background: none; border: 0; border-left: 1px solid var(--line); color: var(--gold); cursor: pointer; }
.m-acc__btn i { width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform 300ms var(--ease-out); }
.m-acc.is-open .m-acc__btn i { transform: rotate(-135deg) translate(-2px, -2px); }
.m-acc__btn:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.m-acc__p { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 320ms var(--ease-out); }
.m-acc.is-open .m-acc__p { grid-template-rows: 1fr; }
.m-acc__pi { overflow: hidden; min-height: 0; }
.m-acc:not(.is-open) .m-acc__pi { visibility: hidden; }
.m-grp { padding: var(--s-200) 0 var(--s-100) var(--s-200); border-left: 1px solid var(--line); margin: var(--s-100) 0; }
.m-grp__t { display: block; margin-bottom: var(--s-75); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.menu-panel .m-grp a { font-family: var(--font-text); font-size: var(--fs-base); font-weight: 500; letter-spacing: 0.02em; text-transform: none; color: var(--parchment); border: 0; padding: var(--s-75) 0; opacity: 1; transform: none; transition-delay: 0ms !important; }
.menu-panel .m-grp a[aria-current="page"] { color: var(--gold); }
@media (prefers-reduced-motion: reduce) { .m-acc__p, .m-acc__btn i { transition: none; } }
@media (max-width: 980px) { body.menu-open .stb-social-floating { opacity: 0; pointer-events: none; } .menu-panel { padding-bottom: 140px; } }

/* faixa do calendário no mobile: 2 x 2 (nossa data, Condado / Valfenda, Gondor) */
@media (max-width: 700px) {
  :root { --strip-h: 56px; }
  .cal-strip__in { display: grid; grid-template-columns: 1fr 1fr; justify-content: stretch; align-content: center; column-gap: var(--s-300); row-gap: 6px; height: var(--strip-h); }
  .cal-strip__in .cal-strip__v { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 340px) { .cal-strip__in { column-gap: var(--s-200); } }
@media (max-width: 380px) { .cal-strip__in { font-size: 11px; letter-spacing: 0; column-gap: var(--s-100); } .cal-strip__v::before { margin-right: 6px; } }
