/* Kalangos Moto Clube — modern site styles */

:root {
  --bg: #0a0908;
  --bg-2: #131211;
  --bg-3: #1a1816;
  --fg: #f4f1ea;
  --fg-muted: #8a847b;
  --fg-dim: #5a544c;
  --accent: #c8281f;        /* KMC red — from the brasão */
  --accent-hot: #e83a30;
  --gold: #c8a04a;          /* warm gold from the brasão */
  --line: rgba(244, 241, 234, 0.08);
  --line-strong: rgba(244, 241, 234, 0.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100vw; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* Type system ----------------------------------------------------------- */
.display {
  font-family: 'Anton', 'Bebas Neue', sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 0.92;
  text-transform: uppercase;
}
.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-muted);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--accent);
}

/* Reusable layout ------------------------------------------------------- */
.wrap { max-width: 1400px; margin: 0 auto; padding: 0 48px; }
.section { padding: 140px 0; position: relative; }
.section--tight { padding: 96px 0; }

/* NAV ------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  padding-top: calc(22px + env(safe-area-inset-top, 0px));
  transition: background 0.3s ease, backdrop-filter 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 9, 8, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px 0;
  padding-top: calc(14px + env(safe-area-inset-top, 0px));
  border-bottom-color: var(--line);
}
/* Em mobile com painel aberto, desativa backdrop-filter da barra para evitar
   clipping do painel fixed em alguns browsers. */
.nav.nav--compact.nav--open,
.nav.nav--compact.nav--open.scrolled {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: rgba(10, 9, 8, 0.98);
}
/* Evita "salto" visual no mobile ao alternar scrolled/open:
   mantém altura da barra estável enquanto o menu compacto está ativo. */
.nav.nav--compact,
.nav.nav--compact.scrolled {
  padding: 14px 0;
  padding-top: calc(14px + env(safe-area-inset-top, 0px));
  transition: background 0.2s ease, border-color 0.2s ease;
}
.nav__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 32px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  font-family: 'Anton', sans-serif;
  font-size: 18px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav__brand img {
  height: 56px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

/* Desktop: menu children participate in the bar row (no wrapping). */
.nav__menu {
  display: contents;
}

.nav__links {
  display: flex;
  flex-wrap: nowrap;
  flex-shrink: 0;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  display: block;
  padding: 10px 18px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--fg);
  position: relative;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 18px; right: 18px; bottom: 4px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.7, 0, 0.3, 1);
}
.nav__links a:hover { color: var(--fg); }
.nav__links a:hover::after,
.nav__links a.active::after { transform: scaleX(1); }

.nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 10px;
  padding: 12px 22px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}
.nav__cta:hover { background: var(--accent-hot); transform: translateY(-1px); }

.nav__burger {
  display: none;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  margin: 0 -10px 0 0;
  padding: 10px;
  border-radius: 8px;
  color: var(--fg);
  transition: background 0.2s ease, color 0.2s ease;
}
.nav__burger:hover {
  background: rgba(244, 241, 234, 0.08);
}
.nav.nav--open .nav__burger {
  color: var(--accent);
}

/* Mobile / overflow: bar só com marca + hamburger; menu em painel
   Grid evita o CTA “herdar” altura livre do flex; só a lista rola. */
