:root {
  --ink: #061b33;
  --navy: #071b46;
  --blue: #277ca8;
  --blue-dark: #1a5f82;
  --cyan: #7fc7df;
  --gold: #d8b572;
  --gold-dark: #c4a052;
  --coral: #eb5e55;
  --green: #19a974;
  --paper: #f7f3ea;
  --white: #fff;
  --muted: #637083;
  --line: rgba(6, 27, 51, .12);
  --focus-ring: 0 0 0 3px rgba(216, 181, 114, .6);
  --touch-min: 44px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ========== HEADER ========== */
.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--white);
  will-change: background, box-shadow;
  transition: background .25s ease, box-shadow .25s ease;
}

.site-header[data-elevated="true"] {
  background: rgba(5, 23, 55, .94);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: var(--touch-min);
}

.hero-logo {
  display: block;
  max-width: 100%;
  height: auto;
  width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}

.site-header[data-elevated="true"] .hero-logo {
  opacity: 1;
  visibility: visible;
}

/* ========== BASE TYPOGRAPHY ========== */
.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(56px, 10vw, 128px);
  line-height: .86;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 58px);
  line-height: .95;
  letter-spacing: 0;
}

h3 {
  line-height: 1.08;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 10dvh;
  display: grid;
  align-content: end;
  padding: 10px clamp(18px, 5vw, 72px) 52px;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .42;
}

.hero-overlay {
  background:
    radial-gradient(circle at 78% 44%, rgba(216, 181, 114, .22), transparent 34%),
    linear-gradient(90deg, rgba(3, 13, 36, .96) 0%, rgba(3, 13, 36, .82) 43%, rgba(3, 13, 36, .34) 100%),
    linear-gradient(0deg, rgba(3, 13, 36, .88), rgba(3, 13, 36, .08) 48%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-identity {
  position: absolute;
  z-index: 1;
  right: clamp(-70px, 4vw, 72px);
  bottom: 0;
  width: min(48vw, 610px);
  margin: 0;
  pointer-events: none;
}

.hero-identity::before {
  content: "";
  position: absolute;
  inset: 16% 2% 0 10%;
  z-index: -1;
  border-radius: 45%;
  background: radial-gradient(circle, rgba(216, 181, 114, .34), transparent 66%);
  filter: blur(22px);
}

.hero-identity img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 28px 44px rgba(0, 0, 0, .42));
}

.hero-copy {
  max-width: 620px;
  color: rgba(255, 255, 255, .84);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.38;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

/* ========== BUTTONS / ACTIONS ========== */
.ticket-button,
.primary-action,
.secondary-action,
.live-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch-min);
  min-width: var(--touch-min);
  padding: 0 18px;
  border-radius: 4px;
  font-weight: 900;
  font-size: 16px;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

@media (hover: hover) {
  .ticket-button:hover,
  .primary-action:hover,
  .live-card button:hover {
    background: var(--gold-dark);
  }

  .secondary-action:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .6);
  }

  .filters button:hover {
    transform: translateY(-1px);
    border-color: var(--blue);
    background: rgba(39, 124, 168, .08);
  }

  .filters button.active:hover {
    background: var(--blue-dark);
  }
}

.ticket-button,
.primary-action,
.live-card button {
  border: 0;
  background: var(--gold);
  color: #101820;
}

.secondary-action {
  border: 1px solid rgba(255, 255, 255, .42);
  color: var(--white);
}

/* ========== BANNER WRAPPER ========== */
.banner-wrapper {
  position: relative;
  width: 100%;
}

.banner-wrapper img {
  display: block;
  width: 100%;
  height: auto;
}

/* ========== COUNTDOWN ========== */
.countdown {
  width: 100%;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .28);
  background:
    radial-gradient(circle at 30% 70%, rgba(0, 212, 255, .18), transparent 42%),
    rgba(7, 27, 70, .76);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .28);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--white);
}

.countdown > span {
  display: block;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  text-align: center;
}

.countdown-item {
  display: grid;
  gap: 8px;
  align-content: center;
  min-height: 96px;
  padding: 12px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
}

