/**
 * Lovable parity — github.com/inovarinfo/bolamundo (navy + orange)
 */

:root {
  --cor-primaria: #101d37;
  --cor-secundaria: #ffffff;
  --cor-acento: #f95d1a;
  --cor-acento-hover: #ee4b06;
  --bm-primary-light: #1e2f51;
  --bm-secondary: #f2f4f6;
  --bm-live: #ed2a2a;
  --bm-footer-bg: #101d37;
  --bm-ink: #121a2a;
  --bm-muted: #5e6677;
  --bm-border: #e2e8f0;
  --bm-radius: 8px;
  --bm-shadow-card: 0 4px 20px -6px rgba(16, 29, 55, 0.12);
  --bm-shadow-elevated: 0 12px 40px -10px rgba(16, 29, 55, 0.25);
  --border-radius: 8px;
}

body,
.hfeed.site {
  background: var(--cor-secundaria) !important;
  color: var(--bm-ink);
}

.bm-container {
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
  box-sizing: border-box;
}

/* —— TopBar —— */
.bm-topbar {
  background: var(--bm-primary-light);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.75rem;
}
.bm-topbar__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 2.25rem;
}
.bm-topbar__date {
  display: none;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.8);
}
@media (min-width: 640px) {
  .bm-topbar__date {
    display: flex;
  }
}
.bm-topbar__live {
  flex-shrink: 0;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.625rem;
  color: var(--cor-acento);
  background: rgba(249, 93, 26, 0.15);
  border: 1px solid rgba(249, 93, 26, 0.3);
  border-radius: 4px;
  padding: 0.15rem 0.5rem;
}
.bm-topbar__ticker {
  flex: 1;
  overflow: hidden;
  min-width: 0;
}
.bm-topbar__marquee {
  display: inline-flex;
  gap: 2.5rem;
  white-space: nowrap;
  animation: bm-ticker-lovable 60s linear infinite;
}
.bm-topbar__marquee:hover {
  animation-play-state: paused;
}
@keyframes bm-ticker-lovable {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.bm-topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}
.bm-topbar__item:hover {
  color: var(--cor-acento);
}
.bm-topbar__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cor-acento);
}
.bm-topbar__item-cat {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.625rem;
  color: var(--cor-acento);
}
.bm-topbar__item-title {
  font-weight: 500;
}

/* —— Header Lovable —— */
.bm-custom-header {
  background: var(--cor-primaria) !important;
  color: #fff !important;
  border-bottom: none !important;
  box-shadow: 0 10px 15px -3px rgba(16, 29, 55, 0.25) !important;
}
.bm-custom-header .bm-header-inner {
  max-width: 1400px;
  min-height: 4rem;
  padding: 0 2rem;
}
@media (min-width: 768px) {
  .bm-custom-header .bm-header-inner {
    min-height: 5rem;
  }
}
.bm-brand__name {
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  color: #fff !important;
  letter-spacing: -0.02em;
}
.bm-brand__accent {
  color: var(--cor-acento);
}
.bm-brand__tag {
  display: none !important;
}
.bm-nav a {
  color: #fff !important;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.5rem 1rem;
  border-radius: 6px;
}
.bm-nav a:hover {
  background: var(--bm-primary-light);
  color: var(--cor-acento) !important;
}
.bm-nav-toggle {
  border-color: rgba(255, 255, 255, 0.3) !important;
  background: transparent !important;
}
.bm-nav-toggle__bar {
  background: #fff !important;
}

