/* J30 Eventos — Home (mobile first) */

:root {
  --font-display: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-body: "DM Sans", "Segoe UI", system-ui, sans-serif;

  /* Logo-inspired: deep black fields + vibrant soccer green */
  --bg-deep: #050806;
  --bg-elevated: #0e1410;
  --bg-card: rgba(18, 28, 22, 0.85);

  --green: #21c962;
  --green-hover: #2fe078;
  --green-muted: rgba(33, 201, 98, 0.18);
  --green-glow: rgba(33, 201, 98, 0.35);

  --text: #f2f8f5;
  --text-muted: #9bb0a4;
  --border: rgba(33, 201, 98, 0.16);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --header-h: clamp(4rem, 3.25rem + 2vw, 4.75rem);
  --container: min(1120px, calc(100% - 1.25rem));
  --space-page: clamp(1.25rem, 4vw, 2.5rem);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: clamp(0.9375rem, 0.9rem + 0.2vw, 1rem);
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 120% 70% at 50% -30%, rgba(33, 201, 98, 0.14), transparent 55%),
    radial-gradient(circle at 100% 20%, rgba(33, 201, 98, 0.06), transparent 40%);
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-inline: max(1rem, 4vw);
  background: rgba(5, 8, 6, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

/* backdrop-filter num ancestral quebra painéis position:fixed filhos (<960px drawer do menu). */
@media (max-width: 959px) {
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(5, 8, 6, 0.94);
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  flex-shrink: 0;
}

.brand img {
  width: clamp(2.65rem, 8vw, 3.25rem);
  height: auto;
  object-fit: contain;
}

.brand-text {
  display: none;
}

@media (min-width: 380px) {
  .brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  .brand-text strong {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--text);
  }

  .brand-text span {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--green);
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.menu-toggle {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--green-muted);
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
}

.menu-toggle-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 1.125rem;
}

.menu-toggle-inner span {
  display: block;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

body.nav-open .menu-toggle-inner span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

body.nav-open .menu-toggle-inner span:nth-child(2) {
  opacity: 0;
}

body.nav-open .menu-toggle-inner span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 98;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

body.nav-open .nav-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.site-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 101;
  padding: 1rem max(1rem, 4vw) max(2rem, calc(1.5rem + env(safe-area-inset-bottom, 0px)));
  background: linear-gradient(180deg, rgba(14, 20, 16, 0.98) 0%, var(--bg-deep) 100%);
  transform: translateX(100%);
  transition: transform 0.32s var(--ease);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 960px) {
  .menu-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    transform: none;
    padding: 0;
    background: transparent;
    overflow: visible;
    flex: 1;
    display: flex;
    justify-content: flex-end;
    inset: unset;
    top: unset;
    left: unset;
    right: unset;
    bottom: unset;
    height: auto;
  }

  .nav-backdrop {
    display: none;
  }

  body.nav-open .site-nav {
    transform: none;
  }
}

