#homeSection {
  height: 100%;
  min-height: 0;
}

.home-shell {
  height: 100%;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0 16px 16px;
  background: linear-gradient(180deg, rgba(2, 15, 20, 0.93) 0%, rgba(2, 15, 20, 0.93) 100%), url('../img/fundo-trofeu-campo.webp') center / cover no-repeat;
}

.home-hero {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 220px;
  display: flex;
  align-items: center;
  background: url('../img/hero-copa.webp') center / cover no-repeat, var(--color-bg-dark);
}

.home-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(2, 15, 20, 0.92) 0%, rgba(2, 15, 20, 0.55) 60%, rgba(2, 15, 20, 0.25) 100%);
}

.home-hero__content {
  position: relative;
  padding: clamp(18px, 4vw, 36px);
  max-width: 480px;
}

.home-hero__title {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 800;
  font-size: clamp(1.5rem, 5vw, 2.4rem);
  line-height: 1.05;
  color: var(--color-white);
}

.home-hero__title-accent {
  color: var(--color-gold);
}

.home-hero__cta {
  border: 0;
  border-radius: 999px;
  padding: 11px 20px;
  background: var(--color-gold);
  color: var(--color-secondary-deep);
  font-weight: 900;
  font-size: 0.8rem;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(255, 204, 0, 0.32);
}

.home-stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 14px 8px;
  border-radius: var(--radius-md);
  background: var(--color-card);
  border: 1px solid var(--line);
  text-align: center;
}

.home-stat-card strong {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 5vw, 1.9rem);
  font-weight: 800;
  color: var(--color-gold);
  line-height: 1;
}

.home-stat-card span {
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
}

.home-stat-card__flags {
  display: block;
  margin-top: 2px;
  font-size: 0.8rem;
  letter-spacing: 0;
  text-transform: none;
}

.home-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.home-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.home-section__title {
  margin: 0;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--color-white);
}

.home-section__link {
  flex: 0 0 auto;
  border: 0;
  background: none;
  color: var(--color-gold);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.home-matches {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  max-width: 960px;
  margin-inline: auto;
}

.home-banners-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 960px;
  margin-inline: auto;
  width: 100%;
}

@media (min-width: 720px) {
  .home-matches { grid-template-columns: repeat(2, 1fr); }
  .home-banners-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1120px) {
  .home-matches { grid-template-columns: repeat(4, 1fr); }
  .home-banners-grid { grid-template-columns: repeat(3, 1fr); }
}

.home-match-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  background: var(--color-card);
}

.home-match-card__time {
  margin: 0 0 6px;
  font-size: 0.62rem;
  font-weight: 700;
  text-align: center;
  color: var(--color-muted);
}

.home-match-card__teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 6px;
}

.home-match-card__team {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
}

.home-match-card__code {
  font-size: 0.68rem;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.home-match-card__versus {
  font-size: 0.7rem;
  font-weight: 900;
  color: var(--color-gold);
  white-space: nowrap;
}

.home-match-card__group {
  margin: 6px 0 0;
  font-size: 0.6rem;
  font-weight: 700;
  text-align: center;
  color: var(--color-muted);
}

.home-news {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.home-news-featured {
  position: relative;
  min-height: 160px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: url('../img/fundo-trofeu-campo.webp') center / cover no-repeat, var(--color-bg-dark);
  display: flex;
  align-items: flex-end;
}

.home-news-featured__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 15, 20, 0.2) 0%, rgba(2, 15, 20, 0.92) 100%);
}

.home-news-featured__content {
  position: relative;
  padding: 14px;
}

.home-news-featured__tag {
  margin: 0 0 4px;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
}

.home-news-featured__title {
  margin: 0 0 4px;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--color-white);
}

.home-news-featured__excerpt {
  margin: 0 0 6px;
  font-size: 0.72rem;
  color: var(--color-muted);
  line-height: 1.4;
}

.home-news-featured__link {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--color-gold);
}

.home-news-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.home-news-item {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--color-card);
  padding: 10px 12px;
}

.home-news-item__icon {
  flex: 0 0 auto;
  font-size: 1.2rem;
}

.home-news-item__body { min-width: 0; }

.home-news-item__title {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--color-white);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-news-item__date {
  margin: 2px 0 0;
  font-size: 0.6rem;
  color: var(--color-muted);
}

.home-cta-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 204, 0, 0.3);
  background: var(--color-card-blue);
  padding: 14px 16px;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
}

.home-cta-card:hover { border-color: var(--color-gold); }

.home-cta-card[data-tab-target="fase2"]::after {
  content: '';
  position: absolute;
  right: -10px;
  bottom: -14px;
  width: 64px;
  height: 64px;
  background: url('../img/trofeu-transparente.webp') center / contain no-repeat;
  opacity: 0.28;
  pointer-events: none;
}

.home-cta-card__title {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--color-gold);
}

.home-cta-card__desc {
  font-size: 0.7rem;
  color: var(--color-muted);
}

.home-banner {
  position: relative;
  min-height: 130px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 204, 0, 0.3);
}

.home-banner.bg1 {
  background: url('../img/primeira-fase.webp') center / cover no-repeat, var(--color-bg-dark);
}

.home-banner.bg2 {
  background: url('../img/segunda-fase.webp') center / cover no-repeat, var(--color-bg-dark);
}

.home-banner.bg3 {
  background: url('../img/apostas.webp') center / cover no-repeat, var(--color-bg-dark);
}

.home-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 15, 20, 0.35) 0%, rgba(2, 15, 20, 0.88) 100%);
}

.home-banner__content {
  position: relative;
  text-align: center;
  padding: 18px;
}

.home-banner__title {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 800;
  font-size: clamp(1.1rem, 4vw, 1.4rem);
  color: var(--color-white);
}

.home-banner__cta {
  border: 0;
  border-radius: 999px;
  padding: 10px 20px;
  background: var(--color-gold);
  color: var(--color-secondary-deep);
  font-weight: 900;
  font-size: 0.78rem;
  cursor: pointer;
}