.nav.nav--compact .nav__menu {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: stretch;
  justify-items: stretch;
  gap: 0;
  position: fixed;
  left: 0;
  right: 0;
  top: var(--nav-h, 88px);
  bottom: auto;
  height: calc(100dvh - var(--nav-h, 88px));
  z-index: 101;
  padding: 12px 24px calc(16px + env(safe-area-inset-bottom, 0px));
  overflow: hidden;
  min-height: 0;
  background: rgba(10, 9, 8, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.nav.nav--compact.nav--open .nav__menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav.nav--compact .nav__links {
  grid-row: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0;
  align-items: stretch;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.nav.nav--compact .nav__links li {
  flex: 0 0 auto;
  border-bottom: 1px solid var(--line);
}
.nav.nav--compact .nav__links a {
  padding: 16px 8px;
  font-size: 14px;
}
.nav.nav--compact .nav__links a::after {
  left: 8px;
  right: 8px;
  bottom: 10px;
}
.nav.nav--compact .nav__cta {
  grid-row: 2;
  margin-top: 12px;
  padding: 12px 24px;
  justify-content: center;
  justify-self: center;
  width: max-content;
  max-width: min(100%, 360px);
  box-sizing: border-box;
  border-radius: 999px;
  /* Altura só pelo conteúdo — nunca estica no eixo vertical */
  height: auto;
  min-height: 0;
  align-self: center;
}
.nav.nav--compact .nav__burger {
  display: flex;
}

/* Fundo escuro atrás do painel (abaixo da barra fixa) */
.nav__backdrop {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--nav-h, 88px);
  bottom: 0;
  z-index: 100;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(0, 0, 0, 0.55);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.nav__backdrop.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.nav__burger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Compact mode também aplicado via media query — garante render correto
   antes do JS hidratar (evitava menu desktop aparecer no iOS Safari na home
   enquanto o loader/vídeo seguravam a thread). O JS continua adicionando
   .nav--compact para manter compatibilidade com .nav--open. */
@media (max-width: 1100px) {
  .nav .nav__menu {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    align-items: stretch;
    justify-items: stretch;
    gap: 0;
    position: fixed;
    left: 0;
    right: 0;
    top: var(--nav-h, 88px);
    bottom: auto;
    height: calc(100dvh - var(--nav-h, 88px));
    z-index: 101;
    padding: 12px 24px calc(16px + env(safe-area-inset-bottom, 0px));
    overflow: hidden;
    min-height: 0;
    background: rgba(10, 9, 8, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--line);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 0.25s ease,
      visibility 0.25s ease,
      transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .nav.nav--open .nav__menu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav .nav__links {
    grid-row: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    align-items: stretch;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .nav .nav__links li {
    flex: 0 0 auto;
    border-bottom: 1px solid var(--line);
  }
  .nav .nav__links a {
    padding: 16px 8px;
    font-size: 14px;
  }
  .nav .nav__links a::after {
    left: 8px;
    right: 8px;
    bottom: 10px;
  }
  .nav .nav__cta {
    grid-row: 2;
    margin-top: 12px;
    padding: 12px 24px;
    justify-content: center;
    justify-self: center;
    width: max-content;
    max-width: min(100%, 360px);
    box-sizing: border-box;
    border-radius: 999px;
    height: auto;
    min-height: 0;
    align-self: center;
  }
  .nav .nav__burger {
    display: flex;
  }
  .nav,
  .nav.scrolled {
    padding: 14px 0;
    padding-top: calc(14px + env(safe-area-inset-top, 0px));
    transition: background 0.2s ease, border-color 0.2s ease;
  }
  .nav.nav--open,
  .nav.nav--open.scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(10, 9, 8, 0.98);
  }
}

/* HERO ------------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 120px 0 120px;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: -60px 0 0 0;
  width: 100%;
  height: calc(100% + 60px);
  object-fit: cover;
  z-index: -2;
  will-change: transform;
  filter: grayscale(1) contrast(1.15) brightness(0.7);
  opacity: 0;
  transition: opacity 1s ease;
}
.hero.hero--video-ready .hero__bg {
  opacity: 1;
}
.hero__bg-fallback {
  position: absolute;
  inset: -60px 0 0 0;
  width: 100%;
  height: calc(100% + 60px);
  z-index: -3;
  overflow: hidden;
  pointer-events: none;
  opacity: 1;
  transition: opacity 1s ease;
}
.hero.hero--video-ready .hero__bg-fallback {
  opacity: 0;
}
.hero__bg-fallback picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hero__bg-fallback-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.15) brightness(0.7);
  will-change: transform;
}
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 30% 60%, rgba(200, 40, 31, 0.35) 0%, transparent 55%),
    linear-gradient(180deg, rgba(10, 9, 8, 0.5) 0%, rgba(10, 9, 8, 0.2) 35%, rgba(10, 9, 8, 0.95) 100%);
}
.hero__grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.18;
  pointer-events: none;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

.hero__content { width: 100%; position: relative; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 36px;
  margin-bottom: 32px;
  padding-bottom: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.hero__meta strong { color: var(--fg); font-weight: 500; }

.hero__title {
  font-size: clamp(64px, 9.5vw, 156px);
  line-height: 0.92;
  margin-bottom: 36px;
  max-width: 14ch;
}
.hero__title .accent { color: var(--accent); display: inline-block; }
.hero__title .word {
  display: inline-block;
  overflow: hidden;
  padding-top: 40px;
  margin-top: -40px;
}
.hero__title .word > span {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.hero__title .word:nth-child(1) > span { animation-delay: 0.1s; }
.hero__title .word:nth-child(2) > span { animation-delay: 0.22s; }
.hero__title .word:nth-child(3) > span { animation-delay: 0.34s; }

@keyframes rise {
  to { transform: translateY(0); }
}

.hero__sub {
  max-width: 560px;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(244, 241, 234, 0.78);
  margin-bottom: 44px;
  opacity: 0;
  animation: fade-up 0.8s 0.6s ease forwards;
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fade-up 0.8s 0.75s ease forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hot); transform: translateY(-2px); }
.btn--ghost { color: var(--fg); border: 1px solid var(--line-strong); }
.btn--ghost:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }

.btn .arrow {
  width: 16px; height: 16px;
  transition: transform 0.3s ease;
}
.btn:hover .arrow { transform: translateX(4px); }

/* Hero scroll cue */
.hero__scroll {
  position: absolute;
  right: 48px;
  bottom: 64px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--fg-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: fade-up 0.8s 1s ease forwards;
}
.hero__scroll-line {
  width: 1px; height: 56px;
  background: linear-gradient(180deg, var(--accent), transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -56px; left: 0;
  width: 100%; height: 56px;
  background: linear-gradient(180deg, transparent, var(--fg));
  animation: scroll-cue 2.4s ease-in-out infinite;
}
@keyframes scroll-cue {
  0%   { transform: translateY(0); }
  100% { transform: translateY(112px); }
}

/* Marquee --------------------------------------------------------------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  overflow: hidden;
  background: var(--bg-2);
}
.marquee__track {
  display: flex;
  gap: 64px;
  white-space: nowrap;
  animation: scroll-x 40s linear infinite;
  font-family: 'Anton', sans-serif;
  font-size: 32px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg);
}
.marquee__item { display: inline-flex; align-items: center; gap: 64px; }
.marquee__item .dot {
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}
.marquee__item .muted { color: var(--fg-dim); }
@keyframes scroll-x {
  to { transform: translateX(-50%); }
}

/* Stats ----------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.stat {
  padding: 64px 32px;
  border-right: 1px solid var(--line);
  position: relative;
}
.stat:last-child { border-right: 0; }
.stat__num {
  font-family: 'Anton', sans-serif;
  font-size: 88px;
  line-height: 0.9;
  margin-bottom: 12px;
  color: var(--fg);
}
.stat__num .plus { color: var(--accent); }
.stat__label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

/* About ----------------------------------------------------------------- */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: start;
}
.about__media {
  position: relative;
}
.about__media-frame {
  position: relative;
  z-index: 0;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 4px;
  background: #000;
}
.about__media-frame img {
  width: 100%; height: 100%;
  object-fit: contain;  filter: contrast(1.05);
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.about__media-frame:hover img { transform: scale(1.04); }
.about__media-frame--photo img {
  object-fit: cover;
  filter: contrast(1.05) saturate(1.05);
}

.about__carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.about__carousel--single img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(1.05);
}
.about__carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.about__carousel-slide.is-active {
  opacity: 1;
  z-index: 1;
}
.about__carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(1.05);
}
@media (prefers-reduced-motion: reduce) {
  .about__carousel-slide {
    transition: none !important;
  }
}

.about__media-tag {
  position: absolute;
  z-index: 2;
  bottom: -40px; right: -20px;
  background: var(--accent);
  color: #fff;
  padding: 24px 28px;
  font-family: 'Anton', sans-serif;
  font-size: 56px;
  letter-spacing: 0.04em;
  line-height: 1;
  border-radius: 4px;
  box-shadow: 0 24px 60px rgba(200, 40, 31, 0.3);
}
.about__media-tag small {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-weight: 400;
  opacity: 0.85;
}

.about__title {
  font-size: clamp(48px, 6vw, 84px);
  margin: 24px 0 32px;
  max-width: 14ch;
}
.about__lede {
  font-size: 19px;
  line-height: 1.55;
  margin-bottom: 24px;
  color: rgba(244, 241, 234, 0.92);
}
.about__copy {
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 16px;
}
.about__pillars {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.pillar {
  border-top: 1px solid var(--line-strong);
  padding-top: 20px;
}
.pillar__num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 14px;
}
.pillar__title {
  font-family: 'Anton', sans-serif;
  font-size: 22px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.pillar__copy { color: var(--fg-muted); font-size: 14px; line-height: 1.6; }

/* Activity cards -------------------------------------------------------- */
.activity {
  background: var(--bg-2);
  position: relative;
}
.activity__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 64px;
  gap: 32px;
}
.activity__title {
  font-size: clamp(48px, 6vw, 84px);
  max-width: 18ch;
}
.activity__intro {
  max-width: 380px;
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.7;
}
.activity__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.act-card {
  background: var(--bg-2);
  padding: 48px 36px 56px;
  position: relative;
  overflow: hidden;
  transition: background 0.4s ease;
  cursor: pointer;
}
.act-card::before {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 0;
  background: var(--accent);
  transition: height 0.4s cubic-bezier(0.7, 0, 0.3, 1);
  z-index: 0;
}
.act-card > * { position: relative; z-index: 1; }
.act-card:hover::before { height: 100%; }
.act-card:hover .act-card__num,
.act-card:hover .act-card__title,
.act-card:hover .act-card__copy,
.act-card:hover .act-card__meta { color: #fff; }
.act-card:hover .act-card__icon { background: rgba(255,255,255,0.16); border-color: transparent; }

.act-card__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 32px;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.act-card__icon svg { width: 22px; height: 22px; stroke: currentColor; }
.act-card__num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 16px;
  transition: color 0.3s ease;
}
.act-card__title {
  font-family: 'Anton', sans-serif;
  font-size: 32px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
  line-height: 1;
  transition: color 0.3s ease;
}
.act-card__copy {
  font-size: 14px;
  line-height: 1.7;
  color: var(--fg-muted);
  margin-bottom: 28px;
  transition: color 0.3s ease;
  min-height: 96px;
}
.act-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg);
  transition: color 0.3s ease;
}
.act-card__meta .arrow { transition: transform 0.3s ease; }
.act-card:hover .act-card__meta .arrow { transform: translateX(4px); }

.activity-birthday {
  margin-top: 28px;
  padding: 36px;
  background: linear-gradient(180deg, rgba(10, 9, 8, 0.85), rgba(10, 9, 8, 0.98));
  border: 1px solid var(--line);
}
.activity-birthday__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 24px;
}
.activity-birthday__title {
  font-size: clamp(28px, 4vw, 48px);
  margin-top: 10px;
  max-width: 14ch;
}
.activity-birthday__note {
  max-width: 420px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--fg-muted);
}
.activity-birthday__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.birthday-card {
  border: 1px solid var(--line);
  background: var(--bg-3);
  overflow: hidden;
}
.birthday-card__photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
}
.birthday-card__body {
  padding: 14px 14px 16px;
}
.birthday-card__day {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 8px;
}
.birthday-card__name {
  font-family: 'Anton', sans-serif;
  font-size: 20px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 6px;
}
.birthday-card__meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.activity-birthday__empty {
  color: var(--fg-muted);
  font-size: 14px;
}

/* Brasão (significance) ------------------------------------------------- */
.brasao {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: center;
}
.brasao__media {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brasao__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(200, 40, 31, 0.18), transparent 65%);
}
.brasao__ring {
  position: absolute;
  inset: 8%;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  animation: spin 60s linear infinite;
}
.brasao__ring::before, .brasao__ring::after {
  content: '';
  position: absolute;
  background: var(--accent);
}
.brasao__ring::before {
  top: -3px; left: 50%;
  width: 6px; height: 6px;
  transform: translateX(-50%);
  border-radius: 50%;
}
.brasao__ring::after {
  bottom: -3px; left: 50%;
  width: 6px; height: 6px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--gold);
}
@keyframes spin { to { transform: rotate(360deg); } }
.brasao__ring--inner {
  inset: 18%;
  animation: spin 80s linear infinite reverse;
  border-style: dashed;
  opacity: 0.6;
}
.brasao__media picture {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.brasao__img {
  position: relative;
  width: 60%;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 24px 60px rgba(200, 40, 31, 0.35));
  z-index: 1;
}
.brasao__legend {
  position: absolute;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.brasao__legend .swatch {
  width: 10px; height: 10px; border-radius: 50%;
}
.brasao__legend--1 { top: 12%; left: -8%; }
.brasao__legend--2 { top: 38%; right: -10%; }
.brasao__legend--3 { bottom: 32%; left: -10%; }
.brasao__legend--4 { bottom: 6%; right: -2%; }

.brasao__title { font-size: clamp(40px, 5vw, 72px); margin: 24px 0 24px; }

/* Events ---------------------------------------------------------------- */
.events {
  background: var(--bg);
}
.events__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  height: 720px;
}
.event {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  isolation: isolate;
}
.event:nth-child(1) { grid-row: span 2; }
.event__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: -2;
}
.event:hover .event__img { transform: scale(1.06); }
.event__veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,9,8,0.1) 0%, rgba(10,9,8,0.3) 50%, rgba(10,9,8,0.92) 100%);
  z-index: -1;
}
.event__body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px;
  transform: translateY(48px);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.event:hover .event__body { transform: translateY(0); }