.countdown-item strong {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.countdown-item small {
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

/* ========== SCOREBAND ========== */
.scoreband {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--navy);
  color: var(--white);
}

.scoreband div {
  min-height: 126px;
  padding: 24px clamp(18px, 4vw, 46px);
  border-right: 1px solid rgba(255, 255, 255, .12);
}

.scoreband div:last-child {
  border-right: 0;
}

.scoreband strong,
.scoreband span {
  display: block;
}

.scoreband strong {
  color: var(--gold);
  font-size: clamp(34px, 5vw, 62px);
  line-height: .9;
}

.scoreband span {
  margin-top: 8px;
  color: rgba(255, 255, 255, .76);
  font-weight: 800;
}

/* ========== SECTION SHELL ========== */
.section-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 76px 0;
}

/* ========== LIVE STRIP ========== */
.live-strip {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 520px);
  gap: 28px;
  align-items: center;
}

.live-card {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 14px;
  align-items: center;
  min-height: 84px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(6, 27, 51, .08);
}

.live-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 8px rgba(235, 94, 85, .16);
}

.live-card span:last-of-type {
  color: var(--muted);
  font-weight: 800;
}

/* ========== SECTION HEADING ========== */
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 28px;
}

.section-heading > a {
  color: var(--blue);
  font-weight: 900;
  white-space: nowrap;
  transition: color .2s ease;
}

@media (hover: hover) {
  .section-heading > a:hover {
    color: var(--blue-dark);
  }
}

/* ========== FILTERS ========== */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.filters button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-weight: 600;
  font-size: 13px;
  transition: border-color .2s ease, background .2s ease, color .2s ease, transform .15s ease;
}

.filters button.active {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(39, 124, 168, .25);
}

.filters button.active .filter-icon {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .2));
}

.filter-icon {
  font-size: 15px;
  line-height: 1;
}

.filter-text {
  letter-spacing: 0;
}

/* ========== FIXTURE LIST ========== */
.fixture-list {
  display: grid;
  gap: 12px;
}

.fixture {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 18px;
  align-items: center;
  min-height: 98px;
  padding: 18px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(6, 27, 51, .06);
}

.fixture[hidden] {
  display: none;
}

.fixture time {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--blue);
  font-weight: 900;
  line-height: 1.2;
}

.fixture time .data {
  font-size: inherit;
}

.fixture time .hora {
  font-size: 11px;
  font-weight: 700;
  opacity: .8;
  white-space: nowrap;
}

.fixture strong {
  display: block;
  font-size: 19px;
}

.fixture .obs {
  display: block;
  margin-top: 3px;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 600;
  font-style: italic;
}

.fixture span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-weight: 700;
}

.fixture b {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 104, 255, .1);
  color: var(--blue);
  font-size: 12px;
  text-transform: uppercase;
}

/* ========== EVENTOS PASSADOS E DO DIA ========== */
.fixture.passed {
  opacity: .5;
  filter: grayscale(.7);
  position: relative;
  min-height: auto;
  padding: 10px 14px;
  gap: 10px;
  grid-template-columns: 70px 1fr auto;
}

.fixture.passed time {
  color: var(--muted);
}

.fixture.passed time .hora {
  color: var(--muted);
  opacity: .7;
}

.fixture.passed strong {
  font-size: 14px;
  text-decoration: line-through;
  text-decoration-color: var(--muted);
}

.fixture.passed span {
  font-size: 12px;
  margin-top: 2px;
}

.fixture.passed b {
  font-size: 10px;
  padding: 4px 8px;
}

