/*
 * Overrides layered on top of the vendored `site.css` (extracted from the
 * approved Superdesign draft). Load order in layout.tsx:
 *   1. @fontsource/raleway (bundled by Next)
 *   2. site.css (Bootstrap 4 + all custom site styles)
 *   3. this file
 */

/* ── Mega menus: open on hover, mirroring the original jQuery behaviour ── */
@media (min-width: 1200px) {
  .ct-header-bottom .menu-items-left > ul > li:hover > .ct-submenu,
  .ct-header-bottom .menu-items-right > ul > li:hover > .ct-submenu {
    display: block;
  }
}

/* ── Mobile hamburger: `.ct-header.open` is toggled by React ── */
@media (max-width: 1199px) {
  .ct-header.open .ct-header-content {
    display: block;
    overflow: auto;
    max-height: calc(100vh - 71px);
    background: #000;
  }

  /* keep submenus stacked (not absolute) inside the mobile drawer */
  .ct-header.open .ct-submenu {
    position: static;
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 10px;
  }

  .ct-header.open .ct-submenu .row {
    display: block;
  }
}

/* ── React carousel interop ──
 * The design's slick track uses floated `.slick-slide` children; keep
 * keyboard focus from revealing offscreen slides.
 */
.slick-slide {
  outline: none;
}

/* ── Single black navbar at the top (no white bar below) ──────────────
 * The menu lives inside the black `.ct-header-top`, split around the
 * absolutely centered club crest, like the approved design.
 */

/* desktop: crest centered, menu split around it */
@media (min-width: 1200px) {
  .ct-header .header-logo {
    left: 50%;
    top: 50%;
    height: auto;
    width: auto;
    transform: translate(-50%, -50%);
  }
  .ct-header .header-logo .ct-logo img {
    height: 148px !important;
    width: auto;
  }
  .ct-header-top {
    height: 120px;
    padding: 38px 0 22px;
  }
  /* white bottom bar: secondary menu centered below the crest */
  .ct-header-bottom .menu-bottom-secondary > li {
    margin: 0 4%;
  }
  .ct-header-bottom .menu-bottom-secondary > li > a {
    font-size: 15px;
  }
  .ct-header-top .menu-items-left > ul > li > a,
  .ct-header-top .menu-items-right > ul > li > a {
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
  }
  .ct-header-top .menu-items-left > ul > li > a:hover,
  .ct-header-top .menu-items-right > ul > li > a:hover {
    color: #da1e25;
  }
  .ct-header-top .menu-items-left > ul > li,
  .ct-header-top .menu-items-right > ul > li {
    margin-right: 22px;
  }
  /* mega menus open on hover (desktop) */
  .ct-header-top .menu-items-left > ul > li:hover > .ct-submenu,
  .ct-header-top .menu-items-right > ul > li:hover > .ct-submenu {
    display: block;
  }
  /* dropdown drops right below the black bar */
  .ct-header-top .ct-submenu {
    top: 82px;
  }
}

/* mobile drawer: nav + submenus stacked, links white and bold */
@media (max-width: 1199px) {
  .ct-header-top {
    padding: 78px 15px 20px;
    height: auto;
  }
  .ct-header.open .ct-header-content {
    display: block;
    overflow: auto;
    max-height: calc(100vh - 71px);
    background: #000;
  }
  .ct-header-top .menu-left > li > a,
  .ct-header-top .menu-right > li > a {
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
  }
  .ct-header-top .menu-items-left,
  .ct-header-top .menu-items-right {
    margin-bottom: 10px;
  }
  .ct-header-top .menu-left,
  .ct-header-top .menu-right {
    display: block !important;
    justify-content: flex-start !important;
  }
  .ct-header-top .menu-left > li,
  .ct-header-top .menu-right > li {
    border-top: 1px solid #383838;
    margin: 0;
    padding: 8px 0;
  }
  .ct-header.open .ct-submenu {
    position: static;
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 10px;
    background: #111;
    border: 0;
    color: #fff;
  }
  .ct-header.open .ct-submenu a,
  .ct-header.open .ct-submenu strong {
    color: #adadad;
  }
  .ct-header.open .ct-submenu .row {
    display: block;
  }
  .ct-header.open .ct-submenu::after,
  .ct-header.open .ct-submenu::before {
    display: none;
  }
  .ct-header-top .drawer-social .ct-navigation-social {
    margin-top: 12px;
  }
}