.event__date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.event__title {
  font-family: 'Anton', sans-serif;
  font-size: 28px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 12px;
}
.event--lg .event__title { font-size: 44px; }
.event__copy {
  font-size: 13px;
  color: rgba(244, 241, 234, 0.7);
  line-height: 1.6;
  max-width: 40ch;
  opacity: 0;
  max-height: 0;
  transition: opacity 0.4s ease, max-height 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.event:hover .event__copy { opacity: 1; max-height: 100px; }

/* Family teaser (formerly members carousel) --------------------------- */
.family {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}
.family::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(244,241,234,0.012) 0 2px, transparent 2px 28px);
  pointer-events: none;
}
.family > .wrap { position: relative; }

.family__head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 72px;
}
.family__title {
  font-size: clamp(56px, 7vw, 104px);
  line-height: 0.92;
}
.family__title-em { color: var(--accent); }
.family__lede {
  font-family: 'Bitter', serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--fg-muted);
  max-width: 50ch;
  padding-bottom: 12px;
}

/* Stats row */
.family__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 80px;
}
.family-stat {
  padding: 36px 28px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.family-stat:last-child { border-right: 0; }
.family-stat__num {
  font-family: 'Anton', sans-serif;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.family-stat__label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 4px;
}
.family-stat__sub {
  font-family: 'Bitter', serif;
  font-size: 13px;
  color: var(--fg-dim);
  font-style: italic;
}

/* Mosaic */
.family__mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 280px 280px;
  gap: 16px;
  margin-bottom: 64px;
}
.fmem {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background-color: var(--bg-3);
  background-size: cover;
  background-position: center top;
  cursor: pointer;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-decoration: none;
  color: inherit;
  filter: grayscale(0.55) contrast(1.05);
}
.fmem:hover {
  transform: translateY(-4px);
  filter: grayscale(0) contrast(1);
}
.fmem--xl {
  grid-column: span 1;
  grid-row: span 1;
}
.fmem__veil {
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 9, 8, 0.18) 50%,
    rgba(200, 40, 31, 0.72) 100%
  );
  border: 1px solid #000;
  transition: background 0.4s ease;
}
.fmem:hover .fmem__veil {
  background: linear-gradient(
    180deg,
    rgba(10, 9, 8, 0.18) 50%,
    rgba(200, 40, 31, 0.78) 100%
  );
}
.fmem__tag {
  position: absolute;
  top: 16px; left: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  padding: 5px 10px;
  background: rgba(10,9,8,0.7);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
}
.fmem__tag--gold { color: #f1d27d; border-color: rgba(241,210,125,0.3); }
.fmem__tag--memorial { color: #c8a04a; border-color: rgba(200,160,74,0.3); }
.fmem__num {
  position: absolute;
  top: 16px; left: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--accent);
  background: rgba(10,9,8,0.7);
  backdrop-filter: blur(6px);
  padding: 5px 10px;
  border-radius: 999px;
}
.fmem__body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px;
}
.fmem--xl .fmem__body { padding: 20px; }
.fmem__name {
  font-family: 'Anton', sans-serif;
  font-size: 22px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--fg);
  margin-bottom: 4px;
}
.fmem--xl .fmem__name { font-size: 22px; }
.fmem__role {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.fmem--xl .fmem__role { font-size: 10px; }
.fmem--gold { filter: grayscale(0.2) contrast(1.05) sepia(0.15); }
.fmem--gold:hover { filter: grayscale(0) contrast(1) sepia(0.1); }
.fmem--memorial { filter: grayscale(0.95) contrast(1.1) brightness(0.85); }
.fmem--memorial:hover { filter: grayscale(0.7) contrast(1.05) brightness(0.9); }
.fmem--regionais {
  filter: grayscale(0.2) contrast(1.05) saturate(0.9);
}
.fmem--regionais:hover {
  filter: grayscale(0) contrast(1.02) saturate(1);
}

/* CTA */
.family__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 36px 48px;
  background: var(--fg);
  color: var(--bg);
  border-radius: 4px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease;
}
.family__cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateX(-101%);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.family__cta:hover::before { transform: translateX(0); }
.family__cta:hover { color: #fff; }
.family__cta-l, .family__cta-r {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.family__cta-r {
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
.family__cta-l .eyebrow { color: rgba(10,9,8,0.55); margin-bottom: 4px; }
.family__cta:hover .family__cta-l .eyebrow { color: rgba(255,255,255,0.7); }
.family__cta:hover .family__cta-l .eyebrow::before { background: rgba(255,255,255,0.6); }
.family__cta-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.1;
}
.family__cta-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.7;
}
.family__cta-arrow {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid currentColor;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s ease;
}
.family__cta:hover .family__cta-arrow { transform: translateX(8px); }
.family__cta-arrow svg { width: 18px; height: 18px; }

/* CTA / contact --------------------------------------------------------- */
.cta {
  position: relative;
  padding: 160px 0;
  overflow: hidden;
  isolation: isolate;
}
.cta__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url('assets/wall.webp') center / cover no-repeat;
  filter: brightness(0.4) contrast(1.1);
  transform: scale(1.05);
}
.cta__veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(200,40,31,0.3), transparent 60%),
    linear-gradient(180deg, rgba(10,9,8,0.75), rgba(10,9,8,0.9));
}
.cta__inner {
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}
.cta__title {
  font-size: clamp(56px, 9vw, 144px);
  line-height: 0.95;
  margin: 24px 0 56px;
}
.cta__title span { color: var(--accent); }
.cta__sub {
  font-size: 18px;
  color: rgba(244,241,234,0.78);
  margin-bottom: 48px;
  max-width: 56ch;
  margin-left: auto; margin-right: auto;
}
.cta__contacts {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Estatuto summary ------------------------------------------------------ */
.estatuto-home {
  position: relative;
  border-top: 1px solid rgba(244,241,234,0.08);
  border-bottom: 1px solid rgba(244,241,234,0.08);
  background:
    radial-gradient(ellipse at top left, rgba(200, 40, 31, 0.12), transparent 56%),
    radial-gradient(ellipse at bottom right, rgba(244,241,234,0.04), transparent 52%),
    var(--bg);
}
.estatuto-home::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(135deg, rgba(244,241,234,0.012) 0 2px, transparent 2px 28px);
}
.estatuto-home__wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: end;
}
.estatuto-home__title {
  font-size: clamp(54px, 7vw, 104px);
  line-height: 0.9;
}
.estatuto-home__title span { color: var(--accent); font-size: 0.88em; }
.estatuto-home__lede {
  margin-top: 26px;
  max-width: 58ch;
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.68;
}
.estatuto-home__cta {
  margin-top: 30px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg);
  transition: color 0.2s ease, transform 0.2s ease;
}
.estatuto-home__cta:hover { color: var(--accent); transform: translateX(2px); }
.estatuto-home__cta svg { width: 18px; height: 18px; }