@media (max-width: 959px) {
  body.nav-open .site-nav {
    transform: translateX(0);
  }
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

@media (min-width: 960px) {
  .site-nav ul {
    flex-direction: row;
    align-items: center;
    gap: clamp(0.15rem, 1vw, 0.85rem);
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}

.site-nav a {
  display: block;
  padding: 0.85rem 0.9rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s;
}

@media (min-width: 960px) {
  .site-nav a {
    padding: 0.45rem 0.65rem;
    font-size: 0.88rem;
  }
}

.site-nav a:hover {
  color: var(--text);
  background: var(--green-muted);
}

.site-nav a[aria-current="page"] {
  color: var(--green);
  background: var(--green-muted);
}

.site-nav li.nav-accent a {
  color: var(--bg-deep);
  background: linear-gradient(135deg, var(--green) 0%, #18a34f 100%);
}

.site-nav li.nav-accent a:hover {
  filter: brightness(1.06);
}

/* ——— Main ——— */
main {
  flex: 1;
  width: var(--container);
  max-width: 100%;
  min-width: 0;
  margin-inline: auto;
  box-sizing: border-box;
}

.hero {
  padding: var(--space-page) 0 clamp(1.75rem, 6vw, 3rem);
  text-align: left;
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

@media (min-width: 640px) {
  .hero {
    padding-inline: 0;
  }
}

.hero-inner {
  position: absolute;
  z-index: 3;
  left: clamp(1rem, 4vw, 2.2rem);
  right: clamp(1rem, 4vw, 2.2rem);
  bottom: clamp(1rem, 4vw, 2rem);
  max-width: min(40rem, calc(100% - 2rem));
}

.hero-carousel {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-left: none;
  border-right: none;
  background: #0a100c;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  min-height: clamp(31rem, 84vh, 40rem);
}

.hero-carousel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 8, 6, 0.2) 0%, rgba(5, 8, 6, 0.72) 56%, rgba(5, 8, 6, 0.95) 100%),
    linear-gradient(90deg, rgba(5, 8, 6, 0.85) 0%, rgba(5, 8, 6, 0.45) 45%, rgba(5, 8, 6, 0.2) 100%);
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
}

.carousel-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-controls {
  position: absolute;
  z-index: 4;
  left: 0.65rem;
  right: 0.65rem;
  bottom: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.carousel-btn {
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(5, 8, 6, 0.62);
  color: #fff;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}

.carousel-dots {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  align-items: center;
}

.carousel-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
}

.carousel-dot.is-active {
  width: 1.4rem;
  background: var(--green);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.75rem;
}

.hero-eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  background: linear-gradient(90deg, var(--green), transparent);
}

.hero h1 {
  margin: 0 0 0.875rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 1.35rem + 3.8vw, 2.85rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero p {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, filter 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  color: var(--bg-deep);
  background: linear-gradient(135deg, var(--green) 0%, #12984a 100%);
  box-shadow: 0 8px 28px var(--green-glow);
}

.btn-primary:hover {
  filter: brightness(1.07);
}

.btn-ghost {
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: var(--green-muted);
}

/* Decoração angular (eco do logo) */
.hero-deco {
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
  height: 4px;
  max-width: 10rem;
  background: linear-gradient(90deg, var(--green), transparent);
  clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
}

/* Notícias */
.section-news {
  padding-inline: max(1rem, 4vw);
  padding-block: clamp(1.75rem, 6vw, 3.75rem);
}

.section-home-quem-somos {
  border-top: 1px solid var(--border);
}

.home-quem-somos-lead {
  margin: 0 0 0.85rem;
  max-width: 62ch;
  color: var(--text-muted);
  font-size: clamp(0.98rem, 0.94rem + 0.2vw, 1.06rem);
  line-height: 1.65;
}

.home-quem-somos-more {
  margin: 0;
}

.section-header {
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
  max-width: 36rem;
}

.section-header h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.35rem, 1.05rem + 1.8vw, 1.95rem);
  letter-spacing: -0.025em;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
}

.news-feed {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .news-feed {
    gap: 1.15rem;
  }
}

@media (min-width: 960px) {
  .hero {
    padding-top: clamp(1.4rem, 3vw, 2rem);
  }

  .hero-carousel {
    min-height: clamp(34rem, 75vh, 46rem);
  }

  .hero-inner {
    left: clamp(1.5rem, 4vw, 3.25rem);
    right: clamp(1.5rem, 4vw, 3.25rem);
    bottom: clamp(1.5rem, 4vw, 2.8rem);
    max-width: min(44rem, 72%);
  }

  .hero h1 {
    font-size: clamp(2.45rem, 2.1rem + 2vw, 4.15rem);
    max-width: 15ch;
  }

  .hero p {
    font-size: clamp(1rem, 0.94rem + 0.4vw, 1.28rem);
    max-width: 32ch;
  }

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

.news-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 0.65rem;
  padding: clamp(1.1rem, 3vw, 1.35rem);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s var(--ease);
}

.news-card:hover {
  border-color: rgba(33, 201, 98, 0.35);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
}

.news-card:focus-within {
  border-color: var(--green);
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.news-badge {
  display: inline-flex;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bg-deep);
  background: var(--green);
  padding: 0.28rem 0.55rem;
  border-radius: 6px;
}

.news-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.news-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.2rem);
  line-height: 1.35;
}