.fixture.today {
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 2px var(--gold), 0 12px 36px rgba(216, 181, 114, .28);
  background: linear-gradient(135deg, #fffef5, #fff8e8);
  position: relative;
  min-height: 110px;
  padding: 20px 22px;
}

.fixture.today::before {
  content: "🔸 HOJE";
  position: absolute;
  top: -1px;
  right: 18px;
  padding: 4px 14px;
  border-radius: 0 0 8px 8px;
  background: var(--gold);
  color: #101820;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
}

.fixture.today time {
  color: var(--gold-dark);
}

.fixture.today time .data {
  font-size: 15px;
}

.fixture.today time .hora {
  font-size: 12px;
  opacity: .8;
}

.fixture.today strong {
  font-size: 20px;
}

.fixture.today .obs {
  color: var(--gold-dark);
  font-size: 14px;
}

.fixture.today span {
  font-size: 14px;
  color: var(--ink);
  opacity: .7;
}

.fixture.today b {
  background: var(--gold);
  color: #101820;
  font-size: 11px;
  padding: 6px 14px;
}

/* ========== DIVISÓRIA ========== */
.divider {
  height: 1px;
  margin: 8px 0;
  background: var(--line);
  position: relative;
}

.divider::after {
  content: "Passados";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0 12px;
  background: var(--paper);
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  white-space: nowrap;
}

/* ========== BOTÃO CARREGAR MAIS ========== */
.load-more {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 12px 20px;
  border: 2px solid var(--blue);
  border-radius: 8px;
  background: transparent;
  color: var(--blue);
  font-weight: 900;
  font-size: 14px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.load-more--prev {
  border-color: var(--muted);
  color: var(--muted);
}

@media (hover: hover) {
  .load-more:hover {
    background: var(--blue);
    color: var(--white);
  }

  .load-more--prev:hover {
    background: var(--muted);
    color: var(--white);
  }
}

/* ========== EVENTOS FUTUROS ========== */
.fixture:not(.passed):not(.today) {
  min-height: auto;
  padding: 12px 16px;
  gap: 12px;
  grid-template-columns: 80px 1fr auto;
}

.fixture:not(.passed):not(.today) time .data {
  font-size: 12px;
}

.fixture:not(.passed):not(.today) time .hora {
  font-size: 10px;
}

.fixture:not(.passed):not(.today) strong {
  font-size: 15px;
}

.fixture:not(.passed):not(.today) .obs {
  font-size: 12px;
  margin-top: 2px;
}

.fixture:not(.passed):not(.today) span {
  font-size: 12px;
  margin-top: 3px;
}

.fixture:not(.passed):not(.today) b {
  font-size: 10px;
  padding: 5px 10px;
}

/* ========== NEWS ========== */
.news-band {
  background: #e7eef2;
}

.news-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr;
  gap: 18px;
}

.news-grid article {
  display: flex;
  flex-direction: column;
  justify-content: start;
  min-height: 210px;
  padding: 20px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(6, 27, 51, .07);
}

.news-grid article span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.lead-news {
  grid-row: span 2;
  padding: 0 !important;
  overflow: hidden;
}

.lead-news img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  padding: 22px 20px 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(216, 181, 114, .28), transparent 46%),
    linear-gradient(135deg, #071b46, #277ca8);
}

.lead-news div {
  padding: 20px;
}

.lead-news h3 {
  font-size: clamp(24px, 3vw, 36px);
}

.news-grid article:not(.lead-news) h3 {
  flex: 1;
  font-size: 18px;
}

/* ========== VISIT ========== */
.visit {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 46px;
  align-items: start;
}

.visit p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.visit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.visit-grid article {
  display: flex;
  flex-direction: column;
  min-height: 190px;
  padding: 20px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
}

.visit-grid strong,
.visit-grid span {
  display: block;
}

.visit-grid strong {
  font-size: 20px;
}

.visit-grid span {
  margin-top: 14px;
  color: rgba(255, 255, 255, .72);
  line-height: 1.45;
}

/* ========== SPONSORS ========== */
.sponsors-band {
  background: var(--white);
  border-top: 1px solid var(--line);
}

.sponsors {
  padding-top: 66px;
}

.sponsor-tier {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 22px;
  align-items: stretch;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.sponsor-tier > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.sponsor-master {
  align-items: center;
  justify-content: center;
  grid-template-columns: 1fr;
}

.sponsor-master .sponsor-grid {
  grid-template-columns: repeat(6, 1fr);
  place-items: center;
}

.sponsor-master .sponsor-grid img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.sponsor-master .sponsor-logo {
  min-height: 132px;
  font-size: clamp(28px, 4vw, 52px);
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(0, 212, 255, .14), rgba(242, 184, 75, .2)),
    var(--paper);
}

.sponsor-grid,
.support-grid {
  display: grid;
  gap: 12px;
}

.sponsor-grid {
  grid-template-columns: repeat(4, 1fr);
}

.support-grid {
  grid-template-columns: repeat(6, 1fr);
}

.sponsor-logo {
  display: grid;
  place-items: center;
  min-height: 92px;
  padding: 16px;
  border: 1px dashed rgba(6, 27, 51, .24);
  border-radius: 8px;
  background: #f9fbfe;
  color: rgba(6, 27, 51, .46);
  font-weight: 900;
  text-align: center;
}

/* ========== LINEUP CAROUSEL ========== */
.lineup-section {
  height: 400px;
  padding-top: 40px;
  padding-bottom: 40px;
}

.lineup-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  height: 400px;
}

.lineup-track {
  display: flex;
  gap: 16px;
  transition: transform .5s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}