.estatuto-home__highlights {
  padding: 30px 34px;
  border-left: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(244,241,234,0.02), rgba(244,241,234,0.01));
}
.estatuto-home__meta small {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.estatuto-home__meta strong {
  display: block;
  margin-top: 10px;
  font-family: 'Anton', sans-serif;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.05;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.estatuto-home__list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.estatuto-home__list li {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.estatuto-home__list h4 {
  font-family: 'Anton', sans-serif;
  font-size: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.estatuto-home__list p {
  color: var(--fg-muted);
  line-height: 1.6;
}

/* FOOTER ---------------------------------------------------------------- */
.footer {
  background: var(--bg);
  padding: 96px 0 32px;
  border-top: 1px solid var(--line);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 64px;
}
.footer__brand {
  display: flex; align-items: center; gap: 14px;
  font-family: 'Anton', sans-serif;
  font-size: 22px; letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: 24px;
}
.footer__brand img { height: 72px; }
.footer p, .footer li, .footer a { color: var(--fg-muted); font-size: 14px; line-height: 1.7; }
.footer h4 {
  font-family: 'Anton', sans-serif;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg);
  margin-bottom: 20px;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer__col a { transition: color 0.2s ease; }
.footer__col a:hover { color: var(--accent); }

.footer__socials { display: flex; gap: 12px; margin-top: 12px; }
.footer__socials a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.footer__socials a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.footer__socials svg { width: 16px; height: 16px; }

.footer__bottom {
  border-top: 1px solid var(--line);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

/* Timeline -------------------------------------------------------------- */
.timeline {
  background: var(--bg);
  position: relative;
}
.timeline__wrap {
  position: relative;
  margin-top: 64px;
  padding-left: 48px;
}
.timeline__wrap::before {
  content: '';
  position: absolute;
  left: 12px; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--line-strong) 8%, var(--line-strong) 92%, transparent);
}
.tl-item {
  position: relative;
  padding-bottom: 56px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 48px;
  align-items: start;
}
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: '';
  position: absolute;
  left: -42px; top: 8px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 4px rgba(200, 40, 31, 0.18);
}
.tl-item__year {
  font-family: 'Anton', sans-serif;
  font-size: 56px;
  line-height: 0.9;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.tl-item__title {
  font-family: 'Anton', sans-serif;
  font-size: 26px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
  line-height: 1.1;
}
.tl-item__copy {
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.7;
  max-width: 56ch;
}

/* Loader ---------------------------------------------------------------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loader.is-out { opacity: 0; visibility: hidden; }
.loader__inner {
  text-align: center;
  font-family: 'Anton', sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.loader__brand {
  font-size: 32px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
}
.loader__brand img { height: 72px; }
.loader__bar {
  width: 220px;
  height: 1px;
  background: var(--line-strong);
  position: relative;
  margin: 0 auto;
  overflow: hidden;
}
.loader__bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform-origin: left;
  animation: load-bar 1.4s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}
@keyframes load-bar {
  0%   { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}
.loader__tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--fg-muted);
  margin-top: 16px;
}

@media (max-width: 720px) {
  .tl-item { grid-template-columns: 1fr; gap: 8px; }
  .tl-item__year { font-size: 40px; }
}

/* Reveal animations ----------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.is-in { opacity: 1; transform: translateY(0); }
.reveal--delay-1 { transition-delay: 0.08s; }
.reveal--delay-2 { transition-delay: 0.16s; }
.reveal--delay-3 { transition-delay: 0.24s; }
.reveal--delay-4 { transition-delay: 0.32s; }

/* Section header pattern */
.sec-head {
  margin-bottom: 64px;
}
.sec-head__title {
  font-size: clamp(48px, 6vw, 84px);
  margin-top: 16px;
  max-width: 18ch;
}

/* Year / divider tag */
.divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 64px 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.divider::after {
  content: ''; flex: 1; height: 1px; background: var(--line-strong);
}

/* Selection */
::selection { background: var(--accent); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--bg-3); border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* Responsive ------------------------------------------------------------ */
@media (max-width: 960px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { border-bottom: 1px solid var(--line); }
  .stat:nth-child(2) { border-right: 0; }
  .about, .brasao { grid-template-columns: 1fr; gap: 48px; }
  .activity__head { flex-direction: column; align-items: start; }
  .family__head { grid-template-columns: 1fr; gap: 32px; margin-bottom: 48px; }
  .family__stats { grid-template-columns: repeat(2, 1fr); margin-bottom: 56px; }
  .family-stat { padding: 28px 20px; }
  .family-stat:nth-child(2) { border-right: 0; }
  .family-stat:nth-child(1), .family-stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .family__mosaic { grid-template-columns: repeat(2, 1fr); grid-template-rows: 240px 240px 240px 240px; }
  .fmem--xl { grid-column: span 1; grid-row: span 1; }
  .fmem--xl .fmem__name { font-size: 22px; }
  .family__cta { flex-direction: column; align-items: flex-start; padding: 28px; gap: 20px; }
  .family__cta-r { width: 100%; justify-content: space-between; }
  .activity__grid { grid-template-columns: 1fr; }
  .activity-birthday { padding: 24px; }
  .activity-birthday__head { flex-direction: column; align-items: start; margin-bottom: 20px; }
  .activity-birthday__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .events__grid { grid-template-columns: 1fr 1fr; height: auto; grid-template-rows: auto; }
  .event { aspect-ratio: 4/3; }
  .event:nth-child(1) { grid-column: span 2; grid-row: auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .section { padding: 96px 0; }
  .estatuto-home__wrap { grid-template-columns: 1fr; gap: 36px; }
  .estatuto-home__highlights { border-left: 0; border-top: 1px solid var(--line-strong); padding: 24px 0 0; background: transparent; }
  .hero__scroll { display: none; }
  .about__pillars { grid-template-columns: 1fr; }
  .stat__num { font-size: 64px; }
}

/* ============== INTERMEDIATE BREAKPOINT (tablets / small laptops) ============== */
@media (max-width: 1280px) and (min-width: 961px) {
  .wrap { padding: 0 36px; }
  .family__mosaic { grid-template-rows: 240px 240px; }
  .anthem__wrap { gap: 56px; grid-template-columns: 0.85fr 1.15fr; }
  .anthem__visual { max-width: 380px; }
  .anthem__title { font-size: clamp(56px, 7vw, 88px); }
  .nomades-teaser__wrap { gap: 56px; }
}

/* ============== DESKTOP POLISH (1440px+) ============== */
@media (min-width: 1440px) {
  .wrap { padding: 0 64px; }
  .family__mosaic { grid-template-rows: 300px 300px; }
  .anthem__wrap { gap: 96px; }
  .anthem__visual { max-width: 520px; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; }
  .events__grid { grid-template-columns: 1fr; }
  .event:nth-child(1) { grid-column: auto; }
  .footer__grid { grid-template-columns: 1fr; }
  .marquee__track { animation-duration: 24s; }

  /* Hero — tighter scale + safe button wrap */
  .hero { padding: 100px 0 80px; }
  .hero__title { font-size: clamp(46px, 12vw, 76px); line-height: 0.95; max-width: 100%; word-break: break-word; }
  .hero__meta { font-size: 10px; gap: 10px 24px; margin-bottom: 24px; }
  .hero__sub { font-size: 15px; margin-bottom: 32px; }
  .hero__ctas { flex-direction: column; align-items: stretch; gap: 12px; width: 100%; }
  .hero__ctas .btn { width: 100%; justify-content: center; padding: 16px 20px; font-size: 12px; letter-spacing: 0.14em; }

  /* Family teaser tighter */
  .family__title { font-size: clamp(44px, 11vw, 64px); }
  .family__lede { font-size: 16px; }
  .family-stat__num { font-size: clamp(40px, 11vw, 52px); }
  .family__mosaic { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(4, 220px); gap: 12px; }
  .fmem--xl { grid-column: span 1; }
  .family__cta-title { font-size: 24px; }
  .family__cta-r { flex-direction: column; align-items: flex-start; gap: 16px; }

  /* Anthem mobile polish */
  .anthem { padding: 80px 0; }
  .anthem__title { font-size: clamp(48px, 13vw, 72px); }
  .anthem__lede { font-size: 16px; }
  .anthem__visual { max-width: 320px; }
  .anthem__vinyl { right: -10%; }
  .anthem__embed iframe { height: 80px; }
  .anthem__meta-val { font-size: 15px; }
  .anthem__cta-primary, .anthem__cta-ghost { padding: 14px 22px; font-size: 11px; }

  /* Nômades teaser */
  .nomades-teaser__title { font-size: clamp(44px, 12vw, 68px); }
  .nomades-teaser__lede { font-size: 16px; }
  .nomades-teaser__cta { padding: 14px 22px; font-size: 11px; }
}

/* ============== NÔMADES ============== */
.nomades {
  position: relative;
  background: #1a1a1a;
  background-image:
    radial-gradient(ellipse at top, rgba(244,241,234,0.04) 0%, transparent 60%),
    linear-gradient(180deg, #18171a 0%, #0e0d0e 100%);
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.nomades__bg {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(135deg, rgba(244,241,234,0.015) 0 2px, transparent 2px 24px);
  pointer-events: none;
}
.nomades .wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  grid-template-rows: auto auto;
  gap: 80px 64px;
}
.nomades__intro { grid-column: 1; grid-row: 1; }
.nomades__crest { grid-column: 2; grid-row: 1 / span 2; align-self: start; position: relative; }
.nomades__grid { grid-column: 1; grid-row: 2; display: flex; flex-direction: column; gap: 56px; }

.eyebrow--light {
  color: #a09a90;
}
.eyebrow--light::before { background: #a09a90; }

.nomades__title {
  font-size: clamp(56px, 7vw, 104px);
  line-height: 0.92;
  margin: 24px 0 32px;
  letter-spacing: -0.02em;
  color: #f4f1ea;
}
.nomades__title-sub {
  color: #8a847b;
  font-size: 0.55em;
  display: inline-block;
  margin-top: 8px;
  letter-spacing: 0.01em;
}
.nomades__lede {
  font-size: 17px;
  line-height: 1.7;
  color: #b9b3a9;
  max-width: 56ch;
}

.nomades__crest-frame {
  position: relative;
  aspect-ratio: 524 / 330;
  background: #0a0908;
  border: 1px solid rgba(244,241,234,0.12);
  border-radius: 4px;
  overflow: hidden;
  padding: 32px;
  display: grid;
  place-items: center;
}
.nomades__crest-frame::before {
  content: '';
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(244,241,234,0.06);
  pointer-events: none;
}
.nomades__crest-frame img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: contrast(1.05) saturate(0.4);
}
.nomades__crest-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8a847b;
}
.nomades__crest-tag { color: #f4f1ea; }
.nomades__crest-legend {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 32px;
  padding: 24px;
  background: rgba(244,241,234,0.02);
  border: 1px solid var(--line);
  border-radius: 4px;
}
.nomades__legend-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.nomades__legend-item .swatch {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 4px;
  border: 1px solid rgba(244,241,234,0.15);
}
.nomades__legend-item strong {
  display: block;
  font-family: 'Anton', sans-serif;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f4f1ea;
  margin-bottom: 2px;
}
.nomades__legend-item span {
  font-size: 13px;
  color: #8a847b;
  letter-spacing: 0.02em;
}

/* Nômade card -- the single member */
.nomade-card {
  position: relative;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  padding: 24px;
  background: rgba(244,241,234,0.025);
  border: 1px solid var(--line);
  border-radius: 4px;
  align-items: end;
}
.nomade-card__img {
  width: 100%;
  aspect-ratio: 3/4;
  background-size: cover;
  background-position: center;
  filter: grayscale(0.85) contrast(1.05);
  border-radius: 2px;
}
.nomade-card__veil { display: none; }
.nomade-card__rank {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #d4cfc4;
  padding: 6px 12px;
  border: 1px solid rgba(244,241,234,0.18);
  background: rgba(0,0,0,0.5);
}
.nomade-card__body {
  padding-bottom: 12px;
}
.nomade-card__name {
  font-family: 'Anton', sans-serif;
  font-size: 56px;
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #f4f1ea;
  margin-bottom: 4px;
}
.nomade-card__alias {
  font-family: 'Bitter', serif;
  font-style: italic;
  font-size: 22px;
  color: #c8a04a;
  margin-bottom: 18px;
}
.nomade-card__years {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8a847b;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.nomades__criteria {
  padding: 40px;
  background: rgba(244,241,234,0.02);
  border: 1px solid var(--line);
  border-radius: 4px;
}
.nomades__criteria-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.nomades__criteria-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #c8a04a;
}
.nomades__criteria-title {
  font-family: 'Anton', sans-serif;
  font-size: 28px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #f4f1ea;
}
.nomades__criteria-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.nomades__criteria-list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.6;
  color: #b9b3a9;
}
.nomades__bullet {
  flex-shrink: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: #8a847b;
  padding-top: 3px;
}
.nomades__quote {
  margin-top: 32px;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
}
.nomades__quote p {
  font-family: 'Bitter', serif;
  font-style: italic;
  font-size: 17px;
  line-height: 1.5;
  color: #d4cfc4;
  margin-bottom: 12px;
}
.nomades__quote cite {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8a847b;
  font-style: normal;
}

@media (max-width: 960px) {
  .nomades .wrap {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .nomades__intro,
  .nomades__crest,
  .nomades__grid { grid-column: 1; grid-row: auto; }
  .nomade-card { grid-template-columns: 160px 1fr; gap: 20px; padding: 20px; }
  .nomade-card__name { font-size: 40px; }
  .nomades__criteria { padding: 28px; }
}
@media (max-width: 560px) {
  .nomade-card { grid-template-columns: 1fr; }
  .nomade-card__rank { position: static; align-self: flex-start; display: inline-block; margin-bottom: 12px; }
}

/* ============== NÔMADES TEASER (home) ============== */
.nomades-teaser {
  position: relative;
  background: #18171a;
  background-image:
    radial-gradient(ellipse at 80% 30%, rgba(244,241,234,0.04) 0%, transparent 55%),
    linear-gradient(180deg, #1a1a1c 0%, #0e0d0e 100%);
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.nomades-teaser__bg {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(244,241,234,0.015) 0 2px, transparent 2px 24px);
  pointer-events: none;
}
.nomades-teaser__wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: center;
}
.nomades-teaser__title {
  font-size: clamp(56px, 7vw, 104px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: #f4f1ea;
  margin: 24px 0 28px;
}
.nomades-teaser__title-sub {
  color: #8a847b;
  font-size: 0.55em;
  display: inline-block;
  margin-top: 8px;
}
.nomades-teaser__lede {
  font-family: 'Bitter', serif;
  font-size: 17px;
  line-height: 1.7;
  color: #b9b3a9;
  max-width: 56ch;
  margin-bottom: 40px;
}
.nomades-teaser__meta {
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(244,241,234,0.08);
  border-bottom: 1px solid rgba(244,241,234,0.08);
  margin-bottom: 40px;
}
.nomades-teaser__meta-item {
  flex: 1;
  padding: 24px 20px 24px 0;
  border-right: 1px solid rgba(244,241,234,0.08);
}
.nomades-teaser__meta-item:not(:first-child) { padding-left: 24px; }
.nomades-teaser__meta-item:last-child { border-right: 0; }
.nomades-teaser__meta-num {
  font-family: 'Anton', sans-serif;
  font-size: 44px;
  line-height: 1;
  color: #f4f1ea;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
}
.nomades-teaser__meta-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #c8a04a;
}

.nomades-teaser__cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 18px 28px;
  border: 1px solid rgba(244,241,234,0.18);
  background: rgba(244,241,234,0.03);
  color: #f4f1ea;
  text-decoration: none;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.nomades-teaser__cta:hover {
  background: #c8a04a;
  border-color: #c8a04a;
  color: #0a0908;
}
.nomades-teaser__cta svg { width: 18px; height: 18px; transition: transform 0.3s ease; }
.nomades-teaser__cta:hover svg { transform: translateX(6px); }

.nomades-teaser__crest {
  display: block;
  text-decoration: none;
  position: relative;
}
.nomades-teaser__crest-frame {
  position: relative;
  aspect-ratio: 524 / 360;
  background: #0a0908;
  border: 1px solid rgba(244,241,234,0.12);
  border-radius: 4px;
  overflow: hidden;
  padding: 40px;
  display: grid;
  place-items: center;
  transition: border-color 0.4s ease;
}
.nomades-teaser__crest-frame::before {
  content: '';
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(244,241,234,0.06);
  pointer-events: none;
  transition: border-color 0.4s ease;
}
.nomades-teaser__crest-frame img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  filter: contrast(1.05) saturate(0.4);
  transition: filter 0.5s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.nomades-teaser__crest:hover .nomades-teaser__crest-frame { border-color: rgba(200,160,74,0.4); }
.nomades-teaser__crest:hover .nomades-teaser__crest-frame::before { border-color: rgba(200,160,74,0.2); }
.nomades-teaser__crest:hover .nomades-teaser__crest-frame img { filter: contrast(1.1) saturate(0.6); transform: scale(1.03); }
.nomades-teaser__crest-tag {
  margin-top: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8a847b;
  text-align: center;
}

@media (max-width: 960px) {
  .nomades-teaser__wrap { grid-template-columns: 1fr; gap: 56px; }
  .nomades-teaser__meta { flex-wrap: wrap; }
  .nomades-teaser__meta-item { flex: 1 1 33%; padding: 20px 16px; }
  .nomades-teaser__meta-num { font-size: 36px; }
}
@media (max-width: 560px) {
  .nomades-teaser__meta-item { flex: 1 1 100%; border-right: 0; border-bottom: 1px solid rgba(244,241,234,0.08); }
  .nomades-teaser__meta-item:last-child { border-bottom: 0; }
}

/* ============== ANTHEM / SPOTIFY ============== */
.anthem {
  position: relative;
  background: #0a0908;
  background-image:
    radial-gradient(ellipse at 10% 20%, rgba(30, 215, 96, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 80%, rgba(200, 40, 31, 0.06) 0%, transparent 55%),
    linear-gradient(180deg, #0e0d0e 0%, #0a0908 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.anthem__bg {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(244,241,234,0.014) 0 2px, transparent 2px 28px);
  pointer-events: none;
}
.anthem__noise {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 50% 50%, transparent 30%, rgba(0,0,0,0.4) 100%);
  pointer-events: none;
}
.anthem__wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

/* Visual side */
.anthem__visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 480px;
}
.anthem__vinyl {
  position: absolute;
  top: 0; right: -8%;
  width: 92%; height: 100%;
  z-index: 1;
  animation: vinylSpin 24s linear infinite;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.7));
}
.anthem__vinyl-disc {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #1a1a1a 0%, #0a0a0a 50%, #050505 100%);
  position: relative;
  border: 1px solid rgba(244,241,234,0.06);
}
.anthem__vinyl-grooves {
  position: absolute; inset: 6%;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle at 50% 50%, rgba(244,241,234,0.04) 0 1px, transparent 1px 4px);
}
.anthem__vinyl-label {
  position: absolute;
  inset: 32%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #c8281f 0%, #8a1c16 70%, #5a1310 100%);
  border: 2px solid rgba(244,241,234,0.1);
}
.anthem__vinyl-label::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 12%; height: 12%;
  border-radius: 50%;
  background: #0a0908;
}
@keyframes vinylSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.anthem__cover {
  position: relative;
  display: block;
  width: 84%;
  aspect-ratio: 1;
  z-index: 2;
  text-decoration: none;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(244,241,234,0.08);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.anthem__cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 0.4s ease, transform 0.6s ease;
}
.anthem__cover:hover { transform: translateY(-4px) scale(1.01); }
.anthem__cover:hover img { filter: brightness(1.05); }
.anthem__cover-corners {
  position: absolute; inset: 12px;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 2px;
}
.anthem__cover-play {
  position: absolute;
  bottom: 24px; right: 24px;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #1ed760;
  color: #0a0908;
  display: grid; place-items: center;
  box-shadow: 0 12px 32px rgba(30,215,96,0.4);
  transition: transform 0.3s ease, background 0.3s ease;
}
.anthem__cover:hover .anthem__cover-play {
  transform: scale(1.1);
  background: #1fdf64;
}
.anthem__cover-play svg { width: 26px; height: 26px; margin-left: 3px; }

/* Body side */
.anthem__body { color: #f4f1ea; }
.anthem__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid rgba(30,215,96,0.4);
  border-radius: 999px;
  background: rgba(30,215,96,0.08);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #1ed760;
  margin-bottom: 28px;
}
.anthem__title {
  font-size: clamp(64px, 8vw, 124px);
  line-height: 0.9;
  letter-spacing: -0.025em;
  color: #f4f1ea;
  margin-bottom: 28px;
}
.anthem__title-em {
  font-style: italic;
  background: linear-gradient(135deg, #f4f1ea 0%, #c8281f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.anthem__lede {
  font-family: 'Bitter', serif;
  font-size: 17px;
  line-height: 1.65;
  color: #b9b3a9;
  max-width: 56ch;
  margin-bottom: 36px;
}
.anthem__meta {
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(244,241,234,0.08);
  border-bottom: 1px solid rgba(244,241,234,0.08);
  margin-bottom: 32px;
}
.anthem__meta-item {
  flex: 1;
  padding: 18px 20px 18px 0;
  border-right: 1px solid rgba(244,241,234,0.08);
  display: flex; flex-direction: column; gap: 4px;
}
.anthem__meta-item:not(:first-child) { padding-left: 20px; }
.anthem__meta-item:last-child { border-right: 0; }
.anthem__meta-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #1ed760;
}
.anthem__meta-val {
  font-family: 'Anton', sans-serif;
  font-size: 18px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #f4f1ea;
}
.anthem__embed {
  margin-bottom: 28px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}
.anthem__embed iframe { display: block; width: 100%; border: 0; }
.anthem__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.anthem__cta-primary,
.anthem__cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 26px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.anthem__cta-primary {
  background: #1ed760;
  color: #0a0908;
  box-shadow: 0 10px 30px rgba(30,215,96,0.3);
}
.anthem__cta-primary:hover {
  background: #1fdf64;
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(30,215,96,0.4);
}
.anthem__cta-primary .arrow { width: 14px; height: 14px; }
.anthem__cta-ghost {
  background: transparent;
  color: #b9b3a9;
  border: 1px solid rgba(244,241,234,0.18);
}
.anthem__cta-ghost:hover {
  background: rgba(244,241,234,0.04);
  color: #f4f1ea;
  border-color: rgba(244,241,234,0.3);
}
.anthem__cta-ghost .arrow { width: 14px; height: 14px; transition: transform 0.3s ease; }
.anthem__cta-ghost:hover .arrow { transform: translateX(4px); }

@media (max-width: 960px) {
  .anthem__wrap { grid-template-columns: 1fr; gap: 56px; }
  .anthem__visual { max-width: 380px; margin: 0 auto; }
  .anthem__title { font-size: clamp(56px, 12vw, 88px); }
  .anthem__meta { flex-wrap: wrap; }
  .anthem__meta-item { flex: 1 1 50%; padding: 14px 14px 14px 0; }
  .anthem__meta-item:nth-child(2) { border-right: 0; padding-right: 0; }
  .anthem__meta-item:nth-child(3) { padding-left: 0; padding-top: 14px; border-top: 1px solid rgba(244,241,234,0.08); flex: 1 1 100%; padding-right: 0; }
}
@media (max-width: 560px) {
  .anthem__cover-play { width: 52px; height: 52px; bottom: 16px; right: 16px; }
  .anthem__cover-play svg { width: 22px; height: 22px; }
  .anthem__ctas { flex-direction: column; }
  .anthem__cta-primary, .anthem__cta-ghost { width: 100%; justify-content: center; }
}


/* ========================================
 * Página: /integrantes
 * Migrado de legacy-html/integrantes.html (style inline)
 * ======================================== */

/* Hero */
.int-hero {
  padding: 180px 0 80px;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.int-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(244, 241, 234, 0.014) 0 2px,
    transparent 2px 24px
  );
  pointer-events: none;
}
.int-hero__inner {
  position: relative;
  max-width: 1100px;
}
.int-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 32px;
  transition: color 0.2s ease;
}
.int-hero__back:hover {
  color: var(--accent);
}
.int-hero__title {
  font-family: "Anton", sans-serif;
  font-size: clamp(56px, 8vw, 120px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--fg);
  margin-bottom: 28px;
}
.int-hero__title span {
  color: var(--accent);
}
.int-hero__lede {
  font-family: "Bitter", serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg-muted);
  max-width: 64ch;
}

