/* ==========================================================================
   POLÊMICOS MOTO CLUBE — seções
   Header, hero, ticker, clube, membros, agenda, galeria, contato,
   footer, modais e responsivo
   ========================================================================== */

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  transition: background .35s var(--ease), backdrop-filter .35s var(--ease),
              border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}

.header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 10, 9, .82), rgba(10, 10, 9, 0));
  transition: opacity .35s var(--ease);
}

.header.is-scrolled {
  background: rgba(10, 10, 9, .9);
  backdrop-filter: blur(18px) saturate(120%);
  border-bottom-color: var(--line);
}
.header.is-scrolled::before { opacity: 0; }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 88px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__crest {
  width: 38px;
  height: auto;
  flex: 0 0 auto;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, .55));
}

.brand__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }

.brand__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.42rem;
  line-height: .9;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text);
}

.brand__tag {
  font-size: .52rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.9vw, 30px);
}

.nav > a:not(.btn) {
  position: relative;
  padding: 7px 0;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #cfcec3;
  transition: color .25s;
}

.nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}

.nav > a:not(.btn):hover,
.nav > a:not(.btn).is-active { color: var(--text); }
.nav > a:not(.btn):hover::after,
.nav > a:not(.btn).is-active::after { transform: scaleX(1); }

.nav__cta { margin-left: 6px; }

.burger {
  display: none;
  position: relative;
  z-index: 95;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(10, 10, 9, .35);
  cursor: pointer;
}

.burger span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1px;
  background: var(--text);
  transition: transform .3s var(--ease), opacity .2s;
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 26px; }

.burger.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  background: var(--ink);
  isolation: isolate;
}

.hero__media {
  position: relative;
  aspect-ratio: 1983 / 793;
  max-height: calc(100svh - 88px);
  overflow: hidden;
}

.hero__media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(10, 10, 9, .62) 0%,
      rgba(10, 10, 9, .04) 26%,
      rgba(10, 10, 9, .06) 52%,
      rgba(10, 10, 9, .6) 86%,
      rgba(10, 10, 9, .9) 100%),
    linear-gradient(90deg, rgba(10, 10, 9, .5), rgba(10, 10, 9, 0) 58%);
}

.hero__panel {
  --pad: clamp(30px, 3.8vw, 54px);
  position: relative;
  z-index: 2;
  margin-top: -30px;
  padding: calc(var(--pad) + 26px) 0 var(--pad);
  background:
    linear-gradient(180deg,
      rgba(10, 10, 9, 0) 0,
      rgba(10, 10, 9, .42) 10px,
      rgba(10, 10, 9, .82) 20px,
      rgba(10, 10, 9, .96) 28px,
      var(--ink) 36px),
    radial-gradient(120% 170% at 84% -20%, rgba(41, 46, 152, .2), transparent 62%);
}

.hero__copy {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
  grid-template-areas:
    "kicker kicker"
    "titulo aside"
    "meta meta";
  column-gap: clamp(30px, 5vw, 90px);
  row-gap: clamp(16px, 2vw, 24px);
  align-items: end;
}

.hero__copy > .kicker { grid-area: kicker; justify-self: start; }

.hero h1 {
  grid-area: titulo;
  margin: 0;
  font-size: clamp(2.6rem, 5.7vw, 5.4rem);
  line-height: .84;
  letter-spacing: -.02em;
}

.hero h1 em { display: block; color: var(--yellow); }

.hero__aside {
  grid-area: aside;
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2.2vw, 26px);
}

.hero__lead {
  max-width: 40ch;
  margin: 0;
  color: #c8c7bc;
  font-size: clamp(.93rem, 1.05vw, 1.04rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero__meta {
  grid-area: meta;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.hero__meta span { display: inline-flex; align-items: center; gap: 10px; }
.hero__meta span + span::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--gold);
  transform: rotate(45deg);
}

/* ==========================================================================
   TICKER
   ========================================================================== */
.ticker {
  position: relative;
  z-index: 3;
  overflow: hidden;
  padding: 15px 0;
  background: var(--yellow);
  color: #12120f;
  border-top: 1px solid rgba(0, 0, 0, .12);
  border-bottom: 1px solid rgba(0, 0, 0, .12);
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 32s linear infinite;
}

.ticker__track span {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker__track span::after { content: "✦"; font-size: .8em; opacity: .6; }

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   O CLUBE
   ========================================================================== */
.about {
  background:
    radial-gradient(90% 70% at 82% 12%, rgba(41, 46, 152, .16), transparent 62%),
    var(--ink);
  overflow: hidden;
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: clamp(40px, 6vw, 92px);
  align-items: start;
}

.about__main h2 { margin: 22px 0 26px; }
.about__main p { color: var(--muted); max-width: 56ch; }

.values {
  margin: 36px 0 0;
  border-top: 1px solid var(--line);
}

.values li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
  transition: padding-left .3s var(--ease), background .3s;
}

.values li:hover {
  padding-left: 14px;
  background: linear-gradient(90deg, rgba(197, 163, 74, .06), transparent);
}

.values__num {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--gold);
}