.news-card h3 a {
  color: var(--text);
  transition: color 0.2s;
}

.news-card h3 a:hover {
  color: var(--green);
}

.news-card .news-body p {
  margin: 0;
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.news-card .news-body p + p {
  margin-top: 0.5rem;
}

.news-card .news-body .news-lead {
  font-weight: 500;
  color: var(--text);
  opacity: 0.92;
}

.news-empty,
.news-alert {
  grid-column: 1 / -1;
  margin: 0;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
}

.news-alert {
  border-color: rgba(33, 201, 98, 0.28);
  color: var(--text);
}

figure.news-thumb.news-thumb-photo {
  margin: 0;
  overflow: hidden;
}

.news-thumb-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.read-more {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--green);
  justify-self: start;
  margin-top: 0.15rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
}

.read-more::after {
  content: "";
  width: 0.35rem;
  height: 0.35rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: translate 0.2s var(--ease);
}

.news-card:hover .read-more::after,
.news-card:focus-within .read-more::after,
.read-more:hover::after {
  translate: 3px;
}

.news-card.article-featured {
  grid-column: 1 / -1;
}

@media (min-width: 700px) {
  .news-card.article-featured {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 960px) {
  .news-card.article-featured {
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: clamp(1rem, 2.5vw, 1.5rem);
    align-items: start;
  }

  .news-card.article-featured .news-meta {
    grid-column: 1 / -1;
  }

  .news-thumb {
    width: 280px;
    max-width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-sm);
    background:
      linear-gradient(145deg, rgba(33, 201, 98, 0.15), transparent),
      linear-gradient(210deg, var(--bg-elevated), #0a100c);
    border: 1px solid var(--border);
  }

  .news-card.article-featured .news-body {
    min-width: 0;
    width: 100%;
  }

  .news-card.article-featured .news-body h3,
  .news-card.article-featured .news-body p {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 959px) {
  .news-thumb {
    display: none;
  }

  figure.news-thumb.news-thumb-photo {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    max-height: 240px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
  }

  figure.news-thumb.news-thumb-photo img {
    height: 100%;
  }
}

/* Página da notícia */
.article-page {
  padding-inline: max(1rem, 4vw);
  padding-block: clamp(1.35rem, 4vw, 2.75rem);
}

.article-shell {
  width: min(720px, 100%);
  margin-inline: auto;
}

.article-shell .breadcrumb {
  margin: 0 0 1rem;
}

.article-shell .breadcrumb a {
  color: var(--green);
  font-weight: 600;
  font-size: 0.9rem;
}

.article-shell .breadcrumb a:hover {
  text-decoration: underline;
}

.article-figure {
  margin: 0 0 1.5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}

.article-figure img {
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.article-video {
  margin: 0 0 1.5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
}

.article-video video {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.article-title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.1rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.article-lead {
  margin: 0 0 1.35rem;
  font-size: 1.06rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.article-muted {
  color: var(--text-muted);
}

.article-muted a {
  color: var(--green);
  font-weight: 600;
}

.article-body {
  font-size: 1rem;
  line-height: 1.72;
}

.article-body p {
  margin: 0 0 1rem;
}

.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

.article-body h2,
.article-body h3 {
  font-family: var(--font-display);
  margin: 1.5rem 0 0.75rem;
}

/* Página de campeonatos */
.champ-page {
  width: 100%;
  max-width: min(1120px, 100%);
  margin-inline: auto;
  padding-block: clamp(1.25rem, 4vw, 2.4rem) clamp(2rem, 6vw, 4rem);
  padding-inline: max(0.75rem, 4vw);
  box-sizing: border-box;
}

.champ-hero {
  margin-bottom: 1rem;
}

.champ-hero h1 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 1.2rem + 1.4vw, 2.2rem);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.champ-hero p {
  margin: 0;
  color: var(--text-muted);
  max-width: 56ch;
  overflow-wrap: break-word;
}

.champ-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: clamp(1rem, 3.4vw, 1.45rem);
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.champ-card h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.champ-form {
  display: grid;
  gap: 0.8rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.field select {
  width: 100%;
  border: 1px solid var(--border);
  background: rgba(11, 16, 13, 0.86);
  color: var(--text);
  border-radius: 10px;
  padding: 0.68rem 0.72rem;
  font: inherit;
}

.field select:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.champ-submit {
  justify-self: start;
  margin-top: 0.2rem;
}

.champ-links {
  margin-top: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.champ-files {
  margin-top: 1rem;
}

.champ-files-title {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.champ-links a {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.champ-file-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1rem;
  height: 1.25rem;
  padding: 0 0.38rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(33, 201, 98, 0.16);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.champ-grid {
  margin-top: 1rem;
  display: grid;
  gap: 0.9rem;
  min-width: 0;
  max-width: 100%;
}

.champ-tabs {
  margin-top: 1rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.champ-tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  overflow-x: auto;
  max-width: 100%;
  min-width: 0;
  padding-bottom: 0.4rem;
  margin-bottom: 0.65rem;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.champ-tab {
  border: 1px solid var(--border);
  background: rgba(13, 20, 16, 0.9);
  color: var(--text-muted);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.champ-tab.is-active {
  color: #07110b;
  background: var(--green);
  border-color: transparent;
}

.champ-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.9rem;
  display: none;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.champ-section.is-active {
  display: block;
}

.champ-section h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1rem;
}

.table-wrap {
  overflow-x: auto;
  max-width: 100%;
  min-width: 0;
  border-radius: 10px;
  border: 1px solid var(--border);
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.champ-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  background: rgba(7, 11, 9, 0.9);
}

.champ-table th,
.champ-table td {
  padding: 0.55rem 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  font-size: 0.84rem;
  white-space: nowrap;
}

.champ-table th {
  background: rgba(33, 201, 98, 0.15);
  color: #d8efe2;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.champ-table tbody tr:hover {
  background: rgba(33, 201, 98, 0.09);
}

.champ-table tbody tr.is-eliminado,
.champ-table tbody tr.is-eliminado td {
  background: #F84040;
  color: #fff;
}

.champ-table tbody tr.is-eliminado:hover,
.champ-table tbody tr.is-eliminado:hover td {
  background: #e63939;
}

.empty-cell {
  color: var(--text-muted);
  text-align: center;
}

.team-badge {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
}

.team-badge-placeholder {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px dashed var(--border);
  color: var(--text-muted);
}

.champ-actions {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.champ-action-form {
  margin: 0;
}

.champ-action-btn {
  width: 100%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  border-radius: 9px;
  padding: 0.55rem 0.65rem;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.champ-action-btn:hover {
  background: var(--green);
}

.champ-action-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.report-btn {
  border: 1px solid var(--border);
  background: rgba(13, 20, 16, 0.9);
  color: var(--green);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
}

.report-btn:hover {
  background: var(--green-muted);
}

a.report-btn {
  display: inline-block;
  text-decoration: none;
}

.sumula-btn {
  margin-left: 0.35rem;
}

.report-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.report-modal[hidden] {
  display: none !important;
}

.report-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.report-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  max-height: min(82vh, 760px);
  overflow: auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.report-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.report-modal-header h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
}

.report-modal-close {
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(13, 20, 16, 0.9);
  color: var(--text);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.report-modal-content {
  margin: 0;
  white-space: pre-line;
  color: var(--text);
}

body.report-modal-open {
  overflow: hidden;
}

@media (min-width: 720px) {
  .champ-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
  }

  .champ-form .field:nth-child(3),
  .champ-form .field:nth-child(4) {
    grid-column: 1 / -1;
  }

  .champ-actions {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .champ-action-btn {
    font-size: 0.72rem;
  }
}

@media (min-width: 980px) {
  .champ-form {
    grid-template-columns: 1fr 1.2fr 1.2fr 1fr auto;
    gap: 0.85rem;
  }

  .champ-form .field:nth-child(3),
  .champ-form .field:nth-child(4) {
    grid-column: auto;
  }

  .champ-submit {
    align-self: end;
    margin-top: 0;
  }
}

/* Fotos — galerias */
.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;
}

.fotos-page,
.album-page {
  width: min(1120px, calc(100% - 1.25rem));
  margin-inline: auto;
  padding-block: clamp(1.25rem, 4vw, 2.4rem) clamp(2rem, 6vw, 4rem);
}

.fotos-hero {
  margin-bottom: 1rem;
}

.fotos-hero h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 1.15rem + 1.6vw, 2.05rem);
}

.fotos-hero p {
  margin: 0;
  color: var(--text-muted);
}

.fotos-search {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  flex-wrap: wrap;
}

.fotos-search input[type="search"] {
  flex: 1;
  min-width: 12rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(11, 16, 13, 0.86);
  color: var(--text);
  font: inherit;
}

.fotos-search-btn {
  flex-shrink: 0;
}

.fotos-meta {
  margin: 0.85rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.fotos-empty {
  margin-top: 1rem;
}

.album-grid {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.95rem;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .album-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .album-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.album-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  text-decoration: none;
  color: inherit;
  height: 100%;
  transition:
    border-color 0.25s,
    transform 0.2s var(--ease),
    box-shadow 0.25s;
}

.album-card:hover {
  border-color: rgba(33, 201, 98, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

.album-card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(33, 201, 98, 0.08), transparent),
    rgba(11, 16, 13, 0.9);
}

.album-card-placeholder {
  display: grid;
  place-items: center;
  color: var(--text-muted);
}

.album-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.album-card-body {
  padding: 0.75rem 0.95rem;
  flex: 1;
}

.album-card-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.3;
}

.album-card-date {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.album-card-cta {
  margin-top: 0.65rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
}

.pager {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.pager-btn {
  border-radius: 999px;
  padding: 0.45rem 1rem;
  border: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font-display);
}

.album-breadcrumb {
  margin: 0 0 0.85rem;
}

.album-breadcrumb a {
  color: var(--green);
  font-weight: 700;
  font-size: 0.9rem;
}

.album-title-main {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1rem + 1.4vw, 2rem);
}

.galeria-grid {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 700px) {
  .galeria-grid {
    gap: 0.65rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .galeria-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.galeria-cell {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(8, 12, 10, 0.85);
  aspect-ratio: 4 / 3;
}

.galeria-cell:focus-visible {
  outline-offset: 2px;
}

.galeria-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s var(--ease);
}

.galeria-cell:hover img {
  transform: scale(1.04);
}

/* Quem somos */
.about-page {
  width: min(1120px, calc(100% - 1.25rem));
  margin-inline: auto;
  padding-block: clamp(1.25rem, 4vw, 2.4rem) clamp(2rem, 6vw, 4rem);
  color: var(--text);
}

.about-hero {
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.about-hero h1 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 1.2rem + 1.6vw, 2.35rem);
  letter-spacing: -0.03em;
}

.about-lead {
  margin: 0 0 clamp(1.25rem, 4vw, 1.85rem);
  max-width: 62ch;
  color: var(--text-muted);
  font-size: clamp(0.98rem, 0.94rem + 0.25vw, 1.08rem);
  line-height: 1.65;
}

.about-inline-logo {
  display: flex;
  justify-content: center;
  margin: clamp(0.85rem, 3vw, 1.35rem) 0 clamp(1.25rem, 4vw, 1.85rem);
}

.about-inline-logo img {
  width: auto;
  max-width: min(200px, 52vw);
  max-height: clamp(96px, 22vw, 160px);
  height: auto;
  object-fit: contain;
}

.about-dynamic {
  max-width: 56rem;
  color: var(--text);
}

.about-dynamic.article-body {
  font-size: 1rem;
  line-height: 1.72;
}

.about-dynamic.prose img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

/* Conteúdo HTML do admin: sobrescreve estilos/cores embutidas legadas para leitura no tema escuro */
.about-page .article-body.about-dynamic,
.about-page .article-body.about-dynamic :where(p, ul, ol, li, span, div, td, th, dd, dt, strong, em, article, section) {
  color: var(--text) !important;
}

.about-page .article-body.about-dynamic a {
  color: var(--green) !important;
}

.about-page .article-body.about-dynamic :where(h1, h2, h3, h4) {
  color: var(--text) !important;
}

.about-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 880px) {
  .about-grid {
    grid-template-columns: 1.45fr 1fr;
    align-items: start;
  }
}

.about-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: clamp(1rem, 3vw, 1.35rem);
  color: var(--text);
}

.about-panel h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem);
  line-height: 1.2;
}

.about-panel h3 {
  margin: 1.15rem 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--green);
}

.about-panel > p {
  margin: 0 0 0.75rem;
  color: var(--text);
  line-height: 1.7;
}

.about-panel strong {
  color: var(--text);
}

.about-callout {
  display: inline-flex;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bg-deep);
  background: var(--green);
  padding: 0.35rem 0.6rem;
  border-radius: 8px;
  margin-bottom: 0.85rem;
}

.about-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text);
  line-height: 1.68;
}