/* Sticky tabs */
.int-tabs-wrap {
  position: sticky;
  top: 80px;
  z-index: 50;
  background: rgba(10, 9, 8, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.int-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.int-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-muted);
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}
.int-tabs a:hover {
  color: var(--fg);
}
.int-tabs a.active {
  color: var(--fg);
  border-color: var(--line-strong);
  background: rgba(244, 241, 234, 0.04);
}
.int-tabs__count {
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(244, 241, 234, 0.08);
  color: var(--fg-dim);
}
.int-tabs a.active .int-tabs__count {
  background: var(--accent);
  color: #fff;
}

/* Sections */
.int-section {
  padding: 96px 0 32px;
  scroll-margin-top: 160px;
}
.int-section + .int-section {
  padding-top: 80px;
  border-top: 1px solid var(--line);
}
.int-section__head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
  margin-bottom: 48px;
}
.int-section__title {
  font-family: "Anton", sans-serif;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--fg);
}
.int-section__title span {
  color: var(--accent);
}
.int-section__quote {
  font-family: "Bitter", serif;
  font-style: italic;
  font-size: 15px;
  line-height: 1.65;
  color: var(--fg-muted);
  max-width: 38ch;
  padding-left: 32px;
  border-left: 2px solid var(--accent);
}

/* Grid */
.int-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 36px 24px;
}
.int-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  transition: transform 0.3s ease;
}
.int-card:hover {
  transform: translateY(-4px);
}
.int-card__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line);
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.int-card:hover .int-card__photo {
  border-color: rgba(200, 40, 31, 0.5);
  box-shadow: 0 16px 40px rgba(200, 40, 31, 0.16);
}
.int-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.04) saturate(0.95);
  transition:
    transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.3s ease;
}
.int-card:hover .int-card__photo img {
  transform: scale(1.06);
  filter: contrast(1.08) saturate(1.05);
}
.int-card__photo--num::before {
  content: attr(data-num);
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: #fff;
  background: rgba(10, 9, 8, 0.7);
  backdrop-filter: blur(6px);
  padding: 4px 8px;
  border-radius: 999px;
  z-index: 2;
}
.int-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.int-card__name {
  font-family: "Anton", sans-serif;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg);
  line-height: 1.15;
}
.int-card__role {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.int-card__role--sub {
  margin-top: 6px;
  letter-spacing: 0.16em;
  color: var(--fg-muted);
}

/* Memorial accent */
.int-section--memorial {
  padding-top: 64px;
}
.int-section--memorial .int-card__photo {
  filter: grayscale(0.85);
}
.int-section--memorial .int-card__photo img {
  filter: contrast(1.1) brightness(0.95);
}
.int-section--memorial .int-card__role {
  color: var(--gold, #c8a04a);
}
.int-section--memorial .int-card__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 -60px 60px -30px rgba(10, 9, 8, 0.6);
  pointer-events: none;
}

/* Diretoria emphasis */
.int-section--diretoria .int-card__role {
  color: var(--accent);
  font-weight: 500;
}

/* Footer cta */
.int-foot {
  margin-top: 64px;
  padding: 48px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.int-foot__title {
  font-family: "Anton", sans-serif;
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.15;
}
.int-foot__sub {
  font-family: "Bitter", serif;
  font-size: 15px;
  color: var(--fg-muted);
  margin-top: 6px;
}

@media (max-width: 720px) {
  .int-hero {
    padding: 140px 0 56px;
  }
  .int-section__head {
    grid-template-columns: 1fr;
  }
  .int-section__quote {
    padding-left: 0;
    padding-top: 16px;
    border-left: 0;
    border-top: 2px solid var(--accent);
  }
  .int-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 28px 16px;
  }
  .int-card__name {
    font-size: 15px;
  }
  .int-card__role {
    font-size: 9px;
  }
  .int-tabs-wrap {
    top: 72px;
    padding: 12px 0;
  }
  .int-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .int-tabs a {
    white-space: nowrap;
    padding: 8px 14px;
    font-size: 10px;
  }
}


/* ========================================
 * Página: /nomades
 * Migrado de legacy-html/nomades.html (style inline)
 * Removidas regras globais (body, .nav) — escopo da página
 * ======================================== */

/* HERO */
.nom-hero {
  position: relative;
  padding: 220px 0 80px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.nom-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(244, 241, 234, 0.014) 0 2px,
    transparent 2px 24px
  );
  pointer-events: none;
}
.nom-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: end;
}
.nom-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.nom-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #c8a04a;
  margin-bottom: 24px;
}
.nom-hero__eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: #c8a04a;
}