.lineup-card {
  position: relative;
  flex: flex-center;
  flex: 0 0 calc(25% - 12px);
  min-width: calc(25% - 12px);
  height: 400px;
  overflow: hidden;
  border-radius: 8px;
}

.lineup-card img {
  display: block;
  width: 283px;
  height: 400px;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  opacity: .92;
  transition: opacity .3s ease, transform .5s ease;
  border-radius: 8px;
}

.lineup-card:hover img {
  opacity: 1;
  transform: scale(1.05);
}

.new-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 14px;
  border-radius: 6px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
  z-index: 2;
}

.lineup-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: linear-gradient(0deg, rgba(3, 13, 36, .92) 0%, rgba(3, 13, 36, .64) 60%, transparent 100%);
  color: var(--white);
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 800;
  letter-spacing: -.01em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .4);
  border-radius: 0 0 8px 8px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--navy);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.carousel-btn:hover {
  background: var(--white);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .35);
}

.carousel-btn:active {
  transform: translateY(-50%) scale(.96);
}

.carousel-btn-prev {
  left: 16px;
}

.carousel-btn-next {
  right: 16px;
}

@media (max-width: 1024px) {
  .lineup-card {
    flex: 0 0 calc(33.333% - 11px);
    min-width: calc(33.333% - 11px);
  }
}

@media (max-width: 768px) {
  .lineup-card {
    flex: 0 0 calc(50% - 8px);
    min-width: calc(50% - 8px);
  }
  
  .lineup-track {
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .lineup-card {
    flex: 0 0 calc(100% - 0px);
    min-width: 100%;
  }
  
  .lineup-track {
    gap: 0;
  }
  
  .carousel-btn {
    width: 40px;
    height: 40px;
  }
  
  .carousel-btn-prev {
    left: 10px;
  }
  
  .carousel-btn-next {
    right: 10px;
  }
  
  .new-badge {
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    font-size: 11px;
  }
  
  .lineup-caption {
    padding: 14px 16px;
    font-size: 16px;
  }
}

/* ========== FOOTER ========== */
footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  background: #030d24;
  color: rgba(255, 255, 255, .72);
}

footer strong {
  color: var(--white);
}

/* ==========================================
   RESPONSIVE: TABLET E TELAS MÉDIAS (≤ 860px)
   ========================================== */
