/* Veiga — estilos do site e do painel. Fontes carregadas do Google Fonts no layout. */
:root {
  --font-display: "Bodoni Moda";
  --font-cond: "Barlow Condensed";
  --font-body: "Source Sans 3";
}

/* ==========================================================================
   Veiga — Associação Atlética Veiga de Almeida
   Sistema visual: branco predominante, dourado como acento, filetes finos.
   ========================================================================== */

:root {
  --white: #ffffff;
  --paper: #faf8f4;
  --gold: #b08a3c;
  --gold-light: #c9a24d;
  --bronze: #8b6534;
  --brown: #4a3420;
  --ink: #1f1a14;
  --ink-2: #5c5044; /* texto secundário: 7,4:1 sobre branco */
  --line: #e6dfd2;
  --line-strong: #d4c8b2;
  --ph: #ecebe8; /* placeholder de foto */
  --ph-ink: #8e8a84;
  --win: #3f6b3a;
  --loss: #9a3b2a;

  --f-display: var(--font-display), 'Bodoni Moda', Georgia, serif;
  --f-cond: var(--font-cond), 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --f-body: var(--font-body), 'Source Sans 3', system-ui, sans-serif;

  --max: 1320px;
  --gutter: 16px;
  --header-h: 96px; /* 32px da barra do próximo jogo + 64px do cabeçalho */
  --radius: 2px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (min-width: 768px) {
  :root { --gutter: 32px; }
}
@media (min-width: 1200px) {
  :root { --header-h: 110px; --gutter: 40px; }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 3px;
}

::selection { background: #efe4cc; color: var(--ink); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--white); padding: 10px 16px;
  font-family: var(--f-cond); text-transform: uppercase; letter-spacing: .08em;
}
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: calc(780px + var(--gutter) * 2); }
.wrap--mid { max-width: calc(1040px + var(--gutter) * 2); }

main { padding-top: var(--header-h); min-height: 60vh; }

.section { padding-block: 56px; }
.section--tight { padding-block: 40px; }
.section--paper { background: var(--paper); }
.section + .section:not(.section--paper):not(.section--dark) { border-top: 1px solid var(--line); }
.section--paper + .section { border-top: 0; }
@media (min-width: 1024px) {
  .section { padding-block: 96px; }
  .section--tight { padding-block: 64px; }
}

.grid { display: grid; gap: 24px; }
@media (min-width: 768px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Tipografia ---------- */

.display, .h1, .h2, .h3 {
  font-family: var(--f-display);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.04;
  font-optical-sizing: auto;
}
.display { font-size: clamp(44px, 9vw, 112px); line-height: .96; letter-spacing: -0.025em; }
.h1 { font-size: clamp(38px, 6vw, 76px); }
.h2 { font-size: clamp(30px, 4vw, 52px); }
.h3 { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15; }
.display em, .h1 em, .h2 em { font-style: italic; color: var(--bronze); }

.label {
  font-family: var(--f-cond);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bronze);
  line-height: 1.3;
}
.label--ink { color: var(--ink); }
.label--muted { color: var(--ink-2); }

.cond {
  font-family: var(--f-cond);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.lead {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 62ch;
}
.muted { color: var(--ink-2); }
.small { font-size: 15px; }

/* Filete dourado */
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.rule--gold { background: var(--gold); }

/* Faixas listradas do brasão, usadas como detalhe discreto */
.stripes {
  display: inline-block;
  width: 28px; height: 17px;
  background: repeating-linear-gradient(180deg, var(--gold) 0 3px, transparent 3px 7px);
  flex: none;
}
.stripes--bronze { background: repeating-linear-gradient(180deg, var(--bronze) 0 3px, var(--gold-light) 3px 7px); }
.stripes--wide { width: 100%; height: 11px; background: repeating-linear-gradient(180deg, var(--gold) 0 2px, transparent 2px 5px); opacity: .7; }

/* ---------- Cabeçalho de seção ---------- */

.bar-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap;
  border-top: 3px solid var(--ink); padding-top: 12px; margin-bottom: 24px;
}
.bar-head__title {
  font-family: var(--f-cond); font-weight: 700; font-size: clamp(26px, 2.6vw, 34px);
  text-transform: uppercase; letter-spacing: .01em; line-height: 1;
}
.bar-head__link {
  font-family: var(--f-cond); font-weight: 600; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--bronze);
}
.bar-head__link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.bar-head + .lead { margin: -8px 0 28px; font-size: 17px; }
.section--dark .bar-head { border-top-color: var(--gold); }
.page-body-title { font-family: var(--f-display); font-size: clamp(28px, 3vw, 40px); line-height: 1.1; margin-bottom: 20px; }

.sec-head {
  display: grid;
  gap: 14px;
  margin-bottom: 32px;
}
.sec-head__top {
  display: flex; align-items: center; gap: 14px;
}
.sec-head__top .label { white-space: nowrap; }
.sec-head__top::after {
  content: ''; flex: 1; height: 1px; background: var(--line);
}
.sec-head__row {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px;
}
.sec-head__row .h2 { max-width: 22ch; }
@media (min-width: 1024px) { .sec-head { margin-bottom: 48px; } }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-cond); font-weight: 600; font-size: 15px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--bronze);
  padding-block: 6px;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.link-arrow::after {
  content: ''; width: 18px; height: 1px; background: currentColor;
  transition: width .25s var(--ease);
}
.link-arrow:hover { color: var(--ink); }
.link-arrow:hover::after { width: 28px; }