.values__body strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  line-height: 1;
}

.values__body small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: .78rem;
}

.about__quote {
  margin-top: 40px;
  padding-left: 22px;
  border-left: 2px solid var(--gold);
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.02;
  text-transform: uppercase;
  color: var(--text);
}

.about__aside {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.crest-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  padding: clamp(10px, 2vw, 26px);
}

.crest-stage::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 163, 74, .26), rgba(41, 46, 152, .12) 55%, transparent 72%);
  filter: blur(18px);
}

.crest-stage::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(197, 163, 74, .18);
  border-radius: 50%;
}

.crest-stage img {
  position: relative;
  z-index: 1;
  width: min(100%, 400px);
  filter: drop-shadow(0 30px 46px rgba(0, 0, 0, .62));
}

.about__aside figcaption {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-2);
  text-align: center;
}

.about__aside figcaption::before,
.about__aside figcaption::after {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--line-gold);
}

/* ==========================================================================
   MEMBROS (seção clara)
   ========================================================================== */
.members {
  background: var(--paper);
  color: #14140f;
  overflow: hidden;
}

.members::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(20, 20, 15, .16) .5px, transparent .5px);
  background-size: 5px 5px;
  opacity: .35;
  pointer-events: none;
}

.members__stamp {
  position: absolute;
  top: 26px;
  right: var(--gutter);
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 11vw, 9.5rem);
  font-weight: 900;
  line-height: .8;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(20, 20, 15, .09);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.members .container { position: relative; z-index: 1; }

.members .kicker { color: var(--gold-deep); }
.members .kicker i { color: var(--gold-deep); border-color: rgba(138, 106, 31, .4); }
.members .kicker::after { background: rgba(138, 106, 31, .45); }

.members h2 { color: #14140f; }
.members h2 em { color: var(--gold-deep); }

.members__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 34ch) auto;
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line-dark);
}

.members__head h2 { margin-top: 18px; }

.members__lead {
  margin: 0;
  color: #55544b;
  font-size: .94rem;
  line-height: 1.65;
}

.members__count {
  text-align: right;
  padding-bottom: 6px;
}

.members__count strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.4vw, 3.8rem);
  font-weight: 900;
  line-height: .8;
  color: #14140f;
  font-variant-numeric: tabular-nums;
}

.members__count span {
  display: block;
  margin-top: 8px;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #6a695f;
}

.members__group { margin-top: clamp(34px, 4.6vw, 56px); }

.members__group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.members__group-head h3 {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: .2em;
  color: #3c3b34;
}

.members__group-head h3::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--gold-deep);
}

.members__group-note {
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #7c7a6f;
}

.filters { display: flex; flex-wrap: wrap; gap: 7px; }

.chip {
  padding: 8px 15px;
  border: 1px solid rgba(20, 20, 15, .18);
  border-radius: 999px;
  background: transparent;
  color: #3c3b34;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s, border-color .25s;
}

.chip:hover { border-color: var(--gold-deep); }
.chip.is-active { background: #14140f; color: var(--paper); border-color: #14140f; }

/* ---------- Cards de membro ---------- */
.roster {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
}

.roster--lead {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}

.mcard { min-width: 0; }

.mcard__btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.mcard__media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #17170f;
  border-radius: 1px;
}

.roster--lead .mcard__media { aspect-ratio: 4 / 5; }

.mcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.04);
  transition: transform .7s var(--ease), filter .45s;
}

.mcard__btn:hover .mcard__media img,
.mcard__btn:focus-visible .mcard__media img {
  transform: scale(1.055);
  filter: grayscale(0) contrast(1);
}

.mcard__media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  transition: border-color .3s;
  pointer-events: none;
}

.mcard__btn:hover .mcard__media::after,
.mcard__btn:focus-visible .mcard__media::after { border-color: rgba(197, 163, 74, .65); }