.about-list li + li {
  margin-top: 0.35rem;
}

.about-list-accent {
  list-style: none;
  padding-left: 0;
}

.about-list-accent li {
  padding-left: 1.05rem;
  position: relative;
}

.about-list-accent li::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 2px;
  background: var(--green);
  position: absolute;
  left: 0;
  top: 0.55em;
}

/* Contato */
.contact-page .about-panel > h3:first-child {
  margin-top: 0;
}

.contact-page .about-panel h2 {
  margin-top: 0;
}

.contact-list {
  margin: 0 0 1.15rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.contact-list li {
  line-height: 1.55;
  color: var(--text);
}

.contact-list li strong {
  display: inline-block;
  min-width: 5.25rem;
  color: var(--text-muted);
  font-weight: 600;
}

.contact-list a {
  color: var(--green);
  font-weight: 600;
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

.contact-wa-btn {
  margin-top: 0.25rem;
}

/* Footer */
.site-footer {
  margin-top: auto;
  padding: clamp(2rem, 6vw, 3.25rem) max(1rem, 4vw);
  border-top: 1px solid var(--border);
  background: rgba(8, 12, 9, 0.9);
}

.footer-inner {
  width: min(1120px, 100%);
  margin-inline: auto;
  display: grid;
  gap: clamp(1.35rem, 4vw, 2rem);
  text-align: center;
}

@media (min-width: 640px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: left;
    align-items: start;
  }
}

@media (min-width: 900px) {
  .footer-inner {
    grid-template-columns: 1.2fr 1fr auto;
  }
}

.footer-copy {
  max-width: 28rem;
  margin-inline: auto;
}

@media (min-width: 640px) {
  .footer-copy {
    margin-inline: unset;
  }
}

.footer-copy strong {
  font-family: var(--font-display);
  display: block;
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.footer-copy span {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-social {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.footer-social-label {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.footer-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-social-links a {
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s;
}

.footer-social-links a:hover {
  background: var(--green-muted);
  color: var(--text);
}

.footer-mini {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

@media (min-width: 640px) {
  .footer-mini {
    align-items: flex-end;
  }
}

.footer-partners h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1rem;
}

.partner-logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.partner-logos img {
  width: 100%;
  height: 80px;
  object-fit: contain;
  padding: 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.96);
}

@media (min-width: 480px) {
  .partner-logos {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.layout-stack {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