.nom-hero__title {
  font-family: "Anton", sans-serif;
  font-size: clamp(72px, 10vw, 168px);
  line-height: 0.88;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: #f4f1ea;
  margin-bottom: 28px;
}
.nom-hero__title-sub {
  display: block;
  font-size: 0.42em;
  color: #8a847b;
  letter-spacing: 0.01em;
  margin-top: 12px;
  line-height: 1;
}
.nom-hero__lede {
  font-family: "Bitter", serif;
  font-size: 18px;
  line-height: 1.65;
  color: #b9b3a9;
  max-width: 56ch;
}

.nom-hero__crest {
  position: relative;
  aspect-ratio: 524 / 360;
  background: #0a0908;
  border: 1px solid rgba(244, 241, 234, 0.12);
  border-radius: 4px;
  overflow: hidden;
  padding: 40px;
  display: grid;
  place-items: center;
}
.nom-hero__crest::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(244, 241, 234, 0.06);
  pointer-events: none;
}
.nom-hero__crest img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: contrast(1.05) saturate(0.4);
}
.nom-hero__crest-corners {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  bottom: 16px;
  pointer-events: none;
}
.nom-hero__crest-corners::before,
.nom-hero__crest-corners::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  border: 1px solid #c8a04a;
}
.nom-hero__crest-corners::before {
  top: -1px;
  left: -1px;
  border-right: 0;
  border-bottom: 0;
}
.nom-hero__crest-corners::after {
  bottom: -1px;
  right: -1px;
  border-left: 0;
  border-top: 0;
}