/* —— Hero Lovable —— */
.bm-lovable-hero {
  position: relative;
  width: 100%;
  background: var(--cor-primaria);
  color: #fff;
  overflow: hidden;
}
.bm-lovable-hero__bg {
  position: absolute;
  inset: 0;
}
.bm-lovable-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  display: block;
}
.bm-lovable-hero__img--fallback,
.bm-lovable-hero__bg--fallback {
  background: linear-gradient(135deg, #101d37 0%, #0b1427 100%);
  width: 100%;
  height: 100%;
  min-height: 320px;
}
.bm-lovable-hero__grad-t {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 29, 55, 0.3) 0%, rgba(16, 29, 55, 0.8) 50%, #101d37 95%);
}
.bm-lovable-hero__grad-r {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 29, 55, 0.9) 0%, rgba(16, 29, 55, 0.4) 50%, transparent 100%);
}
.bm-lovable-hero__content {
  position: relative;
  z-index: 2;
  padding-top: 4rem;
  padding-bottom: 4rem;
}
@media (min-width: 768px) {
  .bm-lovable-hero__content {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}
@media (min-width: 1024px) {
  .bm-lovable-hero__content {
    padding-top: 9rem;
    padding-bottom: 9rem;
  }
}
.bm-lovable-hero__inner {
  max-width: 48rem;
}
.bm-lovable-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--cor-acento);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
  box-shadow: var(--bm-shadow-elevated);
}
.bm-lovable-hero__pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  animation: bm-pulse 1.5s ease infinite;
}
@keyframes bm-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.bm-lovable-hero__cat {
  margin: 1.25rem 0 0;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cor-acento);
}
.bm-lovable-hero__title {
  margin: 0.75rem 0 0;
  font-size: clamp(1.875rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #ffffff !important;
}
.bm-lovable-hero h1,
.bm-lovable-hero .bm-title-font,
.bm-lovable-hero a {
  color: #ffffff !important;
}
.bm-lovable-hero__excerpt,
.bm-lovable-hero__date,
.bm-lovable-hero__tagline {
  color: rgba(255, 255, 255, 0.85) !important;
}
.bm-lovable-hero__excerpt {
  margin: 1.25rem 0 0;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 42rem;
}
.bm-lovable-hero__actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
.bm-btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--cor-acento);
  color: #fff !important;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: var(--bm-shadow-elevated);
  transition: background 0.15s ease;
}
.bm-btn-accent:hover {
  background: var(--cor-acento-hover);
  color: #fff !important;
}
.bm-lovable-hero__date {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

/* —— Sections —— */
.bm-band {
  padding: 3rem 0;
}
.bm-band--secondary {
  background: var(--bm-secondary);
}
.bm-section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
  .bm-section-title {
    margin-bottom: 2rem;
  }
}
.bm-section-title__eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cor-acento);
  margin-bottom: 0.5rem;
}
.bm-section-title__heading {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--cor-primaria);
  line-height: 1.15;
  padding-left: 1rem;
  position: relative;
}
.bm-section-title__heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25rem;
  bottom: 0.25rem;
  width: 6px;
  background: var(--cor-acento);
  border-radius: 999px;
}

/* —— Match cards —— */
.bm-match-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .bm-match-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .bm-match-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.bm-match-card {
  background: #fff;
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius);
  padding: 1.25rem;
  box-shadow: var(--bm-shadow-card);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.bm-match-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--bm-shadow-elevated);
}
a.bm-match-card--linked {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
a.bm-match-card--linked:hover {
  border-color: var(--cor-acento, #f95d1a);
}
.bm-match-card__review-badge {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.25rem 0.6rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--cor-acento, #f95d1a);
  border-radius: 4px;
}
.bm-match-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--bm-border);
}
.bm-match-card__comp {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--bm-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bm-match-card__status {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--bm-muted);
}
.bm-match-card__date {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--cor-acento);
}
.bm-match-card__live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--bm-live);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}
.bm-match-card__live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: bm-pulse 1.5s ease infinite;
}
.bm-match-card__teams {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.bm-match-team {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.bm-match-team__left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}
.bm-match-team__badge {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--cor-primaria);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bm-match-team__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--cor-primaria);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bm-match-team__score {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--cor-primaria);
  font-variant-numeric: tabular-nums;
}
.bm-match-card__kickoff {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--bm-border);
  text-align: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--cor-primaria);
}

/* —— News cards Lovable —— */
.bm-news-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .bm-news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .bm-news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.bm-news-card {
  display: block;
  overflow: hidden;
  border-radius: var(--bm-radius);
  background: #fff;
  border: 1px solid var(--bm-border);
  box-shadow: var(--bm-shadow-card);
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.bm-news-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--bm-shadow-elevated);
}
.bm-news-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bm-secondary);
}
.bm-news-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.bm-news-card:hover .bm-news-card__img {
  transform: scale(1.05);
}
.bm-news-card__img--fallback {
  background: linear-gradient(135deg, #1e2f51, #101d37);
}
.bm-news-card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--cor-acento);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.625rem;
  border-radius: 6px;
  box-shadow: var(--bm-shadow-card);
}
.bm-news-card__body {
  padding: 1.25rem;
}
.bm-news-card__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--cor-primaria);
  transition: color 0.15s ease;
}
@media (min-width: 768px) {
  .bm-news-card__title {
    font-size: 1.125rem;
  }
}
.bm-news-card:hover .bm-news-card__title {
  color: var(--cor-acento);
}
.bm-news-card__foot {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--bm-muted);
}
.bm-news-card__more {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--cor-acento);
}