@media (max-width: 860px) {
  .site-header {
    min-height: 64px;
  }

  nav {
    display: none;
  }

  .ticket-button {
    margin-left: auto;
  }

  .hero {
    min-height: 100dvh;
    padding-top: 104px;
    align-items: start;
    padding-bottom: 40px;
  }

  .hero-content {
    padding-top: 0;
    max-width: 55%;
  }

  .hero-identity {
    right: -60px;
    bottom: 140px;
    width: min(56vw, 380px);
    opacity: .62;
  }

  .countdown {
    width: 100%;
  }

  .countdown-grid {
    gap: 8px;
  }

  .countdown-item {
    min-height: 84px;
  }

  .scoreband,
  .live-strip,
  .visit {
    grid-template-columns: 1fr;
  }

  .scoreband div {
    min-height: 108px;
  }

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

  .lead-news {
    grid-row: span 1;
  }

  .lead-news img {
    aspect-ratio: 16 / 9;
  }

  .visit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sponsor-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sponsor-master .sponsor-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .support-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .sponsor-tier {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .section-heading {
    display: block;
  }

  .section-heading > a {
    display: inline-block;
    margin-top: 8px;
  }

  .filters {
    margin-top: 18px;
    gap: 6px;
  }

  .filters button {
    min-height: 32px;
    padding: 0 10px;
    font-size: 12px;
    gap: 4px;
  }

  .filter-icon {
    font-size: 13px;
  }

  .filter-text {
    font-size: 12px;
  }

  .fixture {
    grid-template-columns: 76px 1fr;
  }

  .fixture b {
    grid-column: 2;
    width: fit-content;
  }

  .live-card {
    grid-template-columns: auto 1fr;
  }

  .live-card button {
    grid-column: 1 / -1;
  }

  footer {
    display: block;
  }

  footer span {
    display: block;
    margin-top: 8px;
  }
}

/* ==========================================
   RESPONSIVE: TABLET PEQUENO / LARGE PHONE (≤ 660px)
   ========================================== */
@media (max-width: 660px) {
  .hero {
    min-height: 10dvh;
    padding-bottom: 32px;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    justify-content: flex-end;
  }

  .hero-content {
    padding-top: 0;
    max-width: 100%;
  }

  .hero-identity {
    position: relative;
    right: 0;
    bottom: auto;
    width: 260px;
    margin: 10px 0 10px auto;
    opacity: .7;
    align-self: flex-end;
    pointer-events: none;
  }

  .hero-identity::before {
    content: none;
  }

  .hero-identity img {
    filter: none;
  }

  .countdown {
    margin-top: 0;
  }

  .countdown-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  .countdown-item {
    min-height: 72px;
    padding: 10px 6px;
  }

  .countdown-item strong {
    font-size: clamp(24px, 5vw, 34px);
  }

  .countdown-item small {
    font-size: 11px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-actions {
    margin-top: 20px;
  }

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

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

  .sponsor-master .sponsor-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .support-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-shell {
    padding: 48px 0;
  }
}

/* ==========================================
   RESPONSIVE: SMARTPHONE (≤ 520px)
   ========================================== */
@media (max-width: 520px) {
  .site-header {
    padding: 12px clamp(12px, 4vw, 18px);
    min-height: 56px;
  }

  .hero-logo {
    width: 155px;
  }

  .brand {
    min-width: auto;
  }

  .ticket-button {
    min-height: 40px;
    padding: 0 12px;
    font-size: 13px;
  }

  h1 {
    font-size: 48px;
  }

  .hero {
    min-height: 100dvh;
    padding: 80px clamp(14px, 4vw, 20px) 24px;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    justify-content: flex-end;
    gap: 0;
  }

  .hero-content {
    padding-top: 0;
    max-width: 100%;
  }

  .hero-copy {
    font-size: 15px;
    max-width: 100%;
  }

  .hero-actions {
    margin-top: 16px;
    gap: 8px;
  }

  .hero-actions a {
    width: 100%;
    justify-content: center;
    font-size: 15px;
    padding: 0 14px;
  }

  .hero-identity {
    position: relative;
    right: 0;
    bottom: auto;
    width: 260px;
    margin: 0 0 0 auto;
    opacity: .6;
    z-index: 1;
    align-self: flex-end;
    pointer-events: none;
  }

  .hero-identity::before {
    content: none;
  }

  .hero-identity img {
    filter: none;
  }

  .countdown {
    padding: 12px;
  }

  .countdown-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }

  .countdown-item {
    min-height: 60px;
    padding: 8px 4px;
    gap: 4px;
  }

  .countdown-item strong {
    font-size: clamp(20px, 5vw, 26px);
  }

  .countdown-item small {
    font-size: 10px;
  }

  .fixture {
    grid-template-columns: 1fr;
    gap: 6px;
    min-height: auto;
    padding: 12px;
  }

  .fixture time {
    font-size: 12px;
  }

  .fixture strong {
    font-size: 16px;
  }

  .fixture b {
    width: fit-content;
    grid-column: auto;
    font-size: 11px;
    padding: 6px 10px;
  }

  .news-grid article {
    min-height: auto;
    padding: 16px;
  }

  .visit-grid article {
    min-height: auto;
    padding: 16px;
  }

  .section-shell {
    width: calc(100% - 28px);
    padding: 40px 0;
  }

  h2 {
    font-size: 26px;
  }

  .section-heading {
    margin-bottom: 18px;
  }

  footer {
    padding: 20px 14px;
  }
}

/* ==========================================
   RESPONSIVE: SMARTPHONE PEQUENO (≤ 380px)
   ========================================== */
@media (max-width: 460px) {
  .hero-logo {
    width: 240px;
  }

  .site-header {
    padding-left: 10px;
    padding-right: 10px;
  }

  .hero {
    padding: 72px 12px 20px;
  }

  .hero-identity {
    width: 340px;
  }

  .hero-copy {
    font-size: 14px;
  }

  .countdown {
    padding: 8px;
  }

  .countdown-grid {
    gap: 4px;
  }

  .countdown-item {
    min-height: 50px;
    padding: 6px 3px;
  }

  .countdown-item strong {
    font-size: 18px;
  }

  .countdown-item small {
    font-size: 9px;
  }

  .section-shell {
    width: calc(100% - 20px);
    padding: 30px 0;
  }

  h2 {
    font-size: 22px;
  }

  footer {
    padding: 18px 12px;
  }
}

/* ==========================================
   RESPONSIVE: LANDSCAPE MOBILE (altura limitada)
   ========================================== */
@media (max-height: 480px) and (orientation: landscape) {
  .site-header {
    min-height: 48px;
    padding: 8px 18px;
  }

  .hero-logo {
    width: 120px;
  }

  .hero {
    min-height: auto;
    padding: 52px 18px 14px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
  }

  .hero-content {
    flex: 1;
    min-width: 200px;
    max-width: 58%;
  }

  .hero-copy {
    font-size: 12px;
    max-width: 100%;
    margin-bottom: 0;
  }

  .hero-actions {
    margin-top: 6px;
    gap: 6px;
  }

  .hero-actions a {
    width: auto;
    font-size: 12px;
    padding: 0 10px;
    min-height: 32px;
  }

  .hero-identity {
    position: relative;
    right: auto;
    bottom: auto;
    width: 120px;
    margin: 0;
    opacity: .4;
    align-self: flex-end;
  }

  .hero-identity::before {
    content: none;
  }

  .hero-identity img {
    filter: none;
  }

  .countdown {
    position: relative;
    right: auto;
    left: auto;
    bottom: auto;
    width: 100%;
    margin-top: 6px;
    padding: 6px 10px;
    color: var(--white);
  }

  .countdown-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
  }

  .countdown-item {
    min-height: 34px;
    padding: 4px 2px;
    gap: 1px;
  }

  .countdown-item strong {
    font-size: 16px;
  }

  .countdown-item small {
    font-size: 8px;
  }

  .fixture {
    padding: 8px;
    min-height: auto;
  }

  .fixture strong {
    font-size: 14px;
  }

  .section-shell {
    padding: 24px 0;
  }

  .visit-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  footer {
    padding: 12px 18px;
  }
}