/* META BAR */
.nom-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(244, 241, 234, 0.08);
  border-bottom: 1px solid rgba(244, 241, 234, 0.08);
  background: rgba(244, 241, 234, 0.015);
}
.nom-meta__item {
  padding: 32px 28px;
  border-right: 1px solid rgba(244, 241, 234, 0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.nom-meta__item:last-child {
  border-right: 0;
}
.nom-meta__num {
  font-family: "Anton", sans-serif;
  font-size: clamp(40px, 4vw, 56px);
  line-height: 1;
  color: #f4f1ea;
  letter-spacing: 0.01em;
}
.nom-meta__label {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #c8a04a;
}
.nom-meta__sub {
  font-family: "Bitter", serif;
  font-style: italic;
  font-size: 13px;
  color: #8a847b;
}

/* DECREE / CRITERIA */
.nom-decree {
  padding: 120px 0;
  border-bottom: 1px solid var(--line);
}
.nom-decree__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.nom-decree__head .eyebrow {
  color: #c8a04a;
}
.nom-decree__head .eyebrow::before {
  background: #c8a04a;
}
.nom-decree__title {
  font-family: "Anton", sans-serif;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #f4f1ea;
  margin: 24px 0 32px;
}
.nom-decree__title em {
  color: #c8a04a;
  font-style: normal;
}
.nom-decree__legend {
  display: grid;
  gap: 18px;
  padding: 28px;
  background: rgba(244, 241, 234, 0.025);
  border: 1px solid rgba(244, 241, 234, 0.1);
  border-radius: 4px;
  margin-top: 32px;
}
.nom-decree__legend-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8a847b;
  margin-bottom: 8px;
}
.nom-decree__legend-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.nom-decree__legend-item .swatch {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 4px;
  border: 1px solid rgba(244, 241, 234, 0.2);
}
.nom-decree__legend-item strong {
  display: block;
  font-family: "Anton", sans-serif;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f4f1ea;
  margin-bottom: 2px;
}
.nom-decree__legend-item span {
  font-family: "Bitter", serif;
  font-size: 14px;
  color: #b9b3a9;
  line-height: 1.5;
}

.nom-criteria {
  padding: 48px;
  background: rgba(244, 241, 234, 0.025);
  border: 1px solid rgba(244, 241, 234, 0.1);
  border-radius: 4px;
  position: relative;
}
.nom-criteria__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(244, 241, 234, 0.1);
}
.nom-criteria__num {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #c8a04a;
}
.nom-criteria__title {
  font-family: "Anton", sans-serif;
  font-size: 32px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #f4f1ea;
  flex: 1;
}
.nom-criteria__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 20px;
}
.nom-criteria__list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid rgba(244, 241, 234, 0.06);
}
.nom-criteria__list li:last-child {
  border-bottom: 0;
}
.nom-criteria__bullet {
  font-family: "Anton", sans-serif;
  font-size: 28px;
  line-height: 1;
  color: #c8a04a;
  letter-spacing: 0.02em;
  padding-top: 4px;
}
.nom-criteria__list p {
  font-family: "Bitter", serif;
  font-size: 16px;
  line-height: 1.55;
  color: #d4cfc4;
  margin: 0;
}
.nom-criteria__list small {
  display: block;
  margin-top: 6px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8a847b;
}
.nom-criteria__quote {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(244, 241, 234, 0.1);
}
.nom-criteria__quote p {
  font-family: "Bitter", serif;
  font-style: italic;
  font-size: 17px;
  line-height: 1.55;
  color: #d4cfc4;
  margin-bottom: 14px;
}
.nom-criteria__quote cite {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8a847b;
  font-style: normal;
}