/* Monograma (fallback quando não há foto) */
.mono {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(120% 85% at 50% 0%, #2a2f6d 0%, #17171c 58%, #0d0d10 100%);
}

.mono::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/brasao.webp") center 46% / 74% no-repeat;
  opacity: .1;
  filter: grayscale(1) brightness(1.7);
  mix-blend-mode: screen;
}

.mono::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .55));
}

.mono__txt {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(2.9rem, 5vw, 4.6rem);
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1;
  color: #f0ecdf;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .6);
}

.roster--lead .mono__txt { font-size: clamp(3.4rem, 6vw, 5.6rem); }

.mcard__info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 13px;
}

.mcard__name {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #14140f;
}

.roster--lead .mcard__name { font-size: 1.3rem; }

.mcard__role {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.mcard__cue {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 9px;
  font-size: .56rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #7c7a6f;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity .3s, transform .3s var(--ease);
}

.mcard__cue::after { content: "→"; }

.mcard__btn:hover .mcard__cue,
.mcard__btn:focus-visible .mcard__cue { opacity: 1; transform: none; }

.mcard--join {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(20px, 2.4vw, 30px);
  border: 1px dashed rgba(20, 20, 15, .28);
  background: rgba(255, 255, 255, .35);
  transition: border-color .3s, background .3s, transform .3s var(--ease);
}

.mcard--join:hover {
  border-color: var(--gold-deep);
  background: rgba(197, 163, 74, .12);
  transform: translateY(-2px);
}

.mcard__join-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mcard--join small {
  font-size: .56rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.mcard--join strong {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  color: #14140f;
}

.mcard__join-text { font-size: .76rem; color: #6a695f; }

.mcard__join-arrow {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(20, 20, 15, .25);
  border-radius: 50%;
  font-size: 1.1rem;
  color: #14140f;
  transition: background .3s, color .3s, border-color .3s;
}

.mcard--join:hover .mcard__join-arrow {
  background: #14140f;
  border-color: #14140f;
  color: var(--paper);
}

.members__empty {
  margin-top: 24px;
  font-size: .85rem;
  color: #6a695f;
}

/* ==========================================================================
   AGENDA
   ========================================================================== */
.agenda {
  background:
    radial-gradient(70% 60% at 8% 0%, rgba(197, 163, 74, .08), transparent 60%),
    linear-gradient(180deg, #0a0a09, #101010);
}

.agenda__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 42ch);
  gap: clamp(20px, 4vw, 60px);
  align-items: end;
  padding-bottom: 26px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.agenda__head h2 { margin-top: 18px; }
.agenda__head .lead { margin: 0; }

.agenda__list { display: grid; }

.event {
  position: relative;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) 56px;
  gap: clamp(18px, 3vw, 44px);
  align-items: center;
  padding: clamp(24px, 3vw, 34px) 18px;
  margin-inline: -18px;
  border-bottom: 1px solid var(--line);
  transition: background .3s, padding-left .3s var(--ease);
}

.event:hover { background: rgba(255, 255, 255, .028); padding-left: 26px; }

.event__date strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1;
}

.event__date small {
  display: block;
  margin-top: 9px;
  font-size: .56rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}

.event__body h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }

.event__body p {
  max-width: 62ch;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: .88rem;
}

.event__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.event__tags span {
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .56rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #bdbcb1;
}

.event__cta {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(197, 163, 74, .45);
  border-radius: 50%;
  background: transparent;
  color: var(--gold-2);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background .3s, color .3s, transform .3s var(--ease);
}