/* ==========================================
   REDUZIR MOVIMENTO (acessibilidade)
   ========================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ========== MODAL / POPUP DE IMAGEM ========== */
.image-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}

.image-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 13, 36, .92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-content {
  position: relative;
  z-index: 1001;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(.92);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
}

.image-modal.active .modal-content {
  transform: scale(1);
}

.modal-image {
  display: block;
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .5);
}

.modal-close {
  position: absolute;
  top: -48px;
  right: 0;
  z-index: 1002;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .95);
  color: var(--navy);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.modal-close:hover {
  background: var(--white);
  transform: scale(1.1);
}

.modal-close:active {
  transform: scale(.95);
}

/* ========== MODAL NAVEGAÇÃO ========== */
.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1002;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--navy);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-nav:hover {
  background: var(--white);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .35);
}

.modal-nav:active {
  transform: translateY(-50%) scale(.96);
}

.modal-nav-prev {
  left: 16px;
}

.modal-nav-next {
  right: 16px;
}

.modal-nav:disabled {
  opacity: .4;
  cursor: not-allowed;
  pointer-events: none;
}

@media (max-width: 640px) {
  .modal-content {
    max-width: 95vw;
    max-height: 88vh;
  }

  .modal-close {
    top: -44px;
    right: 0;
    width: 40px;
    height: 40px;
  }

  .modal-nav {
    width: 40px;
    height: 40px;
  }

  .modal-nav-prev {
    left: 10px;
  }

  .modal-nav-next {
    right: 10px;
  }

  .modal-image {
    max-height: 75vh;
  }
}

/* ========== MAPA CLICÁVEL ========== */
.clickable-map {
  cursor: pointer;
  transition: opacity .3s ease, transform .3s ease;
}

.clickable-map:hover {
  opacity: .85;
  transform: scale(1.01);
}

.clickable-map:focus {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
  border-radius: 4px;
}

/* ========== LOCATION / MAP ========== */
.location-section {
  color: var(--blue-dark);
  text-align: center;
  padding-top: 10px;
  padding-bottom: 100px;
}

.location-section .section-heading {
  text-align: center;
}

.location-section .section-heading h2 {
  text-align: center;
  color: var(--blue-dark);
}

.location-section .section-heading p {
  text-align: center;
  color: rgba(15, 0, 99, 0.8);
  font-size: 18px;
}

.map-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: 0;
}

@media (max-width: 860px) {
  .location-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .map-container iframe {
    height: 350px;
  }
}

@media (max-width: 520px) {
  .location-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .location-section .section-heading p {
    font-size: 16px;
  }

  .map-container iframe {
    height: 300px;
  }
}