/* —— Footer Lovable —— */
.bm-custom-footer {
  background: var(--cor-primaria) !important;
  color: #fff !important;
}
.bm-footer-inner {
  max-width: 1400px !important;
  margin: 0 auto;
  padding: 3rem 2rem !important;
  display: grid !important;
  gap: 2rem !important;
  grid-template-columns: 1fr !important;
}
@media (min-width: 768px) {
  .bm-footer-inner {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}
.bm-footer-inner h4,
.bm-footer-brand {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 0.75rem;
  color: #fff;
}
.bm-footer-inner h4.bm-footer-col-title {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cor-acento);
}
.bm-footer-inner p,
.bm-footer-inner li,
.bm-footer-inner a {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 0.875rem;
}
.bm-footer-inner a:hover {
  color: var(--cor-acento) !important;
}
.bm-footer-base {
  border-top: 1px solid var(--bm-primary-light);
  text-align: center;
  padding: 1.25rem 2rem !important;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6) !important;
  background: transparent !important;
}

/* —— Single Lovable —— */
.bm-single-hero {
  position: relative;
  background: var(--cor-primaria);
  color: #fff;
  overflow: hidden;
}
.bm-single-hero__bg {
  position: absolute;
  inset: 0;
}
.bm-single-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}
.bm-single-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 29, 55, 0.4) 0%, rgba(16, 29, 55, 0.85) 100%);
}
.bm-single-hero__content {
  position: relative;
  z-index: 2;
  padding: 3rem 0;
}
@media (min-width: 768px) {
  .bm-single-hero__content {
    padding: 5rem 0;
  }
}
.bm-single-back {
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cor-acento) !important;
  text-decoration: none;
}
.bm-single-back:hover {
  color: var(--cor-acento-hover) !important;
}
.bm-single-hero__title {
  margin: 1.5rem 0 0;
  font-size: clamp(1.875rem, 4vw, 3.75rem);
  font-weight: 800;
  line-height: 1.05;
  color: #fff !important;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.65), 0 1px 3px rgba(0, 0, 0, 0.45);
}
.bm-single-hero h1,
.bm-single-hero .entry-title {
  color: #fff !important;
}
.bm-single-hero__content .bm-lovable-hero__pill {
  color: #fff;
}
.bm-single-layout {
  padding: 2.5rem 0;
}
@media (min-width: 768px) {
  .bm-single-layout {
    padding: 4rem 0;
  }
}
.bm-single-layout__grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .bm-single-layout__grid {
    grid-template-columns: 1fr 300px;
  }
}
.bm-prose {
  line-height: 1.7;
  color: var(--bm-ink);
}
.bm-prose h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--cor-primaria);
  margin: 2.5rem 0 1rem;
}
.bm-prose a {
  color: var(--cor-acento);
  font-weight: 600;
}
.bm-about-box {
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius);
  background: #fff;
  padding: 1.25rem;
  position: sticky;
  top: 6rem;
}
.bm-about-box h3 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cor-acento);
  margin: 0 0 0.75rem;
}
.bm-about-box p {
  font-size: 0.875rem;
  color: var(--bm-muted);
  line-height: 1.5;
  margin: 0;
}
.bm-about-box a {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--cor-primaria);
  text-decoration: none;
}
.bm-about-box a:hover {
  color: var(--cor-acento);
}

/* —— Contact form —— */
.bm-contact-form button[type="submit"],
.bm-contact-form button[name="bm_contact_submit"] {
  background: linear-gradient(135deg, #f95d1a 0%, #ee4b06 100%) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
}
.bm-contact-form input:focus,
.bm-contact-form textarea:focus {
  border-color: #f95d1a !important;
  outline: none;
  box-shadow: 0 0 0 2px rgba(249, 93, 26, 0.2);
}

/* Hide legacy home pieces when Lovable layout active */
.bm-layout-lovable .bm-ticker,
.bm-layout-lovable .bm-editoriais,
.bm-layout-lovable .bm-sidebar--rail {
  display: none !important;
}