.event:hover .event__cta { background: var(--yellow); color: #14140f; border-color: var(--yellow); }
.event__cta:hover { transform: rotate(-45deg); }

.agenda__note {
  margin-top: 22px;
  font-size: .7rem;
  letter-spacing: .04em;
  color: #6f6e65;
}

/* ==========================================================================
   GALERIA
   ========================================================================== */
.gallery {
  background: #0a0a09;
  padding-bottom: clamp(48px, 6vw, 84px);
  overflow: hidden;
}

.gallery__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.gallery__head h2 { margin-top: 18px; }

.gallery__nav { display: flex; gap: 8px; }

.rail-btn {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  font-size: 1rem;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}

.rail-btn:hover { background: var(--yellow); color: #14140f; border-color: var(--yellow); }

.gallery__rail {
  display: flex;
  gap: clamp(10px, 1.4vw, 18px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px var(--gutter) 20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gallery__rail::-webkit-scrollbar { display: none; }

.gallery__item {
  position: relative;
  flex: 0 0 auto;
  width: clamp(230px, 26vw, 360px);
  aspect-ratio: 3 / 4;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: var(--panel);
  cursor: zoom-in;
  scroll-snap-align: start;
}

.gallery__item--wide {
  width: clamp(300px, 40vw, 560px);
  aspect-ratio: 4 / 3;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.82) contrast(1.02);
  transition: transform .8s var(--ease), filter .5s;
}

.gallery__item:hover img { transform: scale(1.06); filter: saturate(1.05); }

.gallery__item::after {
  content: "";
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, .82));
  pointer-events: none;
}

.gallery__cap {
  position: absolute;
  z-index: 1;
  left: 18px;
  right: 18px;
  bottom: 16px;
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-align: left;
  color: #fff;
}

.gallery__idx {
  position: absolute;
  z-index: 1;
  top: 14px;
  right: 16px;
  font-family: var(--font-display);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: rgba(255, 255, 255, .72);
}

/* ==========================================================================
   CONTATO
   ========================================================================== */
.contact {
  overflow: hidden;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(60% 80% at 88% 20%, rgba(41, 46, 152, .2), transparent 62%),
    linear-gradient(150deg, #151513, #0a0a09 62%);
}

.contact__crest {
  position: absolute;
  right: -6%;
  bottom: -18%;
  width: clamp(320px, 44vw, 620px);
  opacity: .05;
  filter: grayscale(1) brightness(1.4);
  pointer-events: none;
}

.contact__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: clamp(34px, 5vw, 76px);
  align-items: end;
}

.contact__main h2 { margin: 20px 0 22px; font-size: clamp(2.9rem, 6vw, 5.4rem); }
.contact__main .lead { max-width: 50ch; }

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.contact__channels {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.channel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: var(--ink-2);
  transition: background .25s, padding-left .25s var(--ease);
}

a.channel:hover { background: #191917; padding-left: 26px; }

.channel__label {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
}

.channel__value {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: #d9d8cd;
}

.channel--static .channel__value { color: var(--muted); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  position: relative;
  padding-top: clamp(40px, 5vw, 64px);
  background: #070706;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line-soft);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.footer__nav a {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #a9a89d;
  transition: color .25s;
}
.footer__nav a:hover { color: var(--gold-2); }

.footer__social { display: flex; gap: 8px; }

.footer__social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  color: var(--gold-2);
  transition: background .25s, color .25s, border-color .25s;
}

.footer__social a:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #14140f;
}

.footer__wordmark {
  display: block;
  width: 100%;
  margin: clamp(26px, 4vw, 52px) 0 -0.04em;
  pointer-events: none;
  user-select: none;
}

.footer__wordmark svg { display: block; width: 100%; height: auto; }

.footer__wordmark text {
  font-family: var(--font-display);
  font-size: 232px;
  font-weight: 900;
  letter-spacing: 2px;
  fill: none;
  stroke: rgba(197, 163, 74, .3);
  stroke-width: 1.4;
}

.footer__legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  flex-wrap: wrap;
  padding: 24px 0;
  border-top: 1px solid var(--line-soft);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #6f6e65;
}

.footer__top-link { color: #9a998e; transition: color .25s; }
.footer__top-link:hover { color: var(--gold-2); }

/* ==========================================================================
   WHATSAPP FLUTUANTE
   ========================================================================== */
.wa {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 70;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #22c55e;
  color: #04120a;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .45);
  transition: transform .25s var(--ease), box-shadow .25s;
}

.wa svg { width: 26px; height: 26px; }

.wa::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(34, 197, 94, .55);
  animation: wa-pulse 3s ease-out infinite;
}

.wa:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 20px 38px rgba(0, 0, 0, .5); }

@keyframes wa-pulse {
  0% { transform: scale(1); opacity: .8; }
  70% { transform: scale(1.55); opacity: 0; }
  100% { opacity: 0; }
}