/* ---------- Botões ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  background: var(--gold);
  color: var(--ink);
  font-family: var(--f-cond); font-weight: 600; font-size: 16px;
  letter-spacing: .1em; text-transform: uppercase;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.btn:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn--ghost-light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled='true'] {
  background: var(--ph); border-color: var(--ph); color: var(--ink-2); cursor: not-allowed;
}

/* ---------- Cabeçalho do site ---------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.topbar { display: block; background: var(--brown); color: rgba(255,255,255,.82); height: 34px; flex: none; }
.topbar__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-family: var(--f-cond); font-size: 13.5px; letter-spacing: .06em; text-transform: uppercase; }
.topbar a:hover { color: var(--gold-light); }
.topbar__next { display: flex; gap: 12px; align-items: center; min-width: 0; white-space: nowrap; overflow: hidden; }
.topbar__next b { color: var(--gold-light); font-weight: 600; }
.topbar__links { display: flex; gap: 20px; align-items: center; }
.topbar__links svg { width: 15px; height: 15px; }
@media (max-width: 1199px) {
  .topbar { height: 32px; }
  .topbar__links { display: none; }
  .topbar__in { justify-content: center; font-size: 12.5px; letter-spacing: .05em; }
  .topbar__next { gap: 8px; max-width: 100%; }
  .topbar__teams { overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 767px) { .topbar__sport { display: none; } }
.site-header__in {
  flex: 1; min-height: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { height: 44px; width: auto; }
.brand__text { display: none; line-height: 1.1; }
.brand__name { font-family: var(--f-display); font-size: 21px; font-weight: 600; letter-spacing: .04em; }
.brand__sub { display: block; font-family: var(--f-cond); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze); }
@media (min-width: 420px) { .brand__text { display: block; } }
@media (min-width: 1200px) { .brand img { height: 58px; } }

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__link {
  position: relative;
  display: block; padding: 8px 9px;
  font-family: var(--f-cond); font-weight: 500; font-size: 15.5px;
  letter-spacing: .07em; text-transform: uppercase; color: var(--ink);
}
.nav__link::after {
  content: ''; position: absolute; left: 9px; right: 9px; bottom: 2px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current='page']::after { transform: scaleX(1); }
.nav__link[aria-current='page'] { color: var(--bronze); }
.header-cta { display: none; }

@media (min-width: 1200px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; }
  .site-header .menu-btn { display: none; }
}
@media (min-width: 1360px) {
  .nav__link { padding: 8px 12px; }
  .nav__link::after { left: 12px; right: 12px; }
}

.menu-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: none; border: 0; padding: 10px 0 10px 10px; cursor: pointer;
  font-family: var(--f-cond); font-weight: 600; font-size: 14px; letter-spacing: .12em; text-transform: uppercase;
}
.menu-btn__bars { display: grid; gap: 5px; width: 22px; }
.menu-btn__bars span { height: 1.5px; background: var(--ink); display: block; }
.menu-btn__bars span:last-child { width: 14px; justify-self: end; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 150;
  background: var(--white);
  display: flex; flex-direction: column;
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden;
  transition: opacity .2s, visibility .2s;
}
.mobile-menu:focus { outline: none; }
.mobile-menu[data-open='true'] { opacity: 1; visibility: visible; }
.mobile-menu__top {
  height: 64px; flex: none; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 1; background: var(--white);
}
.mobile-menu__close {
  width: 44px; height: 44px; margin-right: -10px; display: grid; place-items: center;
  background: none; border: 0; border-radius: 50%; cursor: pointer; color: var(--ink);
}
.mobile-menu__close:hover { background: var(--paper); }
.mobile-menu__close:focus:not(:focus-visible) { outline: none; }
.mobile-menu__close svg { width: 22px; height: 22px; }
.mobile-menu__body { padding: 20px var(--gutter) 8px; display: grid; gap: 20px; }

.mm-next {
  display: grid; gap: 3px; padding: 14px 16px;
  background: var(--brown); color: #fff; border-left: 3px solid var(--gold);
}
.mm-next__label { font-family: var(--f-cond); font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); }
.mm-next__teams { font-family: var(--f-cond); font-weight: 700; font-size: 22px; letter-spacing: .02em; text-transform: uppercase; line-height: 1.1; }
.mm-next__teams em { font-style: normal; color: var(--gold-light); font-weight: 500; }
.mm-next__when { font-size: 14px; color: rgba(255,255,255,.75); }

.mobile-menu__list { border-top: 1px solid var(--line); }
.mobile-menu__list a {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 0 13px 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-cond); font-weight: 600; font-size: 21px; letter-spacing: .05em; text-transform: uppercase; line-height: 1.1;
  color: var(--ink);
}
.mobile-menu__list a svg { width: 18px; height: 18px; color: #b9ab93; flex: none; }
.mobile-menu__list a::before { content: ''; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; background: transparent; }
.mobile-menu__list a:active { background: var(--paper); }
.mobile-menu__list a[aria-current='page'] { color: var(--bronze); }
.mobile-menu__list a[aria-current='page']::before { background: var(--gold); }
.mobile-menu__list a[aria-current='page'] svg { color: var(--gold); }

.mm-quick { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; }
.mm-quick a { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; }

.mobile-menu__foot {
  margin-top: auto; padding: 20px var(--gutter) calc(28px + env(safe-area-inset-bottom));
  display: grid; gap: 16px; border-top: 1px solid var(--line); background: var(--paper);
}
.mm-social { display: flex; justify-content: center; gap: 12px; }
.mm-social a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--ink); }
.mm-social svg { width: 18px; height: 18px; }

/* ---------- Placeholder de foto ---------- */

.photo {
  position: relative; overflow: hidden;
  background: var(--ph);
  aspect-ratio: var(--ratio, 3 / 2);
}
.photo > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease), opacity .4s;
}
.photo--ph { background: #e6e4e0; }
.photo__ph-label {
  position: absolute; left: 10px; bottom: 8px;
  font-family: var(--f-body); font-size: 12px; color: #8a857e;
}
.photo--shield { clip-path: polygon(0 9%, 50% 0, 100% 9%, 100% 72%, 50% 100%, 0 72%); }

a:hover .photo > img, .photo-link:hover .photo > img { transform: scale(1.03); }

/* ---------- Escudos ---------- */

.crest { display: inline-grid; place-items: center; flex: none; width: var(--s, 44px); height: calc(var(--s, 44px) * 1.2); }
.crest img { width: 100%; height: 100%; object-fit: contain; }
.crest svg { width: 100%; height: 100%; }
.crest text { font-family: var(--f-display); font-weight: 600; }

/* ---------- Hero ---------- */

.hero { padding-top: 32px; }
.hero__head {
  display: grid; gap: 20px; padding-bottom: 28px;
}
.hero__kicker { display: flex; align-items: center; gap: 12px; }
.hero__media { position: relative; }
.hero__media .photo { --ratio: 4 / 3; }
@media (min-width: 600px) { .hero__media .photo { --ratio: 16 / 10; } }
@media (min-width: 1024px) {
  .hero { padding-top: 56px; }
  .hero__head { grid-template-columns: 1fr auto; align-items: end; padding-bottom: 40px; }
  .hero__media .photo { --ratio: 21 / 9; }
}

.next-match {
  background: var(--white);
  border-top: 3px solid var(--gold);
  padding: 24px 0 0;
}
@media (min-width: 1024px) {
  .next-match {
    position: absolute; right: var(--gutter); bottom: -56px;
    width: 520px; padding: 28px 32px 30px;
    border: 1px solid var(--line); border-top: 3px solid var(--gold);
  }
  .hero__after { height: 56px; }
}
.next-match__meta { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.next-match__teams {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
  padding: 20px 0; margin-top: 12px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.next-match__team { display: flex; align-items: center; gap: 12px; min-width: 0; }
.next-match__team--away { flex-direction: row-reverse; text-align: right; }
.next-match__team strong {
  font-family: var(--f-cond); font-weight: 600; font-size: 20px; letter-spacing: .04em; text-transform: uppercase; line-height: 1.05;
}
.next-match__vs { font-family: var(--f-display); font-style: italic; font-size: 22px; color: var(--bronze); }
.next-match__when { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: end; padding-top: 18px; }
.next-match__date { font-family: var(--f-cond); font-weight: 600; font-size: 22px; letter-spacing: .04em; text-transform: uppercase; line-height: 1.1; }
.next-match__venue { font-size: 15px; color: var(--ink-2); }
.next-match__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }

.countdown { display: flex; gap: 14px; }
.countdown div { text-align: center; min-width: 38px; }
.countdown b {
  display: block; font-family: var(--f-cond); font-weight: 600; font-size: 34px; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.countdown span { font-family: var(--f-cond); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze); }

/* ---------- Manchete + central de jogos ---------- */

.front { padding-top: 24px; padding-bottom: 56px; }
.front__grid { display: grid; gap: 40px; }
@media (min-width: 1024px) {
  .front { padding-top: 32px; padding-bottom: 80px; }
  .front__grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; }
  .front__side { border-left: 1px solid var(--line); padding-left: 40px; }
}
.lead-story { display: grid; gap: 16px; }
.lead-story .photo { --ratio: 16 / 9; }
.lead-story__meta { display: flex; gap: 12px; align-items: center; font-size: 14.5px; color: var(--ink-2); }
.lead-story__meta .label { color: var(--bronze); }
.lead-story__title { font-family: var(--f-display); font-weight: 500; font-size: clamp(32px, 4.2vw, 58px); line-height: 1.02; letter-spacing: -0.02em; max-width: 22ch; }
.lead-story:hover .lead-story__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: var(--gold); }
.lead-story__dek { font-size: 18px; color: var(--ink-2); max-width: 60ch; }