/* ── Correções de layout ────────────────────────────────────────────── */

/* Bootstrap's .img-fluid was overridden by the vendored stylesheet
   (`.img-fluid{height:auto}` — no max-width), which made images explode
   to their natural size and broke layouts like /historia. */
.img-fluid {
  max-width: 100%;
  height: auto;
}

/* News cards: the image container must follow the card width, not the
   natural image width. */
.ct-news-image {
  width: 100%;
}
.ct-news-image img {
  width: 100%;
  height: auto;
}

/* Inner-page section titles: the floating plus-icon adds ~12px to the
   left of the text and shifts it off-center — compensate, mirroring the
   design's own fix for its section titles. */
.page-section .centered-title-black .section-heading {
  margin-left: -12px;
}

/* Post detail: breathing room between the end of the article and the
   "Leia também" section. */
.jumbotron-light.related-posts {
  margin-top: 64px;
  padding-top: 16px;
}

/* ── Restauração do grid do Bootstrap 4 ───────────────────────────────
 * O clone do CSS original perdeu várias classes de coluna na
 * re-minificação (.col-lg-7, .col-lg-5, .col-sm-6, .col-md-4, ...),
 * quebrando splits de layout como o 7/5 da página /historia.
 */
[class*="col-"] {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

@media (min-width: 576px) {
  .col-sm {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
  }
  .col-sm-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (min-width: 768px) {
  .col-md-3 {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
  }
  .col-md-4 {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .col-md-5 {
    -ms-flex: 0 0 41.666667%;
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }
  .col-md-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (min-width: 992px) {
  .col-lg-2 {
    -ms-flex: 0 0 16.666667%;
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }
  .col-lg-3 {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
  }
  .col-lg-4 {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .col-lg-5 {
    -ms-flex: 0 0 41.666667%;
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }
  .col-lg-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
  .col-lg-7 {
    -ms-flex: 0 0 58.333333%;
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }
  .col-lg-8 {
    -ms-flex: 0 0 66.666667%;
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
  .col-lg-9 {
    -ms-flex: 0 0 75%;
    flex: 0 0 75%;
    max-width: 75%;
  }
  .col-lg-10 {
    -ms-flex: 0 0 83.333333%;
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
  }
  .col-lg-11 {
    -ms-flex: 0 0 91.666667%;
    flex: 0 0 91.666667%;
    max-width: 91.666667%;
  }
  .col-lg-12 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* ── Proporção das imagens (CMS ou fallback) ──────────────────────────
 * Cada superfície tem a proporção do design e object-fit:cover, então
 * qualquer foto publicada no Sanity preenche o espaço sem esticar.
 */

/* banner principal: desktop 1674x440, mobile 750x560 */
.highlights .ct-highlight-image-container .desktop-slide-img {
  width: 100% !important;
  height: auto;
  aspect-ratio: 1674 / 440;
  object-fit: cover;
}
.highlights .ct-highlight-image-container img.d-block.d-lg-none {
  width: 100% !important;
  height: auto;
  aspect-ratio: 750 / 560;
  object-fit: cover;
}

/* cards de notícia: 3:2 */
.ct-news-image {
  aspect-ratio: 3 / 2;
}
.ct-news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* thumbs de projetos sociais: proporção do design (396x312) */
.ct-social-thumb {
  aspect-ratio: 396 / 312;
}
.ct-social-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* imagem principal do post: limita a altura sem distorcer */
.ct-article > img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

/* ── Linha do tempo (página /historia) ──────────────────────────────── */
.ct-timeline {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 8px 0 16px;
  list-style: none;
}
.ct-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 3px;
  transform: translateX(-50%);
  background: linear-gradient(#383838, #ed1c2e, #383838);
}
.tl-item {
  position: relative;
  width: 50%;
  padding: 14px 48px 28px 0;
  list-style: none;
}
/* reveal-on-scroll only once JS armed it (see Timeline.tsx) */
.tl-js .tl-item {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.tl-item.tl-right {
  margin-left: 50%;
  padding: 14px 0 28px 48px;
}
.tl-js .tl-item.tl-visible {
  opacity: 1;
  transform: none;
}
.tl-node {
  position: absolute;
  top: 22px;
  right: -9px;
  z-index: 1;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #ed1c2e;
  box-shadow: 0 0 0 6px rgba(237, 28, 46, 0.18);
}
.tl-item.tl-right .tl-node {
  right: auto;
  left: -9px;
}
.tl-year {
  margin: 0 0 4px;
  color: #ed1c2e;
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
}
.tl-title {
  margin: 0 0 6px;
  line-height: 1.3;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
}
.tl-desc {
  margin: 0;
  color: #bbb;
  font-size: 0.95rem;
}
.tl-highlight .tl-year {
  font-size: 1.9rem;
}
.tl-highlight .tl-node {
  background: #ed1c2e;
  border-color: #fff;
  box-shadow: 0 0 0 8px rgba(237, 28, 46, 0.35);
}
@media (max-width: 767px) {
  .ct-timeline::before {
    left: 11px;
    transform: none;
  }
  .tl-item,
  .tl-item.tl-right {
    width: 100%;
    margin: 0;
    padding: 10px 0 26px 42px;
  }
  .tl-item .tl-node,
  .tl-item.tl-right .tl-node {
    left: 4px;
    right: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tl-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ════════════════════════════════════════════════════════════════════
 * Auditoria de frontend (nov/2026)
 * ════════════════════════════════════════════════════════════════════ */

/* ── Utilitários do Bootstrap 4 que o CSS clonado perdeu ─────────────
 * Usados pelas páginas internas; sem eles a diretoria ficava alinhada à
 * esquerda, os cards de títulos sem respiro e os espaçamentos sumiam. */
.text-center { text-align: center !important; }
.mx-auto { margin-right: auto !important; margin-left: auto !important; }
.rounded { border-radius: 0.25rem !important; }
.h-100 { height: 100% !important; }
.text-muted { color: #6c757d !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mr-2 { margin-right: 0.5rem !important; }
.ml-2 { margin-left: 0.5rem !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.pt-3 { padding-top: 1rem !important; }
.pb-5 { padding-bottom: 3rem !important; }
.px-0 { padding-right: 0 !important; padding-left: 0 !important; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Acessibilidade: foco visível, pular para o conteúdo, âncoras ───── */
html { scroll-behavior: smooth; }
@media (max-width: 1199px) {
  html { scroll-padding-top: 84px; } /* header fixo de 71px */
}
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #ed1c2e !important;
  outline-offset: 2px;
}
main:focus { outline: none; }
.skip-link {
  position: absolute;
  top: -80px;
  left: 12px;
  z-index: 10001;
  padding: 10px 16px;
  border-radius: 4px;
  background: #ed1c2e;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ── Títulos de seção (h1/h2 com o visual do h3 do design) ─────────── */
.centered-title-black .section-heading {
  display: inline-block;
  margin: 0 0 8px;
  color: #000;
  font-size: 35px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  vertical-align: middle;
}
.centered-title-black .section-heading a { color: inherit; text-decoration: none; }
.centered-title-black .section-heading.text-white { color: #fff; }
.centered-title-black .section-heading a:hover { color: #ed1c2e; }
@media (max-width: 575px) {
  .centered-title-black .section-heading,
  .centered-title-black h3 { font-size: 27px; }
}

/* ── Botões ─────────────────────────────────────────────────────────── */
.ct-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border: 2px solid #ed1c2e;
  border-radius: 4px;
  background: #ed1c2e;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
}
.ct-button:hover { border-color: #c4111f; background: #c4111f; color: #fff; text-decoration: none; }
.ct-button:active { transform: translateY(1px); }
.ct-button svg { width: 14px; height: 14px; flex: 0 0 auto; }
.ct-button-outline { border-color: #000; background: transparent; color: #000; }
.ct-button-outline:hover { border-color: #000; background: #000; color: #fff; }

/* ── Cabeçalho mobile/tablet (< 1200px) ─────────────────────────────
 * A barra branca secundária vazava por baixo do header fixo e cobria o
 * conteúdo; a gaveta aberta cobria o próprio botão de fechar. */
.drawer-secondary,
.drawer-social { display: none; }
html.menu-open { overflow: hidden; }

@media (max-width: 1199px) {
  .ct-header-bottom { display: none; }
  .ct-header .ct-hamburguer { z-index: 3; color: #fff; }
  .ct-header .ct-hamburguer .hamburguer-icon svg { display: block; width: 26px; height: 26px; margin: 0 auto; }
  .ct-header.open .ct-header-content {
    position: fixed;
    top: 71px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    max-height: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    animation: drawer-in 0.2s ease-out;
  }
  .ct-header-top { padding: 8px 15px 32px; }
  .ct-header-top .menu-left > li > a,
  .ct-header-top .menu-right > li > a { display: block; padding: 6px 0; }
  .drawer-secondary {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .drawer-secondary li { border-top: 1px solid #262626; }
  .drawer-secondary li:last-child { border-bottom: 1px solid #262626; }
  .drawer-secondary a {
    display: block;
    padding: 14px 0;
    color: #bdbdbd;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
  }
  .drawer-secondary a:hover { color: #fff; }
  .drawer-social { display: block; }
}
@keyframes drawer-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

/* ── Próximos eventos ───────────────────────────────────────────────── */
.ct-slide-next-games .slick-arrow svg { display: block; width: 10px; height: 16px; }

/* ── Banner: com um só destaque não há bolinhas nem espaço reservado ── */
.highlights-single .ct-highlight-slide { margin-bottom: 0 !important; padding-bottom: 0 !important; }

/* ── Cards de notícia e projeto: ícone "+" em SVG ───────────────────── */
.ct-news-image i svg,
.ct-social-thumb i svg { display: block; width: 13px; height: 13px; color: #fff; }

/* ── Categorias: ícones no mesmo tamanho, hover em vermelho ─────────── */
.home-modalidades .ct-icon-item img { width: 83px; height: 83px; object-fit: contain; }
.home-modalidades .slick-slide a { transition: color 0.2s ease; }
.home-modalidades .slick-slide a:hover { color: #ed1c2e !important; text-decoration: none; }

/* ── Projetos sociais: grade responsiva (home e página) ─────────────── */
.ct-projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 768px) {
  .ct-projects-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
}
.ct-social-club.ct-projects-grid li { float: none; width: auto; margin: 0; }
.ct-social-club.ct-projects-grid li a { display: block; color: #000; text-decoration: none; }
.ct-project-title {
  margin: 14px 0 16px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}
.ct-social-club.ct-projects-grid li a:hover .ct-project-title { color: #ed1c2e; }

.ct-projects-grid--detailed { grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 576px) { .ct-projects-grid--detailed { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; } }
@media (min-width: 992px) { .ct-projects-grid--detailed { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.project-card { display: flex; flex-direction: column; height: 100%; }
.project-card-image { overflow: hidden; border-radius: 6px; background: #000; aspect-ratio: 396 / 312; }
.project-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.project-card:hover .project-card-image img { transform: scale(1.03); }
.project-card-title { margin: 18px 0 8px; font-size: 1.35rem; font-weight: 800; line-height: 1.25; }
.project-card-summary { margin: 0; color: #333; font-size: 0.97rem; line-height: 1.6; }

/* ── Bloco de chamada (fim das páginas internas) ────────────────────── */
.ct-callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  margin-top: 56px;
  padding: 24px 28px;
  border: 1px solid #d3d3d3;
  border-left: 4px solid #ed1c2e;
  border-radius: 8px;
  background: #fff;
}
.ct-callout h2 { margin: 0 0 4px; font-size: 1.15rem; font-weight: 800; }
.ct-callout p { max-width: 640px; margin: 0; color: #333; }

.page-intro {
  max-width: 760px;
  margin: 0 auto 36px;
  color: #333;
  font-size: 1.05rem;
  line-height: 1.6;
  text-align: center;
}
.page-intro-dark { margin-left: 0; color: #ccc; text-align: left; }
.empty-state {
  padding: 32px;
  border: 1px dashed #c8c8c8;
  border-radius: 8px;
  color: #555;
  text-align: center;
}

/* ── Diretoria ──────────────────────────────────────────────────────── */
.board-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 768px) { .board-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .board-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.board-member { text-align: center; }
.board-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 136px;
  height: 136px;
  margin: 0 auto 18px;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(#383838, #000);
  box-shadow: 0 0 0 4px #f4f4f4, 0 0 0 6px #ed1c2e;
  transition: transform 0.25s ease;
}
.board-member:hover .board-avatar { transform: translateY(-3px); }
@media (min-width: 768px) { .board-avatar { width: 160px; height: 160px; } }
.board-avatar img { width: 100%; height: 100%; object-fit: cover; }
.board-avatar span { color: #fff; font-size: 2.6rem; font-weight: 900; letter-spacing: 0.04em; }
.board-name { margin: 0 0 6px; font-size: 1.05rem; font-weight: 800; line-height: 1.3; }
.board-role {
  margin: 0;
  color: #ed1c2e;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── Títulos ────────────────────────────────────────────────────────── */
.title-card {
  display: flex;
  height: 100%;
  overflow: hidden;
  border: 1px solid #d3d3d3;
  border-radius: 8px;
  background: #fff;
}
.title-card-image { flex: 0 0 220px; width: 220px; background: #000; object-fit: cover; }
.title-card-body { padding: 24px 28px; }
.title-card-year { margin: 0 0 8px; color: #ed1c2e; font-size: 2.4rem; font-weight: 900; line-height: 1; }
.title-card-name { margin: 0 0 10px; font-size: 1.35rem; font-weight: 800; line-height: 1.25; }
.title-card-desc { margin: 0; color: #333; font-size: 0.98rem; line-height: 1.6; }
@media (max-width: 575px) {
  .title-card { flex-direction: column; }
  .title-card-image { flex-basis: auto; width: 100%; aspect-ratio: 3 / 2; }
  .title-card-body { padding: 20px; }
}
.title-summary { display: flex; align-items: center; gap: 8px; margin: 4px 0 0; font-size: 0.95rem; }
.title-summary svg { flex: 0 0 auto; width: 18px; height: 18px; color: #ed1c2e; }

.season-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 576px) { .season-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 992px) { .season-grid { grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 10px; } }
@media (min-width: 992px) and (max-width: 1199px) { .season-card { padding: 12px; } .season-year { font-size: 1.25rem; } }
.season-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border: 1px solid #383838;
  border-radius: 8px;
  background: #0d0d0d;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.season-card:hover { border-color: #ed1c2e; transform: translateY(-2px); }
.season-year { color: #fff; font-size: 1.5rem; font-weight: 900; line-height: 1; }
.season-division { color: #bbb; font-size: 0.8rem; line-height: 1.3; }

/* ── Transparência ──────────────────────────────────────────────────── */
.doc-group { margin-bottom: 40px; }
.doc-group-title { margin: 0 0 12px; font-size: 1.3rem; font-weight: 800; }
.doc-list { margin: 0; padding: 0; border-top: 1px solid #d3d3d3; list-style: none; }
.doc-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 16px 12px;
  border-bottom: 1px solid #d3d3d3;
  transition: background-color 0.2s ease;
}
.doc-item:hover { background: #fff; }
.doc-icon { color: #ed1c2e; }
.doc-icon svg { display: block; width: 22px; height: 28px; }
.doc-info { display: flex; flex-direction: column; gap: 2px; }
.doc-title { font-weight: 600; line-height: 1.4; }
.doc-meta { color: #666; font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; }
.doc-action { min-height: 40px; padding: 8px 16px; font-size: 13px; }
.doc-pending { color: #777; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; }
@media (max-width: 575px) {
  .doc-item { grid-template-columns: auto minmax(0, 1fr); padding: 16px 4px; }
  .doc-action,
  .doc-pending { grid-column: 2; justify-self: start; }
}

/* ── Notícia (post) e páginas de texto ──────────────────────────────── */
.ct-article,
.ct-prose { max-width: 780px; margin: 0 auto; }
.ct-breadcrumb { margin-bottom: 12px; color: #666; font-size: 0.85rem; }
.ct-breadcrumb a { color: #ed1c2e; font-weight: 700; text-decoration: none; }
.ct-breadcrumb a:hover { text-decoration: underline; }
.ct-article-title { margin: 0 0 8px; font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; line-height: 1.2; }
.ct-article-meta { margin: 0 0 24px; color: #666; font-size: 0.85rem; }
.ct-article > img.ct-article-image {
  width: 100%;
  height: auto;
  max-height: none;
  margin-bottom: 28px;
  border-radius: 6px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.ct-article-lead { margin-bottom: 24px; font-size: 1.2rem; font-weight: 600; line-height: 1.55; }
.ct-article p,
.ct-prose p { font-size: 1.05rem; line-height: 1.75; }
.ct-article h2,
.ct-prose h2 { margin: 36px 0 12px; font-size: 1.45rem; font-weight: 800; }
.ct-prose .page-intro { margin-left: 0; text-align: left; }
.ct-prose a,
.ct-article p a { color: #ed1c2e; font-weight: 600; }

/* ── História: imagens laterais ─────────────────────────────────────── */
.history-aside { display: flex; flex-direction: column; gap: 16px; }
.history-aside img { width: 100%; border-radius: 6px; margin: 0 !important; }
@media (max-width: 991px) { .history-aside { margin-top: 24px; } }

/* ── Rodapé ─────────────────────────────────────────────────────────── */
.footer-top .footer-contact-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 18px;
  margin: 0;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer-top .footer-contact-title a { color: #ed1c2e; text-decoration: none; overflow-wrap: anywhere; }
.footer-top .footer-contact-title a.footer-contact-phone { color: #fff; }
.footer-top .footer-contact-title a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 767px) {
  .footer-top .footer-contact-title { flex-direction: column; align-items: center; font-size: 1rem; text-align: center; }
}
.footer-content ul.footer-social { display: flex; flex-wrap: wrap; gap: 16px; margin: 0; padding: 0; }
.footer-content ul.footer-social li { margin: 0; }
.footer-bottom { padding: 20px 0 24px; }
@media (max-width: 767px) {
  .footer-content ul li { margin-bottom: 0; }
  .footer-content ul li a { display: inline-block; padding: 6px 0; }
  .footer-bottom .container { flex-direction: column; gap: 12px; text-align: center; }
}
.footer-sponsor-cta { margin-top: 8px; padding: 28px 0 12px; border-top: 1px solid #d3d3d3; }
.footer-sponsor-cta p { max-width: 560px; margin: 0 0 16px; color: #333; }

/* ── Aviso de privacidade ───────────────────────────────────────────── */
.cookie-notice {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 560px;
  margin: 0 auto;
  padding: 16px 18px;
  border-radius: 10px;
  background: #111;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  color: #e6e6e6;
  font-size: 14px;
  line-height: 1.5;
  animation: cookie-in 0.35s ease-out;
}
.cookie-notice p { flex: 1 1 auto; margin: 0; }
.cookie-notice a { color: #fff; text-decoration: underline; }
.cookie-notice .ct-button { flex: 0 0 auto; min-height: 40px; padding: 8px 18px; }
@media (max-width: 480px) {
  .cookie-notice { flex-direction: column; align-items: stretch; }
}
@keyframes cookie-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* ── 404 ────────────────────────────────────────────────────────────── */
.not-found { padding: 96px 0 112px; background: #f4f4f4; text-align: center; }
.not-found .not-found-code { margin: 0; color: #ed1c2e; font-size: 6rem; font-weight: 900; line-height: 1; }
.not-found h1 { margin: 8px 0 12px; font-size: 2rem; font-weight: 900; text-transform: uppercase; }
.not-found p { max-width: 480px; margin: 0 auto 28px; color: #333; }
.not-found-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cookie-notice,
  .ct-header.open .ct-header-content { animation: none; }
  .project-card-image img,
  .board-avatar,
  .season-card { transition: none; }
}

/* banner: uma única <img> por slide (via <picture>), com o recorte certo */
.highlights .highlight-picture { display: block; }
.highlights .highlight-picture img {
  display: block;
  width: 100% !important;
  height: auto;
  aspect-ratio: 750 / 560;
  object-fit: cover;
}
@media (min-width: 992px) {
  .highlights .highlight-picture img { aspect-ratio: 1674 / 440; }
}
.season-card-champion { border-color: #ed1c2e; background: linear-gradient(160deg, #3a0a0f, #0d0d0d 70%); }
.season-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  color: #ff5a67;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}
.season-badge svg { width: 12px; height: 12px; }

/* rodapé: convite a patrocinadores */
.footer-brands.footer-sponsor-cta { text-align: center; }
.footer-brands.footer-sponsor-cta p { display: block; margin: 0 auto 16px; color: #333; }

/* categorias: respiro acima do título da seção */
.home-modalidades .centered-title-black .section-heading { margin-top: 12px; }