/* ==========================================================================
   MODAL DE MEMBRO
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: clamp(14px, 4vw, 40px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s, visibility .28s;
}

.modal.is-open { opacity: 1; visibility: visible; }

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 5, .82);
  backdrop-filter: blur(9px);
}

.modal__dialog {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  width: min(900px, 100%);
  max-height: min(88svh, 780px);
  overflow: auto;
  background: #121210;
  border: 1px solid var(--line-gold);
  box-shadow: 0 50px 100px rgba(0, 0, 0, .65);
  transform: translateY(16px) scale(.99);
  transition: transform .35s var(--ease);
}

.modal.is-open .modal__dialog { transform: none; }

.modal__media {
  position: relative;
  min-height: 340px;
  background: #0d0d0c;
}

.modal__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.35);
}

.modal__body { padding: clamp(26px, 3.4vw, 46px); }

.modal__cargo {
  display: inline-block;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
}

.modal__body h2 {
  margin: 12px 0 10px;
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  letter-spacing: .01em;
}

.modal__meta {
  margin: 0;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.modal__bio {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: #c6c5ba;
  font-size: .92rem;
  line-height: 1.72;
}

.modal__bio p { margin-bottom: 12px; }

.modal__soon {
  font-size: .84rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.modal__insta { margin-top: 24px; }

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  background: rgba(10, 10, 9, .72);
  color: var(--text);
  font-size: .9rem;
  cursor: pointer;
  transition: background .25s, color .25s;
}

.modal__close:hover { background: var(--yellow); color: #14140f; }

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 160;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(8px, 2vw, 24px);
  padding: clamp(14px, 4vw, 44px);
  background: rgba(5, 5, 4, .95);
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s, visibility .28s;
}

.lightbox.is-open { opacity: 1; visibility: visible; }

.lightbox__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.lightbox__figure img {
  max-width: min(1100px, 100%);
  max-height: 76svh;
  object-fit: contain;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .6);
}

.lightbox__figure figcaption {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #c9c8bd;
}

.lightbox__nav,
.lightbox__close {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  background: rgba(10, 10, 9, .55);
  color: var(--text);
  font-size: 1rem;
  cursor: pointer;
  transition: background .25s, color .25s;
}

.lightbox__nav:hover,
.lightbox__close:hover { background: var(--yellow); color: #14140f; }

.lightbox__close { position: absolute; top: 18px; right: 18px; z-index: 2; }

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */

/* Tablet grande */
@media (max-width: 1080px) {
  .roster--lead { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roster--lead .mcard__media { aspect-ratio: 1 / 1; }
  .members__head { grid-template-columns: minmax(0, 1fr) auto; }
  .members__lead { display: none; }
  .about__grid { grid-template-columns: minmax(0, 1.15fr) minmax(240px, .85fr); }
  .event { grid-template-columns: 112px minmax(0, 1fr) 52px; }
}

/* Menu mobile */
@media (max-width: 900px) {
  .burger { display: block; }

  .hero__panel { --pad: 38px; }

  .hero__copy {
    grid-template-columns: 1fr;
    grid-template-areas:
      "kicker"
      "titulo"
      "aside"
      "meta";
    row-gap: 18px;
  }

  .hero__aside { max-width: 54ch; }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 90;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    padding: 96px var(--gutter) 48px;
    background:
      radial-gradient(80% 60% at 85% 8%, rgba(41, 46, 152, .22), transparent 60%),
      #0a0a09;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .3s, visibility .3s, transform .35s var(--ease);
  }

  .nav.is-open { opacity: 1; visibility: visible; transform: none; }

  .nav > a:not(.btn) {
    width: 100%;
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 8vw, 2.4rem);
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--text);
  }

  .nav > a:not(.btn)::after { display: none; }
  .nav > a:not(.btn):hover { color: var(--yellow); }

  .nav__cta {
    width: 100%;
    margin-top: 26px;
    min-height: 58px;
    font-size: .72rem;
  }

  .about__grid { grid-template-columns: 1fr; gap: 44px; }
  .about__aside { position: static; order: -1; }
  .crest-stage img { width: min(78%, 340px); }

  .members__stamp { font-size: 16vw; }

  .contact__inner { grid-template-columns: 1fr; }
  .contact__channels { order: 2; }

  .event { grid-template-columns: 100px minmax(0, 1fr) 48px; gap: 18px; }
  .event__cta { width: 46px; height: 46px; }
}