.mc { display: grid; gap: 28px; align-content: start; }
.mc__block { border-top: 3px solid var(--ink); padding-top: 12px; display: grid; gap: 14px; }
.mc__title { font-family: var(--f-cond); font-weight: 700; font-size: 18px; letter-spacing: .04em; text-transform: uppercase; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.mc__title small { font-weight: 500; font-size: 13.5px; color: var(--ink-2); letter-spacing: .04em; }
.mc__teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.mc__team { display: grid; justify-items: center; gap: 8px; text-align: center; font-family: var(--f-cond); font-weight: 600; font-size: 17px; text-transform: uppercase; line-height: 1.05; }
.mc__mid { font-family: var(--f-cond); font-weight: 600; font-size: 34px; line-height: 1; text-align: center; font-variant-numeric: tabular-nums; }
.mc__mid small { display: block; font-size: 13px; font-weight: 500; letter-spacing: .08em; color: var(--ink-2); margin-top: 4px; }
.mc__info { font-size: 14.5px; color: var(--ink-2); line-height: 1.45; text-align: center; }
.mc__info b { color: var(--ink); font-weight: 600; }
.mc .countdown { justify-content: center; }
.mc__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mc__list { display: grid; }
.mc__list a { padding: 12px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.mc__list a:first-child { padding-top: 0; }
.mc__list a:hover strong { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.mc__list strong { font-family: var(--f-display); font-weight: 500; font-size: 19px; line-height: 1.2; }
.mc__list span { font-size: 13px; color: var(--ink-2); }

/* ---------- Faixa de jogos ---------- */

.fixtures {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 78%);
  overflow-x: auto; scroll-snap-type: x mandatory;
  border-bottom: 1px solid var(--line);
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  scrollbar-width: none;
}
.fixtures::-webkit-scrollbar { display: none; }
@media (max-width: 767px) {
  .fixtures { gap: 12px; grid-auto-columns: minmax(250px, 80%); scroll-padding-inline: var(--gutter); padding-block: 4px 16px; border-bottom: 0; }
  .fixtures .fixture, .fixtures .fixture + .fixture { padding: 18px; border: 1px solid var(--line); background: var(--white); }
  .fixtures .fixture:last-child { border-right: 1px solid var(--line); }
}
@media (min-width: 768px) {
  .fixtures { grid-auto-flow: row; grid-template-columns: repeat(var(--n, 4), 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; }
}
.fixture {
  scroll-snap-align: start;
  display: grid; gap: 14px; align-content: start;
  padding: 22px 20px 24px 0;
  border-right: 1px solid var(--line);
  transition: background .2s;
}
.fixture + .fixture { padding-left: 20px; }
.fixture:last-child { border-right: 0; }
.fixture:hover { background: var(--paper); }
.fixture__date { display: flex; align-items: baseline; gap: 10px; }
.fixture__day { font-family: var(--f-cond); font-weight: 600; font-size: 44px; line-height: .9; }
.fixture__mon { font-family: var(--f-cond); font-weight: 600; font-size: 15px; letter-spacing: .1em; line-height: 1.1; }
.fixture__mon small { display: block; color: var(--ink-2); font-weight: 500; }
.fixture__vs { display: flex; align-items: center; gap: 10px; font-family: var(--f-cond); font-weight: 600; font-size: 18px; text-transform: uppercase; letter-spacing: .03em; line-height: 1.1; }
.fixture__vs em { font-style: normal; color: var(--bronze); font-weight: 500; }
.fixture__where { font-size: 14.5px; color: var(--ink-2); line-height: 1.4; }

/* ---------- Resultados / placares ---------- */

.results { }
.result {
  display: grid; align-items: center; gap: 8px 16px;
  grid-template-columns: 1fr auto;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.result__info { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.result__board { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.result__team { display: flex; align-items: center; gap: 10px; font-family: var(--f-cond); font-weight: 600; font-size: 17px; text-transform: uppercase; letter-spacing: .03em; line-height: 1.1; min-width: 0; }
.result__team--away { flex-direction: row-reverse; text-align: right; }
.score { font-family: var(--f-cond); font-weight: 600; font-size: 34px; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; letter-spacing: .02em; }
.score i { font-style: normal; color: var(--line-strong); margin: 0 6px; font-weight: 400; }
.badge-result {
  display: inline-grid; place-items: center; width: 26px; height: 26px;
  font-family: var(--f-cond); font-weight: 700; font-size: 14px;
  border: 1px solid currentColor;
}
.badge-result--V { color: var(--win); }
.badge-result--D { color: var(--loss); }
.badge-result--E { color: var(--ink-2); }
@media (min-width: 900px) {
  .result { grid-template-columns: 240px minmax(0, 600px) 1fr; padding: 20px 0; gap: 16px 48px; }
  .result__info { grid-column: auto; flex-direction: column; }
  .result__side { justify-self: end; }
}

/* ---------- Notícias ---------- */

.news-feature { display: grid; gap: 32px; }
@media (min-width: 1024px) {
  .news-feature { grid-template-columns: 7fr 5fr; gap: 48px; }
}
.story { display: grid; gap: 14px; align-content: start; }
.story__meta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.story__meta .dot { width: 3px; height: 3px; background: var(--line-strong); border-radius: 50%; }
.story__title { font-family: var(--f-display); font-weight: 500; font-size: 24px; line-height: 1.15; letter-spacing: -0.01em; }
.story--main .story__title { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.05; }
.story--main .photo { --ratio: 16 / 10; }
.story__dek { color: var(--ink-2); }
.story a:hover .story__title, a.story:hover .story__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: var(--gold); }
.story--row { grid-template-columns: 38% 1fr; gap: 18px; align-items: start; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.story--row:last-child { border-bottom: 0; }
.story--row .photo { --ratio: 4 / 3; }
.story--row .story__title { font-size: 20px; }
.news-side { display: grid; gap: 24px; align-content: start; }
@media (min-width: 1024px) { .news-side { border-left: 1px solid var(--line); padding-left: 48px; } }

.news-list { display: grid; gap: 40px 32px; }
@media (min-width: 700px) { .news-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .news-list { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Eventos ---------- */

.events { }
.event-row {
  display: grid; gap: 16px 24px; grid-template-columns: 76px 1fr;
  padding: 24px 0; border-bottom: 1px solid var(--line);
  align-items: start;
}
.event-row__date { text-align: left; }
.event-row__date b { display: block; font-family: var(--f-cond); font-weight: 600; font-size: 52px; line-height: .85; }
.event-row__date span { font-family: var(--f-cond); font-weight: 600; letter-spacing: .12em; font-size: 14px; }
.event-row__body { display: grid; gap: 8px; }
.event-row__title { font-family: var(--f-display); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.1; }
.event-row__media { grid-column: 1 / -1; }
.event-row__media .photo { --ratio: 16 / 9; }
.event-row__cta { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; }
@media (min-width: 900px) {
  .event-row { grid-template-columns: 110px 1fr 280px auto; align-items: center; padding: 28px 0; }
  .event-row__date b { font-size: 64px; }
  .event-row__media { grid-column: auto; grid-row: 1; grid-column: 3; }
  .event-row__cta { grid-column: auto; }
}

/* ---------- Pacotes ---------- */

.packages { display: grid; gap: 24px; }
@media (min-width: 760px) { .packages { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .packages { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.pack {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color .2s;
}
.pack:hover { border-color: var(--line-strong); }
.pack .photo { --ratio: 16 / 10; }
.pack__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.pack__top { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.pack__name { font-family: var(--f-display); font-size: 28px; line-height: 1.08; }
.pack__list { display: grid; gap: 6px; font-size: 15.5px; }
.pack__list li { display: grid; grid-template-columns: 14px 1fr; gap: 10px; align-items: baseline; }
.pack__list li::before { content: ''; width: 10px; height: 1px; background: var(--gold); transform: translateY(-4px); }
.pack__price { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.price { font-family: var(--f-cond); font-weight: 600; font-size: 40px; line-height: .95; letter-spacing: .01em; }
.price small { font-size: 16px; letter-spacing: .06em; margin-right: 3px; font-weight: 500; }
.pack__member { font-size: 14px; color: var(--ink-2); }
.pack__stock { font-family: var(--f-cond); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); text-align: right; line-height: 1.3; }
.pack__stock b { color: var(--ink); font-weight: 600; }
.pack--soldout .photo, .pack--soldout .pack__name, .pack--soldout .price { opacity: .5; }
.pack__soldout-mark {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  background: var(--ink); color: var(--white);
  font-family: var(--f-cond); font-weight: 600; font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
  padding: 6px 10px;
}

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-cond); font-weight: 600; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 9px; border: 1px solid var(--line-strong); color: var(--brown); line-height: 1.2; white-space: nowrap;
}
.tag--gold { border-color: var(--gold); color: var(--bronze); }
.tag--solid { background: var(--ink); color: var(--white); border-color: var(--ink); }
.tag--live::before { content: ''; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }

.meter { height: 3px; background: var(--line); position: relative; }
.meter span { position: absolute; inset: 0 auto 0 0; background: var(--gold); }

/* ---------- Torcida ---------- */

.section--dark { background: var(--brown); color: var(--white); }
.section--dark .label { color: var(--gold-light); }
.section--dark .muted, .section--dark .lead { color: rgba(255, 255, 255, .78); }
.torcida { display: grid; gap: 32px; align-items: center; }
.torcida__logo { width: min(190px, 52%); }
@media (max-width: 899px) {
  .torcida { justify-items: center; text-align: center; gap: 24px; }
  .torcida .row { justify-content: center; flex-direction: column; align-items: stretch; width: min(280px, 100%); margin-inline: auto; }
  .torcida .lead { margin-inline: auto; }
}
@media (min-width: 900px) {
  .torcida { grid-template-columns: 340px 1fr; gap: 64px; }
  .torcida__logo { width: 100%; }
}
.torcida__chant {
  font-family: var(--f-display); font-style: italic; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.3;
  border-left: 1px solid var(--gold); padding-left: 20px; color: #f1e7d2;
}

/* ---------- Galeria ---------- */

.mosaic {
  display: grid; gap: 6px;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 140px;
  grid-auto-flow: dense;
}
.mosaic > * { position: relative; }
.mosaic .photo { position: absolute; inset: 0; aspect-ratio: auto; height: 100%; }
.mosaic__item--w { grid-column: span 2; }
.mosaic__item--t { grid-row: span 2; }
.mosaic__item--b { grid-column: span 2; grid-row: span 2; }
@media (min-width: 768px) {
  .mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 8px; }
}
@media (min-width: 1200px) {
  .mosaic { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 220px; }
}

/* Grade de álbum: colunas em estilo mosaico, respeitando a proporção de cada foto */
.masonry { columns: 2; column-gap: 6px; }
.masonry > * { break-inside: avoid; margin-bottom: 6px; display: block; width: 100%; }
@media (min-width: 768px) { .masonry { columns: 3; column-gap: 8px; } .masonry > * { margin-bottom: 8px; } }
@media (min-width: 1200px) { .masonry { columns: 4; } }
.masonry button { all: unset; display: block; width: 100%; cursor: zoom-in; }
.masonry button:focus-visible { outline: 2px solid var(--bronze); outline-offset: 2px; }
.mosaic button { all: unset; cursor: zoom-in; position: absolute; inset: 0; }
.mosaic button:focus-visible { outline: 2px solid var(--bronze); outline-offset: 2px; }

.albums { display: grid; gap: 40px 28px; }
@media (min-width: 640px) { .albums { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .albums { grid-template-columns: repeat(3, 1fr); } }
.album-card { display: grid; gap: 12px; }
.album-card .photo { --ratio: 4 / 3; }
.album-card__title { font-family: var(--f-display); font-size: 24px; line-height: 1.15; }

.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(20, 16, 12, .96);
  color: var(--white);
  display: grid; grid-template-rows: auto 1fr auto;
}
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 14px var(--gutter); gap: 12px; }
.lightbox__bar .label { color: #d9c9a6; }
.lightbox__actions { display: flex; gap: 8px; }
.lightbox__btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 1px solid rgba(255,255,255,.3); color: var(--white);
  min-height: 40px; padding: 0 14px; cursor: pointer; border-radius: var(--radius);
  font-family: var(--f-cond); font-size: 14px; letter-spacing: .1em; text-transform: uppercase;
}
.lightbox__btn:hover { border-color: var(--white); }
.lightbox__btn svg { width: 16px; height: 16px; }
.lightbox__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 var(--gutter); }
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox__stage .photo { height: min(72vh, 640px); width: auto; max-width: 100%; background: #2c251d; }
.lightbox__stage .photo--ph::before { border-color: rgba(255,255,255,.08); }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; display: grid; place-items: center;
  background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.25); color: #fff; cursor: pointer;
}
.lightbox__nav:hover { border-color: #fff; }
.lightbox__nav--prev { left: var(--gutter); }
.lightbox__nav--next { right: var(--gutter); }
.lightbox__nav svg { width: 20px; height: 20px; }
.lightbox__caption { padding: 14px var(--gutter) 20px; text-align: center; font-size: 15px; color: rgba(255,255,255,.75); }

/* ---------- Redes / Instagram ---------- */

.insta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
@media (min-width: 900px) { .insta { grid-template-columns: repeat(6, 1fr); gap: 6px; } }
.insta .photo { --ratio: 1 / 1; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.social {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 16px;
  border: 1px solid var(--line-strong);
  font-family: var(--f-cond); font-weight: 600; font-size: 15px; letter-spacing: .08em; text-transform: uppercase;
  transition: border-color .2s, background .2s;
}
.social:hover { border-color: var(--ink); }
.social svg { width: 17px; height: 17px; }
.social small { font-weight: 500; color: var(--ink-2); letter-spacing: .04em; text-transform: none; font-family: var(--f-body); font-size: 14px; }

/* ---------- Patrocinadores ---------- */

.sponsor-strip {
  display: grid; grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
@media (min-width: 700px) { .sponsor-strip { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .sponsor-strip { grid-template-columns: repeat(6, 1fr); } }
.sponsor-cell {
  display: grid; place-items: center; text-align: center;
  min-height: 110px; padding: 18px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background .2s;
}
a.sponsor-cell:hover { background: var(--paper); }
.sponsor-cell img { max-height: 54px; max-width: 150px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
a.sponsor-cell:hover img { filter: none; opacity: 1; }
.wordmark {
  font-family: var(--f-cond); font-weight: 700; font-size: 20px; letter-spacing: .08em; text-transform: uppercase;
  color: #8f8579; line-height: 1.05;
}
.wordmark small { display: block; font-weight: 500; font-size: 11px; letter-spacing: .2em; margin-top: 4px; }
.sponsor-cell--master { min-height: 150px; }
.sponsor-cell--master .wordmark { font-size: 28px; }

.partner-cta {
  display: grid; gap: 24px; align-items: end;
  padding: 32px 0 0; margin-top: 48px; border-top: 1px solid var(--line);
}
@media (min-width: 900px) { .partner-cta { grid-template-columns: 1fr auto; } }

/* ---------- Page header ---------- */

.page-head { padding-block: 40px 32px; border-bottom: 1px solid var(--line); }
.page-head__crumb { display: flex; gap: 10px; align-items: center; margin-bottom: 20px; }
.page-head__crumb a:hover { color: var(--ink); }
.page-head .lead { margin-top: 18px; }
@media (min-width: 1024px) { .page-head { padding-block: 72px 48px; } }

/* ---------- Filtros ---------- */

.filters { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.filters__group { display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.filters__group::-webkit-scrollbar { display: none; }
.filters__group > .label { margin-right: 6px; flex: none; }
@media (min-width: 900px) { .filters__group { margin-inline: 0; padding-inline: 0; flex-wrap: wrap; } }
.chip {
  flex: none;
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  font-family: var(--f-cond); font-weight: 500; font-size: 14.5px; letter-spacing: .08em; text-transform: uppercase;
  transition: border-color .2s, background .2s, color .2s;
  white-space: nowrap;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-current='true'] { background: var(--ink); color: var(--white); border-color: var(--ink); }

.search { display: flex; border: 1px solid var(--line-strong); max-width: 420px; width: 100%; }
.search input { flex: 1; min-width: 0; border: 0; padding: 0 14px; min-height: 44px; background: transparent; }
.search input:focus { outline: none; }
.search:focus-within { border-color: var(--ink); }
.search button { border: 0; background: var(--ink); color: var(--white); padding: 0 16px; cursor: pointer; font-family: var(--f-cond); letter-spacing: .1em; text-transform: uppercase; font-size: 14px; }

.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 56px; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 12px;
  border: 1px solid var(--line-strong); font-family: var(--f-cond); font-weight: 600; letter-spacing: .06em;
}
.pagination a:hover { border-color: var(--ink); }
.pagination [aria-current='page'] { background: var(--ink); color: var(--white); border-color: var(--ink); }

.empty { padding: 56px 0; text-align: center; color: var(--ink-2); display: grid; gap: 12px; justify-items: center; }

/* ---------- Jogos: tabela ---------- */

.month-head { display: flex; align-items: center; gap: 14px; margin: 48px 0 0; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.month-head:first-child { margin-top: 32px; }
.month-head h2 { font-family: var(--f-display); font-size: 28px; }
.month-head h2::first-letter { text-transform: uppercase; }

.game-row {
  display: grid; gap: 12px 20px; align-items: center;
  grid-template-columns: 64px 1fr;
  padding: 20px 0; border-bottom: 1px solid var(--line);
  transition: background .2s;
}
.game-row:hover { background: var(--paper); }
.game-row__date b { display: block; font-family: var(--f-cond); font-weight: 600; font-size: 38px; line-height: .9; }
.game-row__date span { font-family: var(--f-cond); font-size: 13px; letter-spacing: .12em; color: var(--ink-2); }
.game-row__main { display: grid; gap: 8px; min-width: 0; }
.game-row__teams { display: flex; align-items: center; gap: 10px; font-family: var(--f-cond); font-weight: 600; font-size: 20px; text-transform: uppercase; letter-spacing: .03em; line-height: 1.1; flex-wrap: wrap; }
.game-row__teams em { font-style: normal; font-weight: 500; color: var(--bronze); }
.game-row__side { grid-column: 2; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
@media (min-width: 900px) {
  .game-row { grid-template-columns: 90px 1fr 280px auto; padding: 22px 16px; margin-inline: -16px; }
  .game-row__side { grid-column: auto; justify-content: flex-end; }
}
.game-row__where { font-size: 15px; color: var(--ink-2); line-height: 1.4; grid-column: 2; }
@media (min-width: 900px) { .game-row__where { grid-column: auto; } }

/* ---------- Página de jogo ---------- */

.match-hero { padding-block: 40px 48px; border-bottom: 1px solid var(--line); text-align: center; }
.match-hero__board {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center;
  max-width: 900px; margin: 32px auto 0;
}
.match-hero__team { display: grid; justify-items: center; gap: 14px; }
.match-hero__team strong { font-family: var(--f-cond); font-weight: 600; font-size: clamp(18px, 2.4vw, 28px); letter-spacing: .04em; text-transform: uppercase; line-height: 1.05; }
.match-hero__center { display: grid; gap: 8px; justify-items: center; }
.match-hero__score { font-family: var(--f-cond); font-weight: 600; font-size: clamp(56px, 10vw, 120px); line-height: .9; font-variant-numeric: tabular-nums; }
.match-hero__score i { font-style: normal; color: var(--line-strong); margin: 0 .12em; font-weight: 300; }
.match-hero__time { font-family: var(--f-cond); font-weight: 600; font-size: clamp(36px, 6vw, 72px); line-height: .9; }

.facts { display: grid; border-top: 1px solid var(--ink); }
.fact { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.fact dt { font-family: var(--f-cond); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze); padding-top: 3px; }
.fact dd { margin: 0; }
.fact a { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }

.two-col { display: grid; gap: 48px; }
@media (min-width: 1024px) { .two-col { grid-template-columns: 1fr 380px; gap: 72px; } .two-col--rev { grid-template-columns: 380px 1fr; } }
.sticky { position: sticky; top: calc(var(--header-h) + 24px); }

/* ---------- Artigo ---------- */

.article-head { padding-block: 40px 32px; }
.article-head .h1 { font-size: clamp(34px, 5vw, 64px); max-width: 20ch; }
.article-head .lead { margin-top: 20px; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); }
.byline strong { font-weight: 600; }
.article-cover .photo { --ratio: 16 / 9; }
.article-cover figcaption { font-size: 14px; color: var(--ink-2); padding-top: 10px; }

.prose { font-size: 19px; line-height: 1.7; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--f-display); font-size: 30px; line-height: 1.15; margin-top: 1.6em; }
.prose h3 { font-family: var(--f-cond); font-weight: 600; font-size: 20px; letter-spacing: .06em; text-transform: uppercase; margin-top: 1.6em; }
.prose a { color: var(--bronze); text-decoration: underline; text-underline-offset: 4px; }
.prose strong { font-weight: 600; }
.prose ul { display: grid; gap: .4em; }
.prose ul li { position: relative; padding-left: 24px; }
.prose ul li::before { content: ''; position: absolute; left: 0; top: .8em; width: 12px; height: 1px; background: var(--gold); }
.prose blockquote {
  margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--gold);
  font-family: var(--f-display); font-style: italic; font-size: 26px; line-height: 1.35;
}
.prose > p:first-child::first-letter {
  font-family: var(--f-display); float: left; font-size: 4.1em; line-height: .82; margin: .06em .1em 0 0; color: var(--bronze);
}

.share { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.share a, .share button {
  display: inline-grid; place-items: center; width: 42px; height: 42px;
  border: 1px solid var(--line-strong); background: none; cursor: pointer; color: var(--ink);
  transition: border-color .2s;
}
.share a:hover, .share button:hover { border-color: var(--ink); }
.share svg { width: 17px; height: 17px; }

/* ---------- Linha do tempo ---------- */

.timeline { position: relative; padding-block: 24px; }
.timeline::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: 15px; width: 1px; background: var(--gold);
}
.term { position: relative; padding-left: 52px; padding-bottom: 56px; }
.term:last-child { padding-bottom: 0; }
.term__marker {
  position: absolute; left: 4px; top: 4px; width: 23px; height: 28px;
  background: var(--white);
}
.term__marker svg { width: 100%; height: 100%; }
.term__years { font-family: var(--f-cond); font-weight: 600; font-size: 30px; line-height: 1; letter-spacing: .02em; }
.term__card { display: grid; gap: 20px; margin-top: 16px; }
.term__photo { width: 160px; }
.term__photo .photo { --ratio: 5 / 6; }
.term__name { font-family: var(--f-display); font-size: clamp(26px, 3vw, 34px); line-height: 1.1; }
.term__facts { display: grid; gap: 4px; font-size: 15.5px; color: var(--ink-2); }
.term__facts b { font-weight: 600; color: var(--ink); }
.term__list { display: grid; gap: 8px; margin-top: 4px; font-size: 16px; }
.term__list li { position: relative; padding-left: 22px; }
.term__list li::before { content: ''; position: absolute; left: 0; top: .78em; width: 12px; height: 1px; background: var(--gold); }

.term--current .term__card { gap: 28px; }
.term--current .term__photo { width: min(320px, 100%); }
.term--current .term__name { font-size: clamp(34px, 4.4vw, 54px); }
.term--current .term__years { font-size: 40px; }

@media (min-width: 1000px) {
  .timeline::before { left: 50%; }
  .term { width: 50%; padding-left: 0; padding-right: 64px; text-align: right; padding-bottom: 72px; }
  .term__marker { left: auto; right: -12px; }
  .term:nth-child(even) { margin-left: 50%; padding-right: 0; padding-left: 64px; text-align: left; }
  .term:nth-child(even) .term__marker { right: auto; left: -11px; }
  .term__card { grid-template-columns: 1fr 160px; align-items: start; }
  .term__card > .term__photo { order: 2; }
  .term:nth-child(even) .term__card { grid-template-columns: 160px 1fr; }
  .term:nth-child(even) .term__card > .term__photo { order: 0; }
  .term:not(:nth-child(even)) .term__list li { padding-left: 0; padding-right: 22px; }
  .term:not(:nth-child(even)) .term__list li::before { left: auto; right: 0; }
  .term--current { width: 100%; text-align: left; padding: 0 0 88px; margin-left: 0; }
  .term--current .term__marker { left: calc(50% - 16px); right: auto; top: -8px; width: 32px; height: 38px; }
  .term--current .term__card {
    grid-template-columns: 360px 1fr; gap: 56px; background: var(--white); position: relative; align-items: center;
    border: 1px solid var(--line); border-top: 3px solid var(--gold); padding: 48px; margin-top: 44px;
  }
  .term--current .term__card > .term__photo { order: 0; width: 100%; }
  .term.term--current .term__list li { padding-left: 22px; padding-right: 0; }
  .term.term--current .term__list li::before { left: 0; right: auto; }
  .term--current + .term { margin-left: 50%; padding-left: 64px; padding-right: 0; text-align: left; }
}
.term__head { display: grid; gap: 8px; }
.term--current .term__head { margin-bottom: 0; }

.founding { display: grid; gap: 32px; }
@media (min-width: 1000px) { .founding { grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: center; } }

/* ---------- Patrocínio ---------- */

.stats { display: grid; grid-template-columns: repeat(2, 1fr); overflow: hidden; }
.stat { padding: 24px 16px 28px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); margin-right: -1px; display: grid; gap: 6px; align-content: start; }
.stat:nth-child(odd) { padding-left: 0; }
@media (min-width: 900px) {
  .stats { grid-template-columns: repeat(var(--n, 4), 1fr); }
  .stat { padding: 32px 24px 36px; }
  .stat:nth-child(odd) { padding-left: 24px; }
  .stat:first-child { padding-left: 0; }
}
.stat__value { font-family: var(--f-cond); font-weight: 600; font-size: clamp(48px, 7vw, 92px); line-height: .9; letter-spacing: -.005em; }
.stat__label { font-family: var(--f-cond); font-weight: 600; font-size: 16px; letter-spacing: .1em; text-transform: uppercase; }
.stat__note { font-size: 14.5px; color: var(--ink-2); }

.bars { display: grid; gap: 14px; }
.bar { display: grid; gap: 6px; }
.bar__top { display: flex; justify-content: space-between; gap: 12px; font-size: 15.5px; }
.bar__top b { font-family: var(--f-cond); font-weight: 600; font-size: 18px; }
.bar__track { height: 6px; background: var(--line); }
.bar__track span { display: block; height: 100%; background: var(--gold); }

.tiers { display: grid; gap: 24px; }
@media (min-width: 1000px) { .tiers { grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); } }
.tier { padding: 32px 28px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; background: var(--white); }
@media (min-width: 1000px) { .tier { border: 0; } .tier + .tier { border-left: 1px solid var(--line); } }
.tier--master { border-top: 3px solid var(--gold); }
@media (min-width: 1000px) { .tier--master { background: var(--paper); } }
.tier__name { font-family: var(--f-display); font-size: 36px; line-height: 1; }
.tier__list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.tier__list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.tier__list li svg { width: 16px; height: 16px; margin-top: 4px; color: var(--bronze); }
.tier__list li.is-off { color: #a39a8e; }
.tier__list li.is-off svg { color: #c9c0b3; }

.modes { display: grid; gap: 0; }
@media (min-width: 900px) { .modes { grid-template-columns: repeat(3, 1fr); } }
.mode { padding: 28px 0; border-bottom: 1px solid var(--line); display: grid; gap: 12px; align-content: start; }
@media (min-width: 900px) { .mode { padding: 32px 32px 36px 0; border-bottom: 0; } .mode + .mode { padding-left: 32px; border-left: 1px solid var(--line); } }
.mode__num { font-family: var(--f-cond); font-weight: 600; font-size: 15px; letter-spacing: .12em; color: var(--bronze); }

.cases { display: grid; gap: 40px; }
@media (min-width: 900px) { .cases { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.case { display: grid; gap: 14px; align-content: start; }
.case .photo { --ratio: 4 / 3; }
.case__result { font-family: var(--f-cond); font-weight: 600; font-size: 22px; letter-spacing: .02em; color: var(--ink); border-top: 1px solid var(--line); padding-top: 12px; }

.tier-group { display: grid; gap: 16px; margin-top: 40px; }
.tier-group:first-child { margin-top: 0; }

.director { display: grid; gap: 20px; padding: 28px; border: 1px solid var(--line); border-top: 3px solid var(--gold); background: var(--white); }
.director__name { font-family: var(--f-display); font-size: 28px; line-height: 1.1; }
.director__links { display: grid; gap: 8px; }
.director__links a { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.director__links a:hover { color: var(--bronze); }
.director__links svg { width: 17px; height: 17px; color: var(--bronze); }

/* ---------- Formulários ---------- */

.form { display: grid; gap: 20px; }
.form__row { display: grid; gap: 20px; }
@media (min-width: 700px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 7px; }
.field > span, .field legend {
  font-family: var(--f-cond); font-weight: 600; font-size: 13.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--brown);
}
.field > span em { font-style: normal; color: var(--ink-2); letter-spacing: .06em; font-weight: 500; text-transform: none; font-family: var(--f-body); font-size: 13px; }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 10px 14px;
  border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--white);
  transition: border-color .2s;
}
.textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath stroke='%238B6534' stroke-width='1.5' d='m1 1 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.input:hover, .select:hover, .textarea:hover { border-color: #b9ab93; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--bronze); flex: none; }
.form__note { font-size: 14px; color: var(--ink-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: 16px 18px; border: 1px solid var(--line-strong); border-left: 3px solid var(--gold); background: var(--paper); font-size: 15.5px; }
.alert--ok { border-left-color: var(--win); }
.alert--err { border-left-color: var(--loss); }
.alert strong { display: block; font-family: var(--f-cond); letter-spacing: .1em; text-transform: uppercase; font-size: 14px; margin-bottom: 2px; }

/* Checkout */
.summary { border: 1px solid var(--line); background: var(--white); }
.summary__head { padding: 20px 24px; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.summary__rows { padding: 8px 24px; }
.summary__row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.summary__row:last-child { border-bottom: 0; }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 24px; border-top: 1px solid var(--ink); }
.summary__total .price { font-size: 36px; }
.pay-methods { display: flex; gap: 8px; flex-wrap: wrap; }

.lots { display: grid; border-top: 1px solid var(--ink); }
.lot { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.lot__name { font-family: var(--f-cond); font-weight: 600; font-size: 18px; letter-spacing: .06em; text-transform: uppercase; }
.lot--past { color: #a39a8e; }
.lot--past .lot__name { text-decoration: line-through; text-decoration-thickness: 1px; }
.lot--now .lot__name::after { content: 'Em venda'; margin-left: 10px; font-size: 12px; letter-spacing: .14em; color: var(--bronze); border: 1px solid var(--gold); padding: 2px 6px; vertical-align: 2px; }
.lot__price { font-family: var(--f-cond); font-weight: 600; font-size: 22px; }

/* ---------- Rodapé ---------- */

.site-footer { background: var(--brown); color: rgba(255, 255, 255, .86); margin-top: 0; }
.site-footer a:hover { color: var(--gold-light); }
.site-footer__sponsors { border-bottom: 1px solid rgba(255, 255, 255, .12); padding-block: 28px; }
.site-footer__sponsors-in { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; }
.site-footer__sponsors .label { color: var(--gold-light); }
.site-footer__sponsors .wordmark { color: rgba(255, 255, 255, .6); font-size: 17px; }
.site-footer__sponsors img { max-height: 36px; width: auto; filter: grayscale(1) brightness(2.2); opacity: .75; }
.site-footer__main { display: grid; gap: 40px; padding-block: 56px 48px; }
@media (min-width: 900px) { .site-footer__main { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; } }
.site-footer__brand { display: grid; gap: 20px; align-content: start; }
.site-footer__brand img { width: 92px; }
.site-footer__brand p { max-width: 34ch; font-size: 15.5px; color: rgba(255, 255, 255, .72); }
.site-footer h2 { font-family: var(--f-cond); font-weight: 600; font-size: 13.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 16px; }
.site-footer__links { display: grid; gap: 9px; font-size: 15.5px; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 20px 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: rgba(255, 255, 255, .6); }
.site-footer .socials .social { border-color: rgba(255, 255, 255, .25); color: #fff; }
.site-footer .socials .social:hover { border-color: var(--gold-light); color: var(--gold-light); }
.site-footer .stripes { background: repeating-linear-gradient(180deg, var(--gold) 0 3px, transparent 3px 7px); }

/* ---------- Animações ---------- */

.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal-group] > * { opacity: 0; transform: translateY(12px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.js [data-reveal-group].is-in > * { opacity: 1; transform: none; }
.js [data-reveal-group].is-in > *:nth-child(2) { transition-delay: .05s; }
.js [data-reveal-group].is-in > *:nth-child(3) { transition-delay: .1s; }
.js [data-reveal-group].is-in > *:nth-child(4) { transition-delay: .15s; }
.js [data-reveal-group].is-in > *:nth-child(5) { transition-delay: .2s; }
.js [data-reveal-group].is-in > *:nth-child(n+6) { transition-delay: .25s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js [data-reveal], .js [data-reveal-group] > * { opacity: 1; transform: none; }
}

/* ---------- Utilitários ---------- */

.stack-8 > * + * { margin-top: 8px; }
.stack-16 > * + * { margin-top: 16px; }
.stack-24 > * + * { margin-top: 24px; }
.stack-32 > * + * { margin-top: 32px; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.row--between { justify-content: space-between; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.u-link { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.u-link:hover { color: var(--bronze); }

/* Notícias em 4 colunas na home */
@media (min-width: 1100px) { .news-list--4 { grid-template-columns: repeat(4, 1fr); gap: 32px 28px; } .news-list--4 .story__title { font-size: 21px; } }
.news-list--4 .story__dek { display: none; }
@media (min-width: 700px) { .news-list--4 .story__dek { display: block; font-size: 15.5px; } }

/* ---------- Filtro de jogos: abas + seletores ---------- */
.gf { border-bottom: 1px solid var(--line); }
.gf__tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.gf__tabs::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .gf__tabs { margin-inline: 0; padding-inline: 0; gap: 36px; } }
.gf__tab {
  position: relative; flex: none; display: flex; align-items: baseline; gap: 8px;
  padding: 18px 0 14px; font-family: var(--f-cond); font-weight: 600; font-size: 19px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2);
}
.gf__tab small { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.gf__tab:hover { color: var(--ink); }
.gf__tab[aria-current='page'] { color: var(--ink); }
.gf__tab[aria-current='page']::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--gold); }
.gf__bar { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; padding: 18px 0 20px; align-items: end; }
.gf__select { display: grid; gap: 4px; min-width: 0; }
.gf__select:nth-child(2), .gf__select:first-of-type { grid-column: auto; }
.gf__select span { font-family: var(--f-cond); font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.gf__select select {
  appearance: none; width: 100%; min-height: 44px; padding: 0 36px 0 0;
  border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; background: transparent;
  font-family: var(--f-body); font-size: 16.5px; color: var(--ink); cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath stroke='%231F1A14' stroke-width='1.5' d='m1 1 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 4px center;
}
.gf__select select:hover { border-bottom-color: var(--ink); }
.gf__select select:focus { outline: none; border-bottom: 2px solid var(--ink); }
.gf__clear { font-family: var(--f-cond); font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--bronze); padding-bottom: 12px; white-space: nowrap; }
.gf__clear:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 599px) { .gf__select:first-of-type { grid-column: 1 / -1; } }
@media (min-width: 900px) { .gf__bar { grid-template-columns: 220px 280px 180px auto; justify-content: start; gap: 32px; } }

/* ---------- Faça parte ---------- */
.join-paths { display: grid; gap: 40px; }
@media (min-width: 900px) { .join-paths { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.join-path { display: grid; gap: 16px; align-content: start; border-top: 3px solid var(--ink); padding-top: 14px; }
.join-path .bar-head__link { margin-top: 4px; }
.join-fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.join-type { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line-strong); }
.field-legend { font-family: var(--f-cond); font-weight: 600; font-size: 13.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--brown); padding: 0 0 8px; }
.join-type__opt { position: relative; cursor: pointer; }
.join-type__opt + .join-type__opt { border-left: 1px solid var(--line-strong); }
.join-type__opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.join-type__opt span { display: grid; place-items: center; min-height: 52px; font-family: var(--f-cond); font-weight: 600; font-size: 17px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); transition: background .15s, color .15s; }
.join-type__opt input:checked + span { background: var(--ink); color: var(--white); }
.join-type__opt input:focus-visible + span { outline: 2px solid var(--bronze); outline-offset: -4px; }
.join-type__opt:hover span { color: var(--ink); }
.join-type__opt input:checked:hover + span { color: var(--white); }


/* ==================== Painel ==================== */

/* Painel administrativo da Veiga */

.adm { min-height: 100vh; background: var(--paper); font-size: 15.5px; }
.adm-shell { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 100vh; }
@media (min-width: 1000px) { .adm-shell { grid-template-columns: 250px 1fr; } }

.adm-side {
  background: var(--white); border-right: 1px solid var(--line);
  display: flex; flex-direction: column;
}
@media (min-width: 1000px) { .adm-side { position: sticky; top: 0; height: 100vh; overflow-y: auto; } }
.adm-side__brand { display: flex; align-items: center; gap: 10px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.adm-side__brand img { width: 34px; height: auto; }
.adm-side__brand strong { font-family: var(--f-display); font-size: 18px; display: block; line-height: 1.1; }
.adm-side__brand span { font-family: var(--f-cond); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze); }
.adm-nav { padding: 12px 10px 20px; display: grid; gap: 1px; }
.adm-nav__group { font-family: var(--f-cond); font-weight: 600; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); padding: 16px 10px 6px; }
.adm-nav a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 10px; border-left: 2px solid transparent;
  font-size: 15px;
}
.adm-nav a:hover { background: var(--paper); }
.adm-nav a[aria-current='page'] { border-left-color: var(--gold); background: var(--paper); font-weight: 600; }
.adm-nav .count { font-family: var(--f-cond); font-weight: 600; font-size: 12.5px; background: var(--ink); color: var(--white); padding: 1px 7px; border-radius: 2px; }
.adm-side__foot { margin-top: auto; padding: 16px 20px; border-top: 1px solid var(--line); font-size: 14px; display: grid; gap: 8px; }
.adm-side__foot button { all: unset; cursor: pointer; color: var(--bronze); font-weight: 600; }
.adm-side__foot button:hover { color: var(--ink); }
@media (max-width: 999px) {
  .adm-nav { grid-auto-flow: column; overflow-x: auto; padding: 8px; }
  .adm-nav__group { display: none; }
  .adm-nav a { white-space: nowrap; border-left: 0; border-bottom: 2px solid transparent; }
  .adm-nav a[aria-current='page'] { border-bottom-color: var(--gold); }
  .adm-side__foot { display: none; }
}

.adm-main { padding: 28px var(--gutter) 64px; min-width: 0; }
@media (min-width: 1000px) { .adm-main { padding: 36px 48px 72px; } }
.adm-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.adm-head h1 { font-family: var(--f-display); font-size: clamp(28px, 3vw, 38px); line-height: 1.1; }
.adm-head .label { display: block; margin-bottom: 6px; }

.panel { background: var(--white); border: 1px solid var(--line); }
.panel + .panel { margin-top: 24px; }
.panel__head { padding: 16px 20px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.panel__head h2 { font-family: var(--f-cond); font-weight: 600; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; }
.panel__body { padding: 20px; }
@media (min-width: 800px) { .panel__body { padding: 24px 28px; } }

.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th {
  text-align: left; font-family: var(--f-cond); font-weight: 600; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--brown);
  padding: 12px 16px; border-bottom: 1px solid var(--line-strong); white-space: nowrap; background: var(--paper);
}
.tbl td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover { background: #fdfcf9; }
.tbl a.tbl__title { font-weight: 600; }
.tbl a.tbl__title:hover { color: var(--bronze); text-decoration: underline; }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl img.thumb { width: 44px; height: 44px; object-fit: contain; background: var(--paper); }
.tbl .unread td { font-weight: 600; }

.pill { display: inline-block; font-family: var(--f-cond); font-weight: 600; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border: 1px solid var(--line-strong); white-space: nowrap; }
.pill--ok { border-color: #9cb897; color: var(--win); background: #f3f8f2; }
.pill--warn { border-color: var(--gold); color: var(--bronze); background: #fbf6ea; }
.pill--bad { border-color: #d9a79c; color: var(--loss); background: #fbf2f0; }
.pill--new { border-color: var(--ink); background: var(--ink); color: var(--white); }

.kpis { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); grid-template-columns: repeat(2, 1fr); margin-bottom: 24px; }
@media (min-width: 900px) { .kpis { grid-template-columns: repeat(4, 1fr); } }
.kpi { background: var(--white); padding: 20px; display: grid; gap: 4px; }
.kpi b { font-family: var(--f-cond); font-weight: 600; font-size: 38px; line-height: 1; }
.kpi span { font-family: var(--f-cond); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.kpi a { font-size: 14px; color: var(--bronze); }

.adm-form { display: grid; gap: 18px; }
.adm-form .grid-2 { display: grid; gap: 18px; }
@media (min-width: 800px) { .adm-form .grid-2 { grid-template-columns: 1fr 1fr; } }
.adm-form .field > span { font-size: 12.5px; }
.adm-form .input, .adm-form .select, .adm-form .textarea { min-height: 42px; font-size: 15.5px; }
.adm-form .textarea--lg { min-height: 380px; font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: 14.5px; line-height: 1.6; }
.adm-form .help { font-size: 13.5px; color: var(--ink-2); }
.adm-form .check-field { display: flex; align-items: center; min-height: 42px; margin-top: 22px; }
.adm-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding-top: 8px; }
.adm-actions__left { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

.img-field { display: grid; grid-template-columns: 88px 1fr; gap: 14px; align-items: center; }
.img-field__preview { width: 88px; height: 88px; background: var(--ph); display: grid; place-items: center; border: 1px solid var(--line); overflow: hidden; }
.img-field__preview img { width: 100%; height: 100%; object-fit: cover; }
.img-field input[type='file'] { font-size: 14px; max-width: 100%; }

.md-help { font-size: 13px; color: var(--ink-2); background: var(--paper); border: 1px solid var(--line); padding: 10px 12px; line-height: 1.7; }
.md-help code { background: var(--white); border: 1px solid var(--line); padding: 0 4px; }

.btn-danger { background: none; border: 1px solid #d9a79c; color: var(--loss); min-height: 40px; padding: 0 16px; font-family: var(--f-cond); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: 14px; cursor: pointer; border-radius: 2px; }
.btn-danger:hover { background: var(--loss); color: #fff; border-color: var(--loss); }
.btn-link { all: unset; cursor: pointer; color: var(--bronze); font-weight: 600; font-size: 14px; }
.btn-link:hover { color: var(--ink); text-decoration: underline; }

.score-form { display: flex; align-items: center; gap: 6px; }
.score-form input[type='number'] { width: 56px; min-height: 36px; padding: 4px 6px; text-align: center; border: 1px solid var(--line-strong); font-family: var(--f-cond); font-weight: 600; font-size: 18px; }
.score-form label.check { font-size: 13.5px; align-items: center; }
.score-form .btn { min-height: 36px; padding: 0 12px; font-size: 13px; }

.photo-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.photo-tile { border: 1px solid var(--line); background: var(--white); display: grid; }
.photo-tile .photo { --ratio: 4 / 3; }
.photo-tile__bar { display: flex; gap: 2px; padding: 6px; flex-wrap: wrap; align-items: center; }
.photo-tile__bar form { display: contents; }
.photo-tile__bar button { all: unset; cursor: pointer; font-size: 12.5px; padding: 3px 6px; border: 1px solid var(--line); font-family: var(--f-cond); letter-spacing: .06em; text-transform: uppercase; }
.photo-tile__bar button:hover { border-color: var(--ink); }
.photo-tile__bar button.del { color: var(--loss); margin-left: auto; }
.photo-tile__alt { display: flex; gap: 4px; padding: 0 6px 6px; }
.photo-tile__alt input { flex: 1; min-width: 0; font-size: 13px; padding: 4px 6px; border: 1px solid var(--line); }
.photo-tile.is-cover { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }

.dropzone { border: 1px dashed var(--line-strong); background: var(--paper); padding: 28px; text-align: center; display: grid; gap: 10px; justify-items: center; }
.dropzone.is-over { border-color: var(--gold); background: #fbf6ea; }
.progress { height: 4px; background: var(--line); width: 100%; max-width: 420px; }
.progress span { display: block; height: 100%; background: var(--gold); transition: width .2s; }

.lots-tbl input { width: 100%; min-width: 80px; min-height: 38px; padding: 4px 8px; border: 1px solid var(--line-strong); }
.lots-tbl td { padding: 8px 10px; }

/* ---------- Tela de login do painel ---------- */
.login {
  position: relative; min-height: 100vh; overflow: hidden;
  display: grid; grid-template-rows: 1fr auto; justify-items: center;
  padding: 72px 16px 24px;
  background: radial-gradient(120% 80% at 50% 0%, #5a4029 0%, #3a2918 55%, #2a1d11 100%);
  color: rgba(255, 255, 255, .78);
}
.login__mark {
  position: absolute; right: -8vw; bottom: -18vh; width: min(52vw, 640px); max-width: none;
  opacity: .035; filter: grayscale(.4);
  pointer-events: none; user-select: none;
}
.login__rule { position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--gold); }
.login__card {
  position: relative; align-self: center; width: 100%; max-width: 420px;
  background: var(--white); color: var(--ink);
  border-radius: 4px; box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .55);
  padding: 64px 36px 32px; display: grid; gap: 24px;
}
@media (max-width: 480px) { .login__card { padding: 60px 22px 26px; } }
.login__crest {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -52%);
  width: 76px; height: auto; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .25));
}
.login__head { text-align: center; display: grid; gap: 6px; }
.login__head .label { color: var(--bronze); }
.login__title { font-family: var(--f-display); font-weight: 500; font-size: 32px; line-height: 1.1; }
.login__form { display: grid; gap: 16px; }
.login__field { display: grid; gap: 6px; }
.login__field > span { font-family: var(--f-cond); font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--brown); }
.login__control { position: relative; display: flex; align-items: center; }
.login__control > svg { position: absolute; left: 14px; width: 18px; height: 18px; color: #a0937f; pointer-events: none; }
.login__control input {
  width: 100%; min-height: 50px; padding: 0 46px 0 44px;
  border: 1px solid var(--line-strong); border-radius: 3px; background: #fff;
  font-family: var(--f-body); font-size: 16px; color: var(--ink); letter-spacing: 0; text-transform: none;
  transition: border-color .15s, box-shadow .15s;
}
.login__control input::placeholder { color: #a39a8e; }
.login__control input:hover { border-color: #b9ab93; }
.login__control input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176, 138, 60, .18); }
.login__control input:focus + svg, .login__control:focus-within > svg { color: var(--bronze); }
.login__eye {
  position: absolute; right: 6px; width: 38px; height: 38px; display: grid; place-items: center;
  background: none; border: 0; cursor: pointer; color: #8a7d69; border-radius: 3px;
}
.login__eye:hover { color: var(--ink); background: var(--paper); }
.login__eye svg { width: 18px; height: 18px; }
.login__submit { min-height: 50px; font-size: 16px; margin-top: 4px; border-radius: 3px; }
.login__help { font-size: 14px; color: var(--ink-2); text-align: center; line-height: 1.5; border-top: 1px solid var(--line); padding-top: 18px; }
.login__foot { position: relative; display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; font-size: 14px; padding-top: 32px; }
.login__foot a { color: #fff; font-weight: 600; }
.login__foot a:hover { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
.login .alert { font-size: 15px; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 16px; }
.filter-bar .select, .filter-bar .input { min-height: 38px; width: auto; font-size: 14.5px; padding-top: 4px; padding-bottom: 4px; }