/* MEMBERS */
.nom-members {
  padding: 120px 0;
  border-bottom: 1px solid var(--line);
}
.nom-members__head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
  margin-bottom: 64px;
}
.nom-members__title {
  font-family: "Anton", sans-serif;
  font-size: clamp(48px, 6vw, 84px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #f4f1ea;
}
.nom-members__title em {
  color: #c8a04a;
  font-style: normal;
}
.nom-members__count {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #c8a04a;
  padding: 8px 14px;
  border: 1px solid rgba(200, 160, 74, 0.4);
  border-radius: 999px;
}
.nom-members__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.nom-member {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  padding: 32px;
  background: rgba(244, 241, 234, 0.025);
  border: 1px solid rgba(244, 241, 234, 0.1);
  border-radius: 4px;
  position: relative;
  align-items: end;
  transition:
    border-color 0.4s ease,
    transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.nom-member:hover {
  border-color: rgba(200, 160, 74, 0.4);
  transform: translateY(-4px);
}
.nom-member__photo {
  width: 100%;
  aspect-ratio: 3/4;
  background-size: cover;
  background-position: center top;
  filter: grayscale(0.85) contrast(1.05);
  border-radius: 2px;
  transition: filter 0.6s ease;
}
.nom-member:hover .nom-member__photo {
  filter: grayscale(0.2) contrast(1.05);
}
.nom-member__rank {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #c8a04a;
  padding: 6px 14px;
  border: 1px solid rgba(200, 160, 74, 0.3);
  background: rgba(0, 0, 0, 0.5);
  border-radius: 999px;
}
.nom-member__body {
  padding-bottom: 12px;
}
.nom-member__name {
  font-family: "Anton", sans-serif;
  font-size: clamp(40px, 4vw, 56px);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #f4f1ea;
  margin-bottom: 6px;
}
.nom-member__alias {
  font-family: "Bitter", serif;
  font-style: italic;
  font-size: 22px;
  color: #c8a04a;
  margin-bottom: 22px;
}
.nom-member__bio {
  font-family: "Bitter", serif;
  font-size: 14px;
  line-height: 1.6;
  color: #b9b3a9;
  margin: 0 0 20px;
}
.nom-member__years {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8a847b;
  padding-top: 16px;
  border-top: 1px solid rgba(244, 241, 234, 0.08);
}
.nom-member__years strong {
  color: #f4f1ea;
}

/* CTA */
.nom-cta {
  padding: 96px 0 120px;
}
.nom-cta__inner {
  padding: 48px;
  background: rgba(244, 241, 234, 0.025);
  border: 1px solid rgba(244, 241, 234, 0.1);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.nom-cta__title {
  font-family: "Anton", sans-serif;
  font-size: 32px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: #f4f1ea;
}
.nom-cta__sub {
  font-family: "Bitter", serif;
  color: #8a847b;
  font-size: 14px;
  margin-top: 6px;
}

@media (max-width: 960px) {
  .nom-hero__inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .nom-decree__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .nom-meta {
    grid-template-columns: repeat(2, 1fr);
  }
  .nom-meta__item:nth-child(2) {
    border-right: 0;
  }
  .nom-meta__item:nth-child(1),
  .nom-meta__item:nth-child(2) {
    border-bottom: 1px solid rgba(244, 241, 234, 0.08);
  }
  .nom-members__grid {
    grid-template-columns: 1fr;
  }
  .nom-member {
    grid-template-columns: 200px 1fr;
    gap: 24px;
    padding: 24px;
  }
  .nom-criteria {
    padding: 32px;
  }
}
@media (max-width: 560px) {
  .nom-hero {
    padding: 160px 0 56px;
  }
  .nom-member {
    grid-template-columns: 1fr;
  }
  .nom-member__rank {
    position: static;
    align-self: flex-start;
    display: inline-block;
    margin-bottom: 16px;
  }
  .nom-meta {
    grid-template-columns: 1fr;
  }
  .nom-meta__item {
    border-right: 0;
    border-bottom: 1px solid rgba(244, 241, 234, 0.08);
  }
  .nom-meta__item:last-child {
    border-bottom: 0;
  }
  .nom-criteria__head {
    flex-direction: column;
    align-items: flex-start;
  }
  .nom-criteria__title {
    font-size: 26px;
  }
}


/* ========================================
 * Página: /estatuto
 * Migrado de legacy-html/estatuto.html (style inline)
 * ======================================== */

/* Estatuto-specific */
.est-hero {
  padding: 180px 0 80px;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.est-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(244, 241, 234, 0.015) 0 2px,
    transparent 2px 24px
  );
  pointer-events: none;
}
.est-hero__inner {
  position: relative;
  max-width: 900px;
}
.est-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 32px;
  transition: color 0.2s ease;
}
.est-hero__back:hover {
  color: var(--accent);
}
.est-hero__title {
  font-family: "Anton", sans-serif;
  font-size: clamp(56px, 8vw, 112px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--fg);
  margin-bottom: 28px;
}
.est-hero__title span {
  color: var(--accent);
}
.est-hero__meta {
  font-family: "Bitter", serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg-muted);
  max-width: 60ch;
  margin-bottom: 32px;
}
.est-hero__regs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 18px 24px;
  border: 1px solid var(--line-strong, rgba(244, 241, 234, 0.12));
  border-radius: 4px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.est-hero__regs strong {
  color: var(--fg);
  font-weight: 500;
}

/* Body */
.est-body {
  padding: 80px 0 120px;
}
.est-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: start;
}

/* Sticky TOC */
.est-toc {
  position: sticky;
  top: 120px;
  padding-right: 24px;
  border-right: 1px solid var(--line);
}
.est-toc__head {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.est-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: cap;
}
.est-toc li {
  margin-bottom: 6px;
}
.est-toc a {
  display: flex;
  gap: 14px;
  padding: 10px 0;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  line-height: 1.4;
  color: var(--fg-muted);
  text-decoration: none;
  border-left: 2px solid transparent;
  padding-left: 14px;
  margin-left: -16px;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}
.est-toc a:hover {
  color: var(--fg);
  border-left-color: var(--accent);
}
.est-toc a.active {
  color: var(--fg);
  border-left-color: var(--accent);
}
.est-toc__num {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--accent);
  flex-shrink: 0;
  padding-top: 1px;
}

/* Chapters */
.est-chapters {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.est-chapter {
  border: 1px solid var(--line);
  background: var(--bg-2);
  border-radius: 4px;
  overflow: hidden;
  scroll-margin-top: 100px;
}
.est-chapter[open] {
  border-color: rgba(200, 40, 31, 0.32);
}
.est-chapter > summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 28px 32px;
  transition: background 0.2s ease;
}
.est-chapter > summary::-webkit-details-marker {
  display: none;
}
.est-chapter > summary:hover {
  background: rgba(244, 241, 234, 0.02);
}
.est-chapter__num {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--accent);
  padding-top: 4px;
}
.est-chapter__title {
  font-family: "Anton", sans-serif;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--fg);
}
.est-chapter__icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition:
    transform 0.3s ease,
    background 0.2s ease,
    border-color 0.2s ease;
  flex-shrink: 0;
}
.est-chapter[open] .est-chapter__icon {
  transform: rotate(45deg);
  background: var(--accent);
  border-color: var(--accent);
}
.est-chapter__icon svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  transition: stroke 0.2s;
}
.est-chapter[open] .est-chapter__icon svg {
  stroke: #fff;
}

.est-chapter__body {
  padding: 8px 32px 40px;
  border-top: 1px solid var(--line);
  margin-top: 4px;
}
.est-chapter__body h4 {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 32px 0 14px;
}
.est-chapter__body h4:first-child {
  margin-top: 24px;
}
.est-chapter__body p {
  font-family: "Bitter", serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--fg-muted);
  margin-bottom: 14px;
}
.est-chapter__body p strong,
.est-chapter__body p b {
  color: var(--fg);
}
.est-chapter__body em,
.est-chapter__body i {
  color: var(--fg);
  font-style: italic;
}
.est-chapter__body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.est-chapter__body ul li {
  position: relative;
  padding-left: 22px;
  font-family: "Bitter", serif;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--fg-muted);
}
.est-chapter__body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 12px;
  height: 1px;
  background: var(--accent);
}

/* Footer pre-cta */
.est-foot {
  margin-top: 56px;
  padding: 32px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.est-foot__text {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.est-foot__text strong {
  color: var(--fg);
}

/* TOC controls */
.est-controls {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}
.est-controls button {
  flex: 1;
  padding: 10px 14px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.est-controls button:hover {
  color: var(--fg);
  border-color: rgba(244, 241, 234, 0.18);
}

@media (max-width: 960px) {
  .est-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .est-toc {
    position: static;
    padding-right: 0;
    border-right: 0;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
  }
  .est-hero {
    padding: 140px 0 64px;
  }
  .est-chapter > summary {
    padding: 22px 24px;
    gap: 12px 16px;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "num icon"
      "title icon";
    align-items: start;
  }
  .est-chapter__num {
    grid-area: num;
    white-space: nowrap;
    padding-top: 0;
    font-size: 11px;
  }
  .est-chapter__title {
    grid-area: title;
  }
  .est-chapter__icon {
    grid-area: icon;
    align-self: center;
  }
  .est-chapter__body {
    padding: 8px 24px 32px;
  }
  .est-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