/* Tablet / mobile */
@media (max-width: 720px) {
  h2 { font-size: clamp(2.4rem, 9vw, 3.4rem); }

  .header__inner { height: 76px; }
  .brand__name { font-size: 1.24rem; }
  .brand__tag { font-size: .46rem; letter-spacing: .16em; }
  .brand__crest { width: 32px; }

  .hero__panel { --pad: 32px; }

  .hero__copy { row-gap: 16px; }

  .hero h1 { font-size: clamp(2.4rem, 9vw, 3.4rem); }

  .hero__meta { font-size: .54rem; letter-spacing: .18em; gap: 8px 18px; }

  .ticker__track span { font-size: .92rem; gap: 22px; padding-right: 22px; }

  .roster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .roster--lead { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mcard__name { font-size: 1rem; }
  .roster--lead .mcard__name { font-size: 1.06rem; }
  .mcard__role { font-size: .54rem; letter-spacing: .14em; }
  .mcard__cue { display: none; }

  .members__head { grid-template-columns: 1fr; gap: 18px; align-items: start; }
  .members__count { text-align: left; display: flex; align-items: baseline; gap: 12px; padding: 0; }
  .members__count strong { font-size: 2.2rem; }
  .members__count span { margin: 0; }

  .members__group-head h3 { font-size: .92rem; }

  .agenda__head { grid-template-columns: 1fr; gap: 16px; }

  .event { grid-template-columns: minmax(0, 1fr) 44px; gap: 14px; padding: 22px 0; margin-inline: 0; }
  .event:hover { padding-left: 0; }
  .event__date { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; }
  .event__date strong { font-size: .92rem; }
  .event__date small { margin: 0; }
  .event__date small::before { content: "· "; }
  .event__body p { font-size: .84rem; }
  .event__tags span { font-size: .52rem; }

  .gallery__item { width: 76vw; }
  .gallery__item--wide { width: 86vw; aspect-ratio: 4 / 3.2; }
  .rail-btn { width: 44px; height: 44px; }

  .contact__main h2 { font-size: clamp(2.6rem, 11vw, 3.6rem); }
  .contact__actions .btn { flex: 1 1 100%; }
  .channel { padding: 16px 16px; }
  .channel__value { font-size: .76rem; }

  .modal__dialog { grid-template-columns: 1fr; max-height: 90svh; }
  .modal__media { min-height: 240px; aspect-ratio: 4 / 3; }
  .modal__media img { height: 100%; }
  .modal__body { padding: 24px 20px 30px; }

  .footer__top { gap: 20px; }
  .footer__nav { order: 3; width: 100%; }
  .footer__legal { font-size: .54rem; letter-spacing: .1em; }

  .lightbox { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .lightbox__figure { grid-row: 1; }
  .lightbox__nav { position: relative; grid-row: 2; }
  .lightbox__nav--prev { justify-self: start; }
  .lightbox__nav--next { justify-self: end; grid-column: 1; grid-row: 2; }
  .lightbox__figure img { max-height: 66svh; }
}

/* Mobile — banner vertical */
@media (max-width: 640px) {
  .hero__media {
    width: 100%;
    height: 58svh;
    aspect-ratio: auto;
    max-height: none;
  }

  .hero__media img { object-position: center top; }

  .hero__panel { --pad: 26px; padding-top: calc(var(--pad) + 20px); }

  .hero__copy { padding: 0; row-gap: 14px; }

  .hero__aside { gap: 16px; }

  .hero h1 {
    margin: 0;
    font-size: clamp(2.1rem, 8.6vw, 2.8rem);
  }

  .hero__lead { font-size: .85rem; line-height: 1.55; }

  .hero .kicker {
    gap: 8px;
    font-size: .55rem;
    letter-spacing: .13em;
    white-space: nowrap;
  }

  .hero .kicker::after { display: none; }

  .hero__actions { margin-top: 0; gap: 8px; flex-wrap: nowrap; }

  .hero__actions .btn {
    flex: 1 1 0;
    min-height: 46px;
    padding: 12px 8px;
    font-size: .58rem;
    letter-spacing: .08em;
  }

  .hero__meta { display: none; }

  .chip { padding: 7px 12px; font-size: .56rem; letter-spacing: .1em; }

  .mcard--join { padding: 16px 18px; gap: 14px; }
  .mcard--join strong { font-size: 1.3rem; }
  .mcard__join-text { font-size: .7rem; }
  .mcard__join-arrow { width: 40px; height: 40px; font-size: .95rem; }

  .about__aside figcaption { font-size: .54rem; }

  .members__stamp { top: 14px; opacity: .7; }
}

@media (max-width: 380px) {
  .roster { grid-template-columns: 1fr; }
  .roster--lead { grid-template-columns: 1fr; }
  .hero__actions { gap: 8px; flex-wrap: wrap; }
  .hero__actions .btn { flex: 1 1 100%; }
}
